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.
[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 provenanceMEDIUM ACTION
[Artifact Provenance] Attach keyless GitHub Actions OIDC Cosign signatures (`id-token: write`) and SLSA provenance so buyers can verify SBOM integrity.
[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 attestationHIGH 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.
[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.jsonPASS
[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/CDXPASS
[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`.
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).
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.
How B2B SaaS engineering teams satisfy AICPA SOC 2 Type II auditors across CC7.1 vulnerability monitoring, CC8.1 release change management, and CC9.2 vendor supply-chain risk using automated SBOMs.
Concrete engineering answers and evidence templates for Google VSAQ, Shared Assessments SIG Lite, and CSA CAIQ questionnaire sections covering SBOMs, third-party CVE SLAs, and copyleft governance.
Which SBOM format do Fortune 500 InfoSec teams, legal departments, and US/EU regulators prefer? Practical procurement tradeoffs between CycloneDX 1.5/1.6 and SPDX 2.3 (ISO/IEC 5962).
Vulnerability ManagementCISA KEV · BOD 22-01/26-04
How to operationalize CISA Known Exploited Vulnerabilities (KEV) gating, BOD 22-01/26-04 remediation deadlines, and VEX non-affected justifications before enterprise buyer audits.
Engineering preparation for EU CRA Annex I technical obligations: machine-readable top-level SBOMs, security update tracking across the support lifecycle, and 24h/72h ENISA reporting workflows.
Exact breakdown of the 7 NTIA SBOM Minimum Elements data fields, automation support requirements, and how to stop NOASSERTION and missing PURLs from failing federal/regulated vendor reviews.
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.