compare
Bandit vs gosec
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | Bandit | gosec |
|---|---|---|
| Language | Python | Go |
| Licence | Apache-2.0 | Apache-2.0 |
| Stars | 8.4k | 9k |
| Latest | 1.9.4 | v2.30.0 |
| Last push | 2026-11-09 | 2026-11-23 |
| Release cadence | about 21 days between releases | about 43 days between releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 34 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace Snyk. Alternatives to Snyk →
PartialBanditFinds common security issues in Python code only.
PartialgosecScans Go source for security problems only.
Both replace SonarQube Cloud. Alternatives to SonarQube Cloud →
PartialBanditPython security checks only, run from the CLI or CI.
PartialgosecGo security rules from the CLI or CI, with no server or dashboard.
Bandit
gosec
- v2.30.02026-10-235eb1d104ef85ff2c905c877eb600e8c1dee33a22 fix(g602): recognize equality comparison in minimumLenForBranch (#1796)
- v2.29.02026-08-26deb54465fea23d19a77f037e11e6589021f8501d analyzers/G703: stop treating Clean/Abs/PathEscape as path-traversal sanitizer…
- v2.28.02026-07-149e75c0576c9878035d4221392108d458abe10fc3 feat(G101): detect AWS temporary access keys (#1702)
- v2.27.12026-06-019e6a9843d7a4a6e3e9a8539b02612c8a4aa3f889 Downgrade google lib to avoid min Go version bump (#1687)
- v2.27.02026-06-010a5c6504c46569257663726ac54c7cfdad42e846 Downgrade the jsonschema dep to v0.13.0 due to incompatibility with anthropick…
Bandit
✓ signed The latest release, 1.9.4, carries a signature GitHub verified.
Loading the security report
gosec
unsigned The latest release, v2.30.0, carries no signature GitHub could verify.
Loading the security report