Many excellent open source security vulnerability scanning tools and related security projects are built with Go. These tools leverage Go's high performance, concurrency, and cross-platform capabilities, and are widely used in code auditing, network scanning, and container security. Based on the latest research from GitHub, Reddit, and the cybersecurity community (as of September 2025), this post lists mainstream projects, focusing on vulnerability scanners with brief descriptions, GitHub links, and use cases. Priority is given to popular, actively maintained projects (e.g., those with over 1k stars).
1. Major Vulnerability Scanners
These tools focus on identifying vulnerabilities in systems, networks, dependencies, or code, and support automated integration into CI/CD pipelines.
OSV-Scanner (Google)
An efficient vulnerability scanner that detects known vulnerabilities in open source project dependencies (based on the OSV database). Supports multiple package managers (e.g., Go modules, npm) and outputs JSON reports for automation.- GitHub: <https://github.com/google/osv-scanner> (Star: 3k+)
- Use case: software supply chain security, scanning Go project dependencies. Install with:
go install github.com/google/osv-scanner/cmd/osv-scanner@latest - GitHub: <https://github.com/projectdiscovery/nuclei> (Star: 10k+)
- Use case: penetration testing and large-scale automated scanning, e.g.,
nuclei -t cves/ -target example.com. 2025 updates added AI rule generation support. - GitHub: <https://github.com/aquasecurity/trivy> (Star: 20k+)
- Use case: DevSecOps pipelines, e.g., scanning Docker images:
trivy image nginx:latest. Lightweight, agentless. - GitHub: <https://github.com/future-architect/vuls> (Star: 5k+)
- Use case: server and cloud instance auditing; the agentless design reduces deployment overhead.
- GitHub: <https://github.com/anchore/grype> (Star: 2k+)
- Use case: Kubernetes environments, quick CI/CD integration.
- GitHub: <https://github.com/securego/gosec> (Star: 6k+)
- Use case: code review, e.g.,
gosec ./.... A Go-recommended tool. - GitHub: <https://github.com/gitleaks/gitleaks> (Star: 15k+)
- Use case: pre-commit hooks to prevent sensitive information leaks.
- GitHub: <https://github.com/owasp-amass/amass> (Star: 10k+)
- Use case: intelligence gathering prior to bug hunting.
- GitHub: <https://github.com/bettercap/bettercap> (Star: 15k+)
- Use case: wireless network vulnerability testing.
- GitHub: <https://github.com/open-policy-agent/opa> (Star: 10k+)
- Use case: access control in zero-trust architectures.
- Getting started: Start with OSV-Scanner or Trivy—they are easy to use and cover supply chain/container scenarios. Combine with Gosec for code-level checks.
- Resource list: See Awesome Go Security for a complete directory (50+ projects).
- Official Go support: Go 1.21+ has built-in vulnerability management (
go vulncommand), which complements these tools. - Trends: In 2025, these tools emphasize AI assistance (e.g., Nuclei's rule optimization) and SBOM integration, with active communities on GitHub and X.
Nuclei (ProjectDiscovery)
High-performance, template-driven vulnerability scanner supporting custom YAML rules for fast detection of web, network, and API vulnerabilities. Concurrent execution reaches thousands of requests per second.Trivy (Aqua Security)
Versatile vulnerability scanner for container images, filesystems, Git repositories, and OS packages, with SBOM generation and CVE matching.Vuls (future-architect)
Agentless vulnerability scanner for Linux/FreeBSD, scanning known CVEs and generating reports with support for multiple database syncs.Grype (Anchore)
Container and filesystem vulnerability scanner, integrates with the Syft SBOM tool and supports multi-language package managers.2. Code Security Check Tools (SAST / Static Analysis)
These projects focus on scanning Go source code for security issues such as injection flaws and cryptographic weaknesses.
Gosec
Go static security checker that analyzes AST and SSA code to detect common vulnerabilities like SQL injection and hardcoded keys. Integrates with golangci-lint.GitLeaks
Scans Git repositories for hardcoded secrets (e.g., API keys, passwords) with support for custom rules.3. Other Security-Related Projects
Broader security tools that complement vulnerability scanning, such as network reconnaissance or policy engines.