Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

govulncheck

$ govulncheck Official Low Risk
Go Team · Code & DevOps · BSD-3-Clause · macos / linux / windows

Official Go security tool that queries the Go vulnerability database and performs call-graph reachability analysis on source code (-mode=source) or compiled binaries (-mode=binary). Strictly read-only with structured JSON (-format=json / -json) and SARIF output.

FCRS-1.0 Score
91 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install govulncheck
CLI vs MCP Decision CLI Only

Local reachability analyzer against the Go vulnerability DB; CLI -format=json is fast and self-contained.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Supports structured -format=json (and -format=sarif / -format=openvex), deterministic non-TTY execution, and clear exit codes.

  • -format=json outputs structured OSV and call-trace JSON
  • Supports -format=sarif and -format=openvex
Trust & Safety 25 / 25

Strictly read-only scanner with zero file mutations and public read-only advisory database lookups.

  • Purely read-only source and binary vulnerability inspection
Setup & Portability 13 / 15

Easy install via go install or Homebrew on macOS, Linux, and Windows; source mode requires the Go toolchain.

  • Distributed via Homebrew and go install
Utility & Efficiency 13 / 15

Call-graph reachability filtering cuts noisy false-positive CVEs dramatically compared to manifest-only scanners.

  • Separates reachable symbol vulnerabilities from uncalled module deps
Maintenance & Lineage 10 / 10

First-party official Go Team project (golang/vuln) under BSD-3-Clause.

  • Official Go Security Team tool
Docs & Verifiability 8 / 10

Clear documentation on pkg.go.dev and go.dev/security/vuln/.

  • Official Go documentation and CLI -help

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Queries public vuln.go.dev database (or local GOVULNDB directory); no credentials stored or required.

Side Effects
Read-Only
Cost & Quotas

BSD-3-Clause official Go tool; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# govulncheck Agent Rules
- Use `govulncheck -format=json ./...` (or `-json` on older versions) to distinguish reachable vulnerabilities from unused dependency CVEs.
- For airgapped sandboxes, point `-db` to a local mirror of the Go vulnerability database.

Agent-Ready Command Recipes

Safe Read-Only Queries

Scan Go module for reachable vulnerabilities as JSON
govulncheck -format=json ./...

Emits JSON stream records detailing OSV advisories and actual reachable call stacks.

Scan a compiled Go binary
govulncheck -mode=binary -format=json ./bin/server

Audits symbols embedded in a compiled Go binary without needing source checkout.

Strengths for Agents

  • + Reachability analysis eliminates noise from CVEs in uncalled dependency functions.
  • + Official Go Team tool supporting -format=json, SARIF, OpenVEX, and binary scanning.

Caveats & Pitfalls

  • ! Requires network access to vuln.go.dev unless -db points to a local vulnerability DB mirror.
  • ! -format=json emits a stream of JSON objects (config, osv, finding) rather than a single array.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI