OS Manuals

/usr/bin/govulncheck

Go vulnerability scanner (golang.org/x/vuln) built with a FIPS-validated Go toolchain

From govulncheck-fips 1.9.0-r1 (enterprise-packages), captured 2026-11-08 by running govulncheck --help (exit 0). permalink

Govulncheck reports known vulnerabilities in dependencies.

Usage:

	govulncheck [flags] [patterns]
	govulncheck -mode=binary [flags] [binary]

  -C dir
    	change to dir before running govulncheck
  -db url
    	vulnerability database url (default "https://vuln.go.dev")
  -format value
    	specify format output
    	The supported values are 'text', 'json', 'sarif', and 'openvex' (default 'text')
  -json
    	output JSON (Go compatible legacy flag, see format flag)
  -mode value
    	supports 'source', 'binary', and 'extract' (default 'source')
  -scan value
    	set the scanning level desired, one of 'module', 'package', or 'symbol' (default 'symbol')
  -show list
    	enable display of additional information specified by the comma separated list
    	The supported values are 'traces','color', 'version', and 'verbose'
  -tags list
    	comma-separated list of build tags
  -test
    	analyze test files (only valid for source mode, default false)
  -version
    	print the version information

For details, see https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck.
Options (10)
OptionDescriptionSource
-C dirchange to dir before running govulncheckhelp
-db urlvulnerability database url (default "https://vuln.go.dev")help
-format valuespecify format output The supported values are 'text', 'json', 'sarif', and 'openvex' (default 'text')help
-jsonoutput JSON (Go compatible legacy flag, see format flag)help
-mode valuesupports 'source', 'binary', and 'extract' (default 'source')help
-scan valueset the scanning level desired, one of 'module', 'package', or 'symbol' (default 'symbol')help
-show listenable display of additional information specified by the comma separated list The supported values are 'traces','color', 'version', and 'verbose'help
-tags listcomma-separated list of build tagshelp
-testanalyze test files (only valid for source mode, default false)help
-versionprint the version informationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.