# govulncheck mit Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für govulncheck in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:govulncheck
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install govulncheck
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install govulncheck
```

  Evidenz: MacPorts ports tree: security/govulncheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install govulncheck
```

  Evidenz: Debian stable package indexes: govulncheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install govulncheck
```

  Evidenz: Fedora Rawhide package metadata: govulncheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#govulncheck
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/go/govulncheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S govulncheck
```

  Evidenz: Arch Linux sync databases: govulncheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install govulncheck
```

  Evidenz: openSUSE Tumbleweed package metadata: govulncheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:govulncheck
- **Paketmanager:** Homebrew
- **Version:** 1.6.0
- **Quellzusammenfassung:** Database client and tools for the Go vulnerability database
- **Homepage:** <https://github.com/golang/vuln>
- **Repository:** <https://github.com/golang/vuln>
- **Zuletzt aktualisiert:** 2026-07-25T20:55:27-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- govulncheck (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.6.0
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://api.github.com/repos/golang/vuln>
- <https://go.dev/blog/govulncheck>
- <https://go.dev/blog/vuln>
- <https://go.dev/doc/security/vuln/>
- <https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck>
- <https://raw.githubusercontent.com/golang/vuln/master/README.md>


## Sicherheitshinweise

Für govulncheck wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.


## Andere Paketmanager-Einträge

- Debian apt - govulncheck - 1.0.4-1: normalized package name match | Debian stable package indexes: govulncheck from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | CLI for detecting vulnerabilities in Go packages | https://github.com/golang/vuln
- Nix - govulncheck: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/govulncheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - govulncheck - 1.0.1-1: normalized package name match | Ubuntu 24.04 LTS package indexes: govulncheck from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | CLI for detecting vulnerabilities in Go packages | https://github.com/golang/vuln
- dnf - govulncheck - 1.1.4-2.20260218gita9cf566.fc45: normalized package name match | Fedora Rawhide package metadata: govulncheck from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Database client and tools for the Go vulnerability database | https://github.com/golang/vuln
- pacman - govulncheck - 1.5.0-1: normalized package name match | Arch Linux sync databases: govulncheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Database client and tools for the Go vulnerability database | https://github.com/golang/vuln
- zypper - govulncheck - 1.6.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: govulncheck from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI tool to report known CVE vulnerabilities in Go source code and binaries | https://github.com/golang/vuln
- MacPorts - govulncheck: normalized package name match | MacPorts ports tree: security/govulncheck/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/govulncheck.yml](https://github.com/mxcl/pkgdb/blob/main/combined/govulncheck.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
