Skip to content
SPECIFICTION
Get listed

gosec vs Semgrep Secrets

gosec

github.com

Semgrep Secrets

semgrep.dev

Side by side

FiguregosecSemgrep Secrets
Price fromFree—
Free planYes—
Free trial——
Open sourceYes—
Web—Yes
macOSYes—
LinuxYes—
APIYes—
Self-hostedYes—
Plans published10
Spec score · Static Analysis Tools8.6 (#7)5.3 (#36)

Plans

gosec

  • gosecFree

gosec pricing →

Semgrep Secrets

No plans published.

Semgrep Secrets pricing →

In their own words

gosec

gosec is a free Go source-code security checker that analyzes abstract syntax trees and static single assignment representations. It applies pattern rules, SSA analyzers, and taint analysis to detect issues including injection, path traversal, SSRF, unsafe deserialization, cryptography and TLS problems, blocklisted imports, and Go-specific risks. Findings map to Common Weakness Enumeration entries. Users can select or exclude rules, define path-based exclusions, and change settings such as audit mode. Reports are available as text, JSON, YAML, CSV, JUnit XML, HTML, SonarQube, golint, and SARIF. The project documents GitHub Actions and SARIF uploads to GitHub code scanning; its goanalysis package supports tools such as Bazel nogo. Local installation requires Go 1.25 or newer, with dependencies loaded through Go modules. An optional AI feature suggests fixes through Atlas Cloud, Gemini, Claude, OpenAI, or custom OpenAI-compatible APIs. Automated detection can produce false positives, which annotations can suppress. It is licensed under Apache License 2.0.

Visit github.com

Semgrep Secrets

Semgrep Secrets has no write-up on Specifiction yet; its figures are above.

Visit semgrep.dev