Bandit
7.2#4 in sast toolsFree planFree planExtensionLinuxmacOSSelf-hosted
Visit
| Fact | Bandit | Pysa |
|---|---|---|
| Installation | The documented primary installation method is pip, with optional extras for TOML, baseline, and SARIF support. | Pysa is currently distributed as part of the pyre-check package and can be installed with pip install pyre-check. |
| License | The project is distributed under the Apache License 2.0. | Pysa is licensed under the MIT license. |
| Purpose | Bandit scans Python code to find common security issues by building an AST and running plugins against its nodes. | Pysa is a security-focused static analysis tool for Python that tracks data flows to find security and privacy issues. |
| Security reporting | The security policy directs vulnerability reports to GitHub's private vulnerability reporting and asks reporters to inform Tidelift security. | The Pysa security policy asks users to report security issues through Meta's Bug Bounty program rather than public GitHub issues or pull requests. |
Bandit suits Python developers and teams looking for source-code security linting that can be used in editors, pre-commit hooks, or CI workflows. It may also suit teams that want to set aside known findings with a JSON baseline.
Pysa suits Python teams looking for source-code taint analysis, including teams that want to run checks in CI. It is most relevant when the code and dependencies to analyze are available within the configured search paths.