compare
gosec vs Trivy
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | gosec | Trivy |
|---|---|---|
| Language | Go | Go |
| Licence | Apache-2.0 | Apache-2.0 |
| Stars | 9k | 40k |
| Latest | v2.30.0 | v0.76.2 |
| Last push | 2026-11-23 | 2026-11-20 |
| Release cadence | about 43 days between releases | about 14 days between releases |
| Active contributors | 34 commit authors on the default branch in the last 90 days | not counted |
| Flags | none | none |
How they relate
Both replace Snyk. Alternatives to Snyk →
PartialgosecScans Go source for security problems only.
PartialTrivyScans dependencies, container images, infrastructure as code and secrets from the CLI or CI; no hosted dashboard or fix pull requests.
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…
gosec
unsigned The latest release, v2.30.0, carries no signature GitHub could verify.
Loading the security report
Trivy
✓ signed The latest release, v0.76.2, carries a signature GitHub verified.
Loading the security report