vuln

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: BSD-3-Clause

README

Go Vulnerability Management

Go Reference

Go's support for vulnerability management includes tooling for analyzing your codebase and binaries to surface known vulnerabilities in your dependencies. This tooling is backed by the Go vulnerability database, which is curated by the Go security team. Go’s tooling reduces noise in your results by only surfacing vulnerabilities in functions that your code is actually calling.

You can install the latest version of govulncheck using go install

go install golang.org/x/vuln/cmd/govulncheck@latest

Then, run govulncheck inside your module:

govulncheck ./...

See the govulncheck tutorial to get started, and https://golang.ir/security/vuln for more information about Go's support for vulnerability management. The API documentation can be found at https://pkg.golang.ir/golang.org/x/vuln/scan.

Privacy Policy

The privacy policy for govulncheck can be found at https://vuln.go.dev/privacy.

License

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.

Directories

Path Synopsis
cmd
govulncheck
Govulncheck reports known vulnerabilities that affect Go code.
Govulncheck reports known vulnerabilities that affect Go code.
Package internal contains functionality for x/vuln.
Package internal contains functionality for x/vuln.
client
Package client provides an interface for accessing vulnerability databases, via either HTTP or local filesystem access.
Package client provides an interface for accessing vulnerability databases, via either HTTP or local filesystem access.
derrors
Package derrors defines internal error values to categorize the different types error semantics supported by x/vuln.
Package derrors defines internal error values to categorize the different types error semantics supported by x/vuln.
gosym
Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
Package gosym implements access to the Go symbol and line number tables embedded in Go binaries generated by the gc compilers.
govulncheck
Package govulncheck contains the JSON output structs for govulncheck.
Package govulncheck contains the JSON output structs for govulncheck.
openvex
Package vex defines the Vulnerability EXchange Format (VEX) types supported by govulncheck.
Package vex defines the Vulnerability EXchange Format (VEX) types supported by govulncheck.
osv
Package osv implements the Go OSV vulnerability format (https://golang.ir/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
Package osv implements the Go OSV vulnerability format (https://golang.ir/security/vuln/database#schema), which is a subset of the OSV shared vulnerability format (https://ossf.github.io/osv-schema), with database and ecosystem-specific meanings and fields.
sarif
Package sarif defines Static Analysis Results Interchange Format (SARIF) types supported by govulncheck.
Package sarif defines Static Analysis Results Interchange Format (SARIF) types supported by govulncheck.
semver
Package semver provides shared utilities for manipulating Go semantic versions.
Package semver provides shared utilities for manipulating Go semantic versions.
vulncheck
Package vulncheck detects uses of known vulnerabilities in Go programs.
Package vulncheck detects uses of known vulnerabilities in Go programs.
web
Package scan provides functionality for running govulncheck.
Package scan provides functionality for running govulncheck.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL