Command-line tool
gosec
brew/gosec
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Golang security checker
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
scoop install gosec
macOS
brew install gosec
Linux
brew install gosec
Scan a Go package recursively in the current directory
gosec ./...
Scan a specific Go package
gosec path/to/package
Scan a Go package recursively and save results to a file
gosec -fmt json -out path/to/report ./...
Related command-line tools
- Enodia
Enodia (Windows package; no description in the winget index) go cli monitoring golang devops vulnerability inventory… - goenv
Go version management - purelink
purelink (Windows package; no description in the winget index) security cli networking golang - vantage
vantage (Windows package; no description in the winget index) security cli dns golang attack-surface - mockery
Mock code autogenerator for Golang - youtubedr
Download Youtube Video in Golang - gf
App development framework of Golang - naml
Convert Kubernetes YAML to Golang
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents