Cluster 8 · Ecosystem Audit · Go · go.mod · GO-* · CISA KEV

Auditing Go go.mod & go.sum for OSV CVEs, CISA KEVs & Missing License Metadata

Why 87.5% of Go repos in our N=30 study carried live OSV CVEs (including 2/8 CISA KEVs) yet showed 0 SHA-256 hashes and 100% unknown licenses in go.mod alone — and how to emit compliant binary SBOMs.

Notice: Informational engineering guidance for security & procurement readiness — not legal advice. Backed by live telemetry from our N=30 B2B SaaS SBOM Supply-Chain Benchmark.
Zero Telemetry · Strict CSP (connect-src 'none')

1. Compliance Scope, Stack & Current Controls

SOC 2 · VSAQ · EO 14028 · EU CRA
Target Compliance & Procurement Frameworks
Language Ecosystems & Packaging Formats
Current Engineering & SBOM Controls (Check What You Have Today)
Disclaimer: Informational engineering guidance for security & procurement preparation — not legal advice.
High Deal-Delay Risk
25 / 100 (F)
BLOCKED — REMEDIATE BEFORE SEND

Passing: 1 · Action Items: 10 · Frameworks: 3 · Ecosystems: 2

SBOM-CORE-01: Commit deterministic lockfiles across all production services PASS
[Pinning & Lockfiles] Lockfiles are pinned. Enforce `npm ci`, `pip install --require-hashes`, or `-mod=readonly` in CI so floating ranges never drift.
SBOM-CORE-02: Emit CycloneDX 1.5/1.6 or SPDX 2.3 JSON with PURLs & SHA-256 digests CRITICAL ACTION
[SBOM Artifacts] Generate release SBOMs via `syft` or `@cyclonedx/cdxgen` from resolved lockfiles/images. In RungLab's N=30 audit, 24/30 (80.0%) raw manifest scans had zero SHA-256 hashes.
SBOM-CORE-03: Enforce OSV / CVE & CISA KEV remediation SLAs before release CRITICAL ACTION
[Vulnerability & KEV Gate] Scan every release against api.osv.dev & CISA KEV: 50.0% (15/30) of benchmarked B2B SaaS repos carried live OSV CVEs and 6.7% (2/30) shipped active CISA KEV exploits.
SBOM-CORE-04: Screen transitive dependencies for AGPL/GPL copyleft & NOASSERTION gaps CRITICAL ACTION
[License Governance] Check transitive deps before legal redlines: 20.0% (6/30) of benchmarked repos triggered weak/strong copyleft flags (including AGPL-3.0-or-later via mupdf in SaaS code) and 100% had unknown licenses in raw manifests.
SBOM-CORE-05: Sign releases and SBOMs with Sigstore Cosign or SLSA v1 provenance HIGH ACTION
[Artifact Provenance] Attach keyless GitHub Actions OIDC Cosign signatures (`id-token: write`) and SLSA provenance so buyers can verify SBOM integrity.
FW-SOC2-CC7: Map SBOM scans & CVE remediation tickets to SOC 2 CC7.1, CC8.1 & CC9.2 HIGH ACTION
[SOC 2 Type II] Auditors require repeatable evidence over an observation window: retain timestamped release SBOMs (CC8.1 change management), OSV/KEV scan logs + patch PRs (CC7.1 vulnerability management), and third-party open-source inventory (CC9.2).
FW-NTIA-14028: Verify all 7 NTIA Minimum Elements (Supplier, Name, Version, PURL, Graph, Author, Timestamp) HIGH ACTION
[EO 14028 / NTIA] Federal & regulated buyers reject flat dependency lists missing dependency relationships (`dependencies[]` in CycloneDX / `relationships[]` in SPDX) or SBOM `metadata.timestamp` / `authors`.
FW-CISA-KEV: Block builds with unpatched CISA KEV CVEs & track BOD 22-01/26-04 due dates CRITICAL ACTION
[CISA KEV SLA] Treat CISA KEV matches as immediate P0 blockers (e.g., CVE-2026-111497 Google Brotli in Go manifests). Document fixed versions or compensating VEX controls.
DIST-ONPREM: Clear GPL-2.0/3.0, LGPL relinking & container base-OS SBOMs before customer delivery CRITICAL ACTION
[On-Prem / VPC Appliance] Shipping self-hosted binaries or Helm/OCI containers constitutes distribution: review GPL/LGPL/MPL/EPL notice obligations and embed full OS + app SBOMs inside the OCI image.
ECO-GO: Enrich go.mod/go.sum with binary SBOM licenses & govulncheck/OSV gates HIGH ACTION
[Go Modules] `go.mod` omits SPDX license metadata and SHA-256 archive hashes (`go.sum` stores custom `h1:` digests), and 7/8 Go repos in our benchmark carried OSV CVEs (2 with CISA KEV). Pair `govulncheck` with `syft` CycloneDX output.
ECO-DOCKER: Attach Buildx --sbom=true & digest-pinned Cosign attestations to OCI images HIGH ACTION
[Containers / OCI] Base OS layers (`alpine`, `debian`) introduce CVEs missing from app lockfiles. Emit BuildKit SPDX attestations and scan `@sha256:` image digests with Syft/Trivy.
Exportable Procurement Readiness Checklist (Markdown)
# Enterprise SBOM & SOC 2 Procurement Readiness Checklist — Go Backend Platform

> Informational engineering guidance for security & procurement preparation — not legal advice.

- **Readiness Score:** 25/100 (Grade F) — **BLOCKED — REMEDIATE BEFORE SEND**
- **Buyer Friction Risk:** High Deal-Delay Risk
- **Target Frameworks:** SOC 2 Type II, CISA KEV SLA, EO 14028 / NTIA
- **Language Ecosystems:** Go Modules (go.mod / go.sum), Containers / OCI (Buildx / Syft)
- **Distribution Model:** On-Premises / Self-Hosted / VPC Appliance
- **Controls Summary:** 1 Passing / 10 Action Items

## Actionable Controls & Procurement Evidence Checklist

- [x] **SBOM-CORE-01 (CRITICAL) — Commit deterministic lockfiles across all production services** [Pinning & Lockfiles]
  - Lockfiles are pinned. Enforce `npm ci`, `pip install --require-hashes`, or `-mod=readonly` in CI so floating ranges never drift.
- [ ] **SBOM-CORE-02 (CRITICAL) — Emit CycloneDX 1.5/1.6 or SPDX 2.3 JSON with PURLs & SHA-256 digests** [SBOM Artifacts]
  - Generate release SBOMs via `syft` or `@cyclonedx/cdxgen` from resolved lockfiles/images. In RungLab's N=30 audit, 24/30 (80.0%) raw manifest scans had zero SHA-256 hashes.
- [ ] **SBOM-CORE-03 (CRITICAL) — Enforce OSV / CVE & CISA KEV remediation SLAs before release** [Vulnerability & KEV Gate]
  - Scan every release against api.osv.dev & CISA KEV: 50.0% (15/30) of benchmarked B2B SaaS repos carried live OSV CVEs and 6.7% (2/30) shipped active CISA KEV exploits.
- [ ] **SBOM-CORE-04 (CRITICAL) — Screen transitive dependencies for AGPL/GPL copyleft & NOASSERTION gaps** [License Governance]
  - Check transitive deps before legal redlines: 20.0% (6/30) of benchmarked repos triggered weak/strong copyleft flags (including AGPL-3.0-or-later via mupdf in SaaS code) and 100% had unknown licenses in raw manifests.
- [ ] **SBOM-CORE-05 (HIGH) — Sign releases and SBOMs with Sigstore Cosign or SLSA v1 provenance** [Artifact Provenance]
  - Attach keyless GitHub Actions OIDC Cosign signatures (`id-token: write`) and SLSA provenance so buyers can verify SBOM integrity.
- [ ] **FW-SOC2-CC7 (HIGH) — Map SBOM scans & CVE remediation tickets to SOC 2 CC7.1, CC8.1 & CC9.2** [SOC 2 Type II]
  - Auditors require repeatable evidence over an observation window: retain timestamped release SBOMs (CC8.1 change management), OSV/KEV scan logs + patch PRs (CC7.1 vulnerability management), and third-party open-source inventory (CC9.2).
- [ ] **FW-NTIA-14028 (HIGH) — Verify all 7 NTIA Minimum Elements (Supplier, Name, Version, PURL, Graph, Author, Timestamp)** [EO 14028 / NTIA]
  - Federal & regulated buyers reject flat dependency lists missing dependency relationships (`dependencies[]` in CycloneDX / `relationships[]` in SPDX) or SBOM `metadata.timestamp` / `authors`.
- [ ] **FW-CISA-KEV (CRITICAL) — Block builds with unpatched CISA KEV CVEs & track BOD 22-01/26-04 due dates** [CISA KEV SLA]
  - Treat CISA KEV matches as immediate P0 blockers (e.g., CVE-2026-111497 Google Brotli in Go manifests). Document fixed versions or compensating VEX controls.
- [ ] **DIST-ONPREM (CRITICAL) — Clear GPL-2.0/3.0, LGPL relinking & container base-OS SBOMs before customer delivery** [On-Prem / VPC Appliance]
  - Shipping self-hosted binaries or Helm/OCI containers constitutes distribution: review GPL/LGPL/MPL/EPL notice obligations and embed full OS + app SBOMs inside the OCI image.
- [ ] **ECO-GO (HIGH) — Enrich go.mod/go.sum with binary SBOM licenses & govulncheck/OSV gates** [Go Modules]
  - `go.mod` omits SPDX license metadata and SHA-256 archive hashes (`go.sum` stores custom `h1:` digests), and 7/8 Go repos in our benchmark carried OSV CVEs (2 with CISA KEV). Pair `govulncheck` with `syft` CycloneDX output.
- [ ] **ECO-DOCKER (HIGH) — Attach Buildx --sbom=true & digest-pinned Cosign attestations to OCI images** [Containers / OCI]
  - Base OS layers (`alpine`, `debian`) introduce CVEs missing from app lockfiles. Emit BuildKit SPDX attestations and scan `@sha256:` image digests with Syft/Trivy.

## Fast Verification & Dossier Export
- Free Zero-Upload SBOM & KEV Audit: https://sbom.runglab.dev
- $39 6-File SOC 2 & VSAQ/SIG Procurement Dossier (Creem): https://www.creem.io/product/prod_3fpeHbtnRsnuSxvU9s2oGg
- PayPal Invoice-on-Delivery ($39 single-repo / $79 multi-repo): [email protected]
- Official MCP Registry (`dev.runglab/devtools` -> `audit_sbom_manifest`): https://mcp-server.runglab.dev/mcp
- Empirical N=30 SBOM Benchmark: https://tools.runglab.dev/research/b2b-saas-sbom-supply-chain-benchmark-2026/
VendorReady SBOM · Zero Upload $39 SOC 2 Procurement Dossier

Turn Lockfiles & SBOMs Into Buyer-Ready SOC 2 & VSAQ Evidence

In our N=30 B2B SaaS SBOM Benchmark, 46.7% of open-core repos failed procurement gates (2/30 shipped CISA KEVs). Run a free zero-upload scan at sbom.runglab.dev, order the $39 6-File SOC 2 & VSAQ/SIG Dossier (Creem or PayPal invoice-on-delivery via [email protected]), or automate via Official MCP Server dev.runglab/devtools (audit_sbom_manifest).

Controls, Specifications & Procurement Evidence Matrix

Control / Requirement Target Standard / Mechanism Audit & Engineering Rationale
OSV CVE Hit Rate (N=30) 7 / 8 Go repos (87.5%, 172 CVEs) Commonly triggered by golang.org/x/net, golang.org/x/crypto & go.opentelemetry.io
CISA KEV Hit Rate (N=30) 2 / 8 Go repos (25.0%) Highlight & SigNoz (CVE-2026-111497 / GO-2026-6888 in indirect [email protected])
go.mod License & Hash Gap 0 hashes & 100% unknown licenses go.mod omits SPDX licenses; go.sum uses custom h1: dirhashes instead of SHA-256
Compliant Go SBOM Tool syft <binary> or cyclonedx-gomod Reads compiled debug/buildinfo + Go module cache to populate licenses & hashes

Run govulncheck + Emit Enriched Go Binary CycloneDX 1.6 SBOM

go-sbom-audit.sh
# 1. Check symbol-level reachability in Go codebase (reduces noise vs raw go.mod)
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...

# 2. Generate CycloneDX 1.6 SBOM from compiled Go binary + module cache (includes stdlib!)
cyclonedx-gomod app -json -licenses -assert-licenses -output go-app.cdx.json .

# 3. Verify go.mod integrity & zero unpinned drift
go mod verify

GitHub Actions — Go OSV + License Enrichment Gate

go-sbom-gate.yml
name: Go SBOM & Vulnerability Gate
on: [pull_request, push]
jobs:
  go-audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version: "1.24"
      - run: go mod verify && go build -o dist/server ./cmd/server
      - uses: anchore/sbom-action@v0
        with:
          path: dist/server
          format: cyclonedx-json
          output-file: dist/server.cdx.json

Key Engineering & Procurement Takeaways

  • Go's Minimal Version Selection (MVS) pins exact module versions cleanly in `go.mod`, giving static OSV scanners high visibility (7/8 = 87.5% CVE detection in our benchmark).
  • However, `go.mod` never records SPDX licenses or SHA-256 digests (`go.sum` uses Go-specific `h1:` tree hashes), causing 8/8 Go repos in our benchmark to register 100% unknown licenses and 0 SHA-256 hashes from raw manifest inspection alone.
  • Scanning the compiled Go binary with `cyclonedx-gomod -licenses` or `syft` captures both embedded Go stdlib CVEs (e.g. `stdlib` version) and resolved module licenses.

Common Deal-Blocking Pitfalls to Avoid

  • Sending a raw `go.mod` file to an enterprise buyer as your 'SBOM' — missing Go standard library version, SHA-256 hashes, and SPDX license expressions.
  • Ignoring `// indirect` Go modules — indirect packages like `github.com/andybalholm/brotli` or `golang.org/x/net` accounted for active CISA KEV and HIGH CVEs in our N=30 study.
  • Using `govulncheck` alone without exporting a machine-readable CycloneDX/SPDX SBOM for non-Go procurement portals.

More Enterprise SBOM & SOC 2 Procurement Guides

← Back to SBOM & SOC 2 Readiness Hub · 2026 N=30 SBOM Benchmark → · 14×14 SPDX License Matrix → · CycloneDX / Sigstore Validator → · VendorReady SBOM ($39 Dossier) →

Frequently Asked Questions

Why did Go repos account for both CISA KEV hits in RungLab's N=30 SBOM benchmark?

Go manifests pin exact indirect dependency versions (avoiding the floating-SemVer blindspot seen in package.json), so live OSV + CISA KEV matching surfaced real indirect vulnerabilities like CVE-2026-111497 (Google Brotli) immediately.

Does go.mod include the Go compiler / standard library version for CVE checks?

go.mod declares the `go` toolchain directive, while compiled Go binaries embed the exact buildinfo stdlib version — always generate your production SBOM from the built binary or via cyclonedx-gomod.

How can I audit my go.mod right now without installing CLI tools?

Drop your go.mod directly into sbom.runglab.dev (or run audit_sbom_manifest via dev.runglab/devtools MCP) for instant OSV GO-* / CVE / CISA KEV scoring and a downloadable SOC 2 remediation plan.