Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 govulncheck

查看 govulncheck 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install govulncheck

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install govulncheck

MacPorts ports tree · security/govulncheck/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install govulncheck

Debian stable package indexes · govulncheck · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install govulncheck

Fedora Rawhide package metadata · govulncheck · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#govulncheck

nixpkgs package indexes · pkgs/by-name/go/govulncheck/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S govulncheck

Arch Linux sync databases · govulncheck · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install govulncheck

openSUSE Tumbleweed package metadata · govulncheck · 来源: download.opensuse.org

概览

软件包摘要

Database client and tools for the Go vulnerability database

命令和别名

  • govulncheck

历史

项目历史与用法

govulncheck is the Go project's command-line vulnerability scanner. It is part of Go's vulnerability-management effort and is backed by the Go vulnerability database, with a defining design goal of reducing noise by reporting vulnerabilities that are reachable through the functions a program actually calls.

项目历史

The golang/vuln repository was created as the code home for Go vulnerability-management tooling and database clients. The official README describes the repository as Go's support for vulnerability management: tooling for analyzing codebases and binaries, backed by a Go vulnerability database curated by the Go security team.

The Go team publicly announced vulnerability management support on 2022-09-06. That announcement introduced govulncheck as a standalone command for frequent updates and rapid feedback, separate from the Go distribution while the team gathered user experience. The same post described the Go vulnerability database as a curated source built from CVEs, GitHub Security Advisories, direct package maintainer reports, and Go security team review.

On 2023-07-13, the Go team announced govulncheck v1.0.0 and a stable scanning API. That marked govulncheck's transition from an experimental ecosystem tool into an official integration point for other scanners and workflows. The Go documentation and pkg.go.dev pages later describe source and binary analysis, JSON and other machine-readable formats, database configuration, privacy properties, and known limitations.

采用历史

govulncheck adoption is unusually direct for a language-security tool because the Go project itself promotes it in the security documentation, tutorial, repository README, and package documentation. The Go blog also describes integrations with pkg.go.dev, the VS Code Go extension, a GitHub Action, and OSV-Scanner integration work, putting the CLI into editor, package discovery, CI, and scanner ecosystems.

The input package-manager metadata lists govulncheck in Homebrew, Debian, Ubuntu, Fedora, MacPorts, Nix, Arch, and zypper. That broad packaging matters because security checks are commonly installed in CI images and developer environments where relying only on `go install` may not match local package policy.

使用方式

The common command path is intentionally simple: install `golang.org/x/vuln/cmd/govulncheck` and run `govulncheck ./...` from a Go module. The scanner can analyze source code, and package documentation also describes binary analysis with `-mode binary`, extraction mode, build tags, test-file inclusion, verbose output, JSON streaming, SARIF, and OpenVEX-related output support.

By default, govulncheck queries the Go vulnerability database at vuln.go.dev. The pkg.go.dev documentation states that those requests contain module paths with vulnerabilities known to the database rather than code or other properties of the user's program, and the repository links to a dedicated privacy policy.

为什么软件包爱好者会关心

govulncheck is significant because it changed Go vulnerability scanning from manifest-level dependency matching toward call-aware analysis. For package maintainers, this matters: it can reduce alert fatigue, make security CI less noisy, and help distinguish vulnerable-but-unused dependency code from reachable vulnerable functions.

It is also one of the clearer examples of modern language-ecosystem security plumbing: a curated vulnerability database, OSV-format data, package-discovery integration, editor integration, CI integration, an installable CLI, and a public API all orbit the same tool.

时间线

  • 2021: The golang/vuln mirror repository was created for Go vulnerability database clients and tools.
  • 2022-09-06: The Go team announced Go vulnerability management and introduced govulncheck as a standalone low-noise scanner.
  • 2023-07-13: The Go team announced govulncheck v1.0.0 and a stable API for scanner integrations.
  • 2023: The Go blog described pkg.go.dev, VS Code Go extension, GitHub Action, and OSV-Scanner integration paths.
  • 2026: pkg.go.dev documentation described govulncheck source/binary analysis, JSON streaming, SARIF, VEX-oriented output, and documented limitations.

Related projects

  • The Go vulnerability database at vuln.go.dev provides the curated data used by govulncheck.
  • pkg.go.dev surfaces Go vulnerability information in package discovery workflows.
  • The VS Code Go extension and the govulncheck GitHub Action are official or Go-team-documented integration paths.
  • OSV-Scanner is referenced by the Go team as an integration point for govulncheck analysis.

安全态势

尚未找到受保护工具覆盖

没有找到 govulncheck 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
govulncheckcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本1.6.0
管理器更新时间2026-07-09
本地数据OK
上游当前
检测到的最新版本v1.6.0

https://github.com/golang/vuln

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:govulncheck
版本1.6.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/govulncheck
主页https://github.com/golang/vuln
仓库https://github.com/golang/vuln
上游文档https://github.com/golang/vuln#readme
许可证BSD-3-Clause
源码归档https://github.com/golang/vuln/archive/refs/tags/v1.6.0.tar.gz
最后更新2026-07-09T19:22:48Z
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegovulncheck
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

govulncheck 1.0.4-1

CLI for detecting vulnerabilities in Go packages

https://github.com/golang/vuln

sudo apt install govulncheck
  • Section: golang
  • Architecture: amd64
  • Source Package: golang-golang-x-vuln
  • 1 依赖
  • normalized package name match
  • 匹配方式:Govulncheck
Debian stable package indexes · deb.debian.org · Debian stable package indexes: govulncheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

govulncheck

nix profile install nixpkgs#govulncheck
  • normalized package name match
  • 匹配方式:Govulncheck
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/govulncheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

govulncheck 1.0.1-1

CLI for detecting vulnerabilities in Go packages

https://github.com/golang/vuln

sudo apt install govulncheck
  • Section: universe/golang
  • Architecture: amd64
  • Source Package: golang-golang-x-vuln
  • 1 依赖
  • normalized package name match
  • 匹配方式:Govulncheck
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: govulncheck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

govulncheck 1.1.4-1.20260218gita9cf566.fc45

Database client and tools for the Go vulnerability database

https://github.com/golang/vuln

sudo dnf install govulncheck
  • License: Apache-2.0 AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: govulncheck
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Govulncheck
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: govulncheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

govulncheck 1.3.0-1

Database client and tools for the Go vulnerability database

https://github.com/golang/vuln

sudo pacman -S govulncheck
  • License: BSD-3-Clause
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Govulncheck
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: govulncheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

govulncheck 1.3.0-1.1

CLI tool to report known CVE vulnerabilities in Go source code and binaries

https://github.com/golang/vuln

sudo zypper install govulncheck
  • License: BSD-3-Clause
  • Category: Development/Languages/Go
  • Architecture: x86_64
  • Source Package: govulncheck
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Govulncheck
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: govulncheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

govulncheck

sudo port install govulncheck
  • normalized package name match
  • 匹配方式:Govulncheck
MacPorts ports tree · api.github.com · MacPorts ports tree: security/govulncheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment