PyCQA/bandit
Some data may be outdated — see provenance labels.
Bandit is a tool designed to find common security issues in Python code. observed · 2026-09-26
Health v2 · maintenance only
82/100
- Activity 96
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 35
- age_days: 3099
- days_rel: 237
- days_push: 29
- n_releases_24m: 12
Adoption not part of the score
8285 stars · 838 forks observed · 2026-09-26
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Bandit is a security-oriented static analysis tool that finds common security issues in Python code. It parses each file into an AST, runs plugin checks against the AST nodes, and generates a report of findings.
Use cases
- scan python code for security vulnerabilities
- find hardcoded passwords and insecure function calls in python
- add security linting to a ci pipeline
- detect use of insecure libraries like pickle or md5 in python code
- run static security analysis before code review
- audit python project for common security mistakes
When to choose
- you want automated, AST-based detection of common Python security anti-patterns
- you need a lightweight security scanner that integrates into CI/CD
- you want a plugin-extensible linter focused on security rather than style
When to avoid
- you need dynamic analysis or runtime vulnerability detection
- you need dependency vulnerability scanning (use pip-audit or safety instead)
- you need general-purpose style or type linting (use flake8, ruff, or mypy)
Facets
cli-tool · maturity active
linter security vulnerability-scanning ci-cd security developer-tools python cli cross-platform static-analysis security-scanner ast-based code-quality sast static-code-analysis python docker
3 sources
- readme: https://github.com/PyCQA/bandit · fetched 2026-09-26 · 92a589ff8175
- homepage: https://bandit.readthedocs.io · fetched 2026-08-29 · 49d0e06351fe
- registry_pypi: https://pypi.org/pypi/bandit/json · fetched 2026-08-29 · 2d77bcd570bc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| PyCQA/bandit | main | 82 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem