Cluster 8 · License Compliance · AGPL-3.0 · GPL · MPL-2.0

AGPL-3.0, GPL & Weak Copyleft Risk in B2B SaaS vs. On-Prem Distribution

How enterprise legal teams evaluate AGPL-3.0 network-interaction triggers, GPL-2.0/3.0 binary distribution, and LGPL/MPL/EPL weak copyleft during SaaS and on-prem M&A or procurement diligence.

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.
Elevated Security Review
70 / 100 (C)
CONDITIONAL — CLOSE GAPS BEFORE AUDIT

Passing: 6 · Action Items: 4 · Frameworks: 2 · 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 PASS
[SBOM Artifacts] Machine-readable SBOMs with canonical `pkg:` PURLs and SHA-256 integrity digests are ready for buyer security portals.
SBOM-CORE-03: Enforce OSV / CVE & CISA KEV remediation SLAs before release PASS
[Vulnerability & KEV Gate] OSV + CISA KEV triage gate active. Archive remediation timestamps and VEX/exception tickets for SOC 2 CC7.1 auditors.
SBOM-CORE-04: Screen transitive dependencies for AGPL/GPL copyleft & NOASSERTION gaps HIGH 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 MEDIUM 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 PASS
[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-VSAQ-SIG: Pre-package VSAQ / SIG Lite open-source inventory & copyleft attestation HIGH ACTION
[VSAQ / SIG Lite] Enterprise buyers ask whether you maintain a complete FOSS bill of materials, patch critical CVEs within SLA, and prohibit unapproved copyleft components. Pair a CycloneDX SBOM with pre-filled VSAQ/SIG answers.
DIST-SAAS: Audit network-interaction copyleft triggers (AGPL-3.0 / SSPL) HIGH ACTION
[Cloud SaaS Distribution] While GPL-2.0/3.0 typically triggers on binary distribution, AGPL-3.0 requires source disclosure over network interaction — flagged in SaaS PDF/document stacks like mupdf (AGPL-3.0-or-later).
ECO-NPM: Audit resolved package-lock.json / pnpm-lock.yaml — never bare package.json PASS
[Node.js / npm] Ensure `package-lock.json` integrity hashes are intact and generate CycloneDX (`@cyclonedx/cyclonedx-npm`) from lockfiles to surface transitive MPL-2.0/EPL-2.0/AGPL-3.0 packages.
ECO-PYTHON: Pin Python requirements with --require-hashes or uv.lock + generate SPDX/CDX PASS
[Python / PyPI] Plain `requirements.txt` lacks transitive graphs and SHA-256 digests. Compile with `pip-compile --generate-hashes` or `uv lock`, and export SBOM via `cyclonedx-py` or `syft`.
Exportable Procurement Readiness Checklist (Markdown)
# Enterprise SBOM & SOC 2 Procurement Readiness Checklist — Commercial SaaS Product

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

- **Readiness Score:** 70/100 (Grade C) — **CONDITIONAL — CLOSE GAPS BEFORE AUDIT**
- **Buyer Friction Risk:** Elevated Security Review
- **Target Frameworks:** VSAQ / SIG Lite, SOC 2 Type II
- **Language Ecosystems:** Node.js / npm (package-lock.json), Python / PyPI (requirements.txt / uv.lock)
- **Distribution Model:** Cloud SaaS (Hosted Multi-Tenant Web / API)
- **Controls Summary:** 6 Passing / 4 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.
- [x] **SBOM-CORE-02 (CRITICAL) — Emit CycloneDX 1.5/1.6 or SPDX 2.3 JSON with PURLs & SHA-256 digests** [SBOM Artifacts]
  - Machine-readable SBOMs with canonical `pkg:` PURLs and SHA-256 integrity digests are ready for buyer security portals.
- [x] **SBOM-CORE-03 (CRITICAL) — Enforce OSV / CVE & CISA KEV remediation SLAs before release** [Vulnerability & KEV Gate]
  - OSV + CISA KEV triage gate active. Archive remediation timestamps and VEX/exception tickets for SOC 2 CC7.1 auditors.
- [ ] **SBOM-CORE-04 (HIGH) — 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 (MEDIUM) — 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.
- [x] **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-VSAQ-SIG (HIGH) — Pre-package VSAQ / SIG Lite open-source inventory & copyleft attestation** [VSAQ / SIG Lite]
  - Enterprise buyers ask whether you maintain a complete FOSS bill of materials, patch critical CVEs within SLA, and prohibit unapproved copyleft components. Pair a CycloneDX SBOM with pre-filled VSAQ/SIG answers.
- [ ] **DIST-SAAS (HIGH) — Audit network-interaction copyleft triggers (AGPL-3.0 / SSPL)** [Cloud SaaS Distribution]
  - While GPL-2.0/3.0 typically triggers on binary distribution, AGPL-3.0 requires source disclosure over network interaction — flagged in SaaS PDF/document stacks like mupdf (AGPL-3.0-or-later).
- [x] **ECO-NPM (MEDIUM) — Audit resolved package-lock.json / pnpm-lock.yaml — never bare package.json** [Node.js / npm]
  - Ensure `package-lock.json` integrity hashes are intact and generate CycloneDX (`@cyclonedx/cyclonedx-npm`) from lockfiles to surface transitive MPL-2.0/EPL-2.0/AGPL-3.0 packages.
- [x] **ECO-PYTHON (MEDIUM) — Pin Python requirements with --require-hashes or uv.lock + generate SPDX/CDX** [Python / PyPI]
  - Plain `requirements.txt` lacks transitive graphs and SHA-256 digests. Compile with `pip-compile --generate-hashes` or `uv lock`, and export SBOM via `cyclonedx-py` or `syft`.

## 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
AGPL-3.0-or-later (Strong Network) CRITICAL risk even in Cloud SaaS Section 13 triggers source disclosure for remote network users; spotted in mfts/papermark (mupdf)
GPL-2.0-only / GPL-3.0-only CRITICAL on On-Prem / Embedded Copyleft propagates across combined/linked works upon customer binary distribution
LGPL-3.0-only / MPL-2.0 / EPL-2.0 CONDITIONAL (Weak Copyleft) Seen in 6/30 (20.0%) benchmarked repos (lightningcss, axe-core, elkjs, @img/sharp); preserve notices & relink boundaries
Unknown / NOASSERTION MEDIUM Review Blocker 3,678 / 11,445 (32.1%) components lacked SPDX metadata in raw N=30 manifest scans

CI Copyleft Allowlist Check (Block AGPL / GPL Before Merge)

license-policy-gate.sh
# Extract & fail CI if strong-copyleft licenses enter production lockfile SBOM
syft dir:. -o cyclonedx-json=sbom.cdx.json
jq -e '
  [.components[]? | {name, version, lic: ([.licenses[]?.license.id // .licenses[]?.expression // "UNKNOWN"] | join(","))}
   | select(.lic | test("AGPL|GPL-2\.0|GPL-3\.0|SSPL"; "i"))
   | select(.lic | test("LGPL"; "i") | not)]
  | if length > 0 then error("Blocked strong-copyleft deps found: " + tostring) else "OK" end
' sbom.cdx.json

Check Directional Pairwise Compatibility in RungLab Matrix

check-spdx-matrix.txt
# Evaluate directional compatibility (Dependency -> Your Project License):
# - Apache-2.0 dependency into GPL-2.0 project: INCOMPATIBLE
# - Apache-2.0 dependency into GPL-3.0 project: COMPATIBLE
# - MPL-2.0 dependency into proprietary/MIT work: CONDITIONAL (file-level scope)
# - AGPL-3.0 dependency into SaaS/commercial work: HIGH/CRITICAL network-copyleft risk
# Full 14x14 interactive matrix: https://tools.runglab.dev/licenses/

Key Engineering & Procurement Takeaways

  • In RungLab's N=30 open-core B2B SaaS SBOM benchmark, 100% of lockfile-resolved npm repositories (6/6) carried weak-copyleft dependencies (MPL-2.0 in lightningcss/axe-core, EPL-2.0 in elkjs, LGPL-3.0-or-later in @img/sharp) and 1/30 (mfts/papermark) shipped AGPL-3.0-or-later via mupdf.
  • Many SaaS teams rely on 'we don't distribute binaries' to ignore GPL, forgetting that AGPL-3.0 explicitly closes the SaaS loophole via Section 13 network interaction — AND enterprise buyers may later require VPC/self-hosted deployment.
  • Always evaluate compatibility directionally (Dependency -> Combined Product), never as a symmetric yes/no.

Common Deal-Blocking Pitfalls to Avoid

  • Assuming a permissive top-level package.json guarantees permissive transitive dependencies — native bindings (mupdf, sharp/libvips, CSS/diagram tools) frequently carry AGPL/LGPL/EPL.
  • Ignoring dual-licensed expressions like `Apache-2.0 AND LGPL-3.0-or-later` (conjunctive AND requires complying with BOTH, unlike disjunctive OR).
  • Relying solely on raw go.mod or requirements.txt without SBOM license enrichment (100% unknown licenses in our benchmark).

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

Does an AGPL-3.0 transitive npm dependency automatically force me to open-source my SaaS?

Whether AGPL-3.0 triggers depends on technical integration, modification, and network interaction boundaries — it is a top M&A and enterprise procurement blocker that requires prompt engineering isolation or qualified legal review (informational guidance, not legal advice).

Are MPL-2.0 and EPL-2.0 safe for proprietary B2B SaaS?

MPL-2.0 (file-level) and EPL-2.0 (module-level) are weak copyleft licenses commonly accepted in commercial software when their modified files remain under MPL/EPL and required notices/source offers are preserved — verify your distribution model with counsel.

Where can I check directional license rules and scan my whole lockfile?

Use our 14x14 directional SPDX License Matrix (/licenses/) for pair rules, and scan your full lockfile on sbom.runglab.dev to export a License Matrix CSV.