gosec vs Horusec
gosec
github.comHorusec
github.comSide by side
| Figure | gosec | Horusec |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | Yes | — |
| Web | — | Yes |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Static Application Security Testing Sast | 8.6 (#3) | 8.0 (#8) |
| Spec score · Static Application Security Testing Software | 8.6 (#4) | 8.0 (#10) |
| Purpose | gosec inspects Go source code for security problems by scanning its AST and SSA code representation. | Horusec performs static code analysis to identify security flaws during development. |
Plans
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.
Horusec
Horusec is a static code analysis tool for identifying security flaws during development. It scans source code and searches project files and Git history for leaked keys and other security issues. The project describes analyzing 18 languages with 20 security tools; listed coverage includes C#, Java, Kotlin, Python, Ruby, Golang, Terraform, JavaScript, TypeScript, Kubernetes, PHP, C, HTML, JSON, Dart, Elixir, Shell, and Nginx. Analysis is configurable through CLI resources. Developers can use its command-line interface, while DevSecOps teams can add it to CI/CD pipelines; a Visual Studio Code extension is also provided. Horusec-Web offers vulnerability dashboards, false-positive controls, authorization tokens, and vulnerability updates. Horusec Platform integrates with the CLI to visualize and manage vulnerabilities, and supports native Horusec, LDAP, and Keycloak authentication. Its repository was archived by its owner on March 19, 2025 and is read-only. Running Horusec with all its tools requires Docker; the platform requires RabbitMQ and PostgreSQL. The open-source plan is free under Apache License 2.0.