{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/root\/.local\/bin\/semgrep scan --config=auto --json \/var\/www\/dev.campus.systemische-tools.de\/src\/Framework\/CsrfService.php \/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/Persistence\/FileBackupRepository.php \/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ChatController.php 2>\/dev\/null | python3 -c \"import sys,json; d=json.load(sys.stdin); [print(f\\\"{r['path']}:{r['start']['line']}: {r['check_id'].split('.')[-1]} - {r['extra']['message']}\\\") for r in d.get('results',[])]\"",
"description": "Semgrep check modified files"
}
}
{
"tool_response": {
"stdout": "",
"stderr": "",
"interrupted": false,
"isImage": false
}
}