| name | bandit |
| description | Use this skill when the user wants to find security issues in Python code, scan for vulnerabilities, check for unsafe imports, or audit Python security. |
bandit Plugin
Security linter for Python code.
Commands
Scan
bandit scan run — Scan Python files for security issues
bandit scan json — Scan and output JSON
Usage Examples
- "Scan this Python project for security issues"
- "Find security vulnerabilities in my code"
- "Check for unsafe imports"
- "Audit Python code for common security problems"
Installation
pip install bandit
Examples
bandit -r .
bandit -r --format json .
bandit -r --severity high .
bandit -r --skip B101,B102 .
bandit -r --tests B101 .
bandit -r --ini .bandit .