{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "php -r '\n$_SESSION = [\"_csrf_token\" => \"test123\"];\n$_POST = [\n \"question\" => \"Was ist systemisches Coaching?\",\n \"answer\" => \"Systemisches Coaching ist ein Beratungsansatz...\",\n \"model\" => \"claude-sonnet-4-20250514\",\n \"_csrf_token\" => \"test123\"\n];\n$_SERVER[\"REQUEST_URI\"] = \"\/chat\/promote\";\n$_SERVER[\"REQUEST_METHOD\"] = \"POST\";\nrequire \"public\/index.php\";\n' 2>&1 | head -10",
"description": "Test promote endpoint"
}
}
{
"tool_response": {
"stdout": "CSRF token invalid",
"stderr": "",
"interrupted": false,
"isImage": false
}
}