PythonSafetyChecker
Scan Python files and directories for security vulnerabilities, lint violations, and risky mutable defaults. Returns a report of all findings.
Instructions
Run the Python safety checker (bandit security issues, ruff style/lint issues, AST mutable default arg checks) against Python files. Returns findings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "PythonSafetyChecker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Target directory or file to scan (default: cwd) | |
| timeout | No | Timeout in ms (max 600000) |