Description:
Security-oriented static analyser for Python code
|
|
Type: Formula
|
Latest Version: 1.9.2@0
|
Tracked Since: Dec 17, 2025
|
|
Links:
Homepage |
@PyCQA |
formulae.brew.sh
|
|
Category: Security
|
|
Tags:
security
static-analysis
python
linter
devsecops
|
|
Install:
brew install bandit
|
About:
Bandit is a comprehensive security linter designed to find common security issues in Python code. It utilizes an AST-based approach to detect vulnerabilities such as hardcoded passwords, shell injections, and unsafe deserialization. The tool provides a flexible framework for developers to integrate security checks into their CI/CD pipelines.
|
Key Features:
- AST-based static analysis for deep code inspection
- Configurable testing framework with built-in profiles
- Plugin system for custom security checks
- Supports multiple output formats (JSON, HTML, XML)
|
Use Cases:
- Scanning Python projects for known vulnerability patterns
- Integrating security checks into CI/CD pipelines
- Auditing third-party Python libraries for security risks
|
Alternatives:
-
Semgrep
– Semgrep is a multi-language static analysis tool with a broader scope, while Bandit is specifically focused on Python security.
-
Pylint
– Pylint focuses on code quality and style, whereas Bandit focuses specifically on security vulnerabilities.
|
|
License: Apache-2.0
|
|
Dependencies: libyaml, python@3.14
|
|
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
|
| Detected |
Version |
Rev |
Change |
Commit |
| Nov 18, 2025 3:56am |
|
0 |
VERSION_BUMP |
24ec1c89 |
| Sep 13, 2025 11:42am |
|
0 |
VERSION_BUMP |
60fe0734 |
| Jan 12, 2025 10:51pm |
|
0 |
VERSION_BUMP |
3d0abab8 |
| Nov 27, 2024 3:13am |
|
0 |
VERSION_BUMP |
d0e18dc6 |
| Nov 27, 2024 2:19am |
|
0 |
VERSION_BUMP |
882dc7bf |
| Jan 24, 2024 12:07am |
|
0 |
VERSION_BUMP |
6020959a |
| Oct 14, 2023 6:33pm |
|
5 |
VERSION_BUMP |
050e661e |
| Sep 30, 2023 3:50am |
|
4 |
VERSION_BUMP |
07229a8a |
| Sep 8, 2023 8:12am |
|
4 |
VERSION_BUMP |
87c3ef05 |
| Sep 2, 2023 8:12am |
|
2 |
VERSION_BUMP |
b0b8ee58 |
| Aug 12, 2023 8:13am |
|
1 |
VERSION_BUMP |
8bd6a68c |
| Mar 10, 2023 6:42am |
|
0 |
VERSION_BUMP |
c3590b60 |
| Mar 10, 2023 6:42am |
|
0 |
VERSION_BUMP |
4b5b587c |
| Feb 10, 2023 7:05am |
|
0 |
VERSION_BUMP |
48e44589 |
| Feb 10, 2023 7:05am |
|
0 |
VERSION_BUMP |
68027ddb |
|