CmdID

CmdID / Commands

govulncheck

Report known vulnerabilities that affect Go code. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Report known vulnerabilities that affect Go code. Note: ./... is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

Scan the current module and its dependencies for vulnerabilities

govulncheck ./...Identify

Scan a specific package

govulncheck path/to/packageIdentify

Scan a Go binary instead of source code

govulncheck -mode binary path/to/binaryIdentify

Extract build information and build dependencies from a Go binary

govulncheck -mode extract path/to/binaryIdentify

Scan test files as well

govulncheck -test ./...Identify

Print the results in a specific format

govulncheck -format text ./...Identify

Display the call stacks leading to each vulnerable symbol

govulncheck -show traces ./...Identify