{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "\/root\/.local\/bin\/semgrep scan --config=auto --json \/var\/www\/dev.campus.systemische-tools.de\/src 2>\/dev\/null | python3 -c \"import sys,json; d=json.load(sys.stdin); [print(f\\\"{r['path'].replace('\/var\/www\/dev.campus.systemische-tools.de\/','')}:{r['start']['line']}: {r['check_id'].split('.')[-1]}\\\") for r in d.get('results',[])]\"",
"description": "Semgrep full project scan"
}
}
{
"tool_response": {
"stdout": "src\/Controller\/ContentController.php:266: exec-use\nsrc\/Controller\/ProtokollController.php:82: tainted-callable\nsrc\/Controller\/SystemExplorerController.php:335: tainted-callable",
"stderr": "",
"interrupted": false,
"isImage": false
}
}