| name | security-linting |
| description | Automated security scanning for Python code using Bandit. |
| version | 1.0.0 |
| author | SpoonOS Contributor |
| tags | ["security","code-quality","python","bandit"] |
Security Linting
Automated security scanning for Python code to detect common vulnerabilities like hardcoded secrets, injection flaws, and unsafe function usage.
Quick Start
scan_result = await agent.run_tool("security_scan", path=".")
print(scan_result)
Scripts
Environment Variables
None required. Uses local bandit installation (will be installed if missing).
Best Practices
- Run scans before committing code.
- Review high-severity issues immediately.
- Use
# nosec to suppress false positives (use sparingly).