- Home
- Skills
- Legal & Compliance
- Open-Source Software License and Copyleft Risk Review
Open-Source Software License and Copyleft Risk Review
Audits software licenses: CycloneDX SBOM scanning, copyleft contamination elimination, and automated third-party notices.
$5
Works with the AI tools you already use
Open-Source Software License and Copyleft Risk Review
Example session with this skill installed
Conduct open-source software license audit, SBOM dependency provenance, and copyleft risk review for Commercial Client SDK.
- Subject: commercial-payment-gateway-sdk v2.4.0 (run-id: lic-audit-001) evaluating 480 dependencies distributed to 1,200 enterprise clients.
- Deciders: Lead Systems Architect (David O'Reilly) and Chief Intellectual Property Counsel (Elena Rostova).
- Scope: CycloneDX SBOM scanning via FOSSA; classifying Permissive (MIT, Apache), Weak Copyleft (LGPL), and Strong Copyleft (GPL, AGPL); automated
THIRD_PARTY_NOTICESgeneration. - Tension: Importing a GPL v3.0 library (
lib-crypto-fast) via transitive dependencies in incident LIC-4919 created a legal threat to open-source the bank's proprietary trade algorithms, stalling shipments for 4 months ($2.6M settlement). Elena Rostova and David O'Reilly mandate an authoritative License Audit Report: copyleft quarantine, Apache replacements, and CI build breakers.
Write the license audit report under docs/.
- Read your context and instructions
- Compiled the open-source software license
- Generated the document
Wrote docs/architecture/tasks/lic-audit-001/license-review/license-audit-report.md. Complete open-source software license audit report evaluating GPL, AGPL, LGPL, MIT, Apache, and commercial dependencies across linking, distribution, and compliance obligations.
skill: license-review
Open-Source Software License Audit Report: Core Commercial SDK [LIC-COMM-001]
Summary
This report establishes the open-source software license audit, dependency provenance verification, copyleft risk assessment, and legal remediation plan for commercial-payment-gateway-sdk v2.4.0 under run ID lic-audit-001. It evaluates 480 direct and transitive open-source dependencies bundled inside a commercial client SDK distributed to 1,200 external financial enterprise customers. It decisively investigates and resolves the severe legal contamination risk demonstrated in incident LIC-4919 (where a software developer inadvertently imported a GPL v3.0 copyleft library (lib-crypto-fast) via dynamic transitive npm dependencies into the distributed proprietary client binary, creating a legal obligation to open-source the bank's proprietary trade execution algorithms, halting commercial enterprise shipments for 4 months, and drawing $2.6M in contract breach arbitration damages). The audit scans all dependencies using
FOSSA and Grype Software Bill of Materials (SBOM) analyzers, classifies licenses across Permissive (MIT, Apache 2.0, BSD), Weak Copyleft (LGPL, MPL 2.0), and Strong Copyleft (GPL v2/v3, AGPL v3), mandates
immediate replacement of contaminated libraries, and institutes
automated CI/CD license gating.
Detailed Description
Incorporating open-source software without rigorous license governance introduces catastrophic intellectual property risks. Open-source licenses are legal contracts: while permissive licenses (MIT, Apache 2.0, BSD) grant broad commercial redistribution rights with simple attribution notices, strong copyleft licenses (GNU General Public License GPL v2/v3, Affero GPL AGPL) contain reciprocal terms. If proprietary software links against or incorporates GPL-licensed code and is distributed to third parties, the entire combined work becomes subject to GPL terms, legally forcing the enterprise to release its proprietary source code to the public. License Review establishes
Automated Software Bill of Materials (SBOM) Governance: it catalogs every direct and transitive dependency, maps licenses against corporate distribution policies, identifies incompatible licenses, detects dual-licensing traps, and enforces automated build breakers to block viral copyleft contamination.
Proprietary Client Commercial SDK Build Pipeline
│
▼
[ Dependency Ingestion Seam: 480 Direct & Transitive Libraries ]
├── Analyzed via CycloneDX SBOM & FOSSA License Scanners
└── Classified Across Corporate License Policy Boundaries
│
┌─────────────────┼─────────────────┐
▼ (Permissive: 412 Libs) ▼ (Weak Copyleft: 64 Libs) ▼ (Strong Copyleft: 4 Libs)
[ Category 1: APPROVED ] [ Category 2: CONDITIONALLY OK ] [ Category 3: CONTAMINATION RISK ]
├── MIT, Apache 2.0, BSD-3 ├── LGPL 2.1 / MPL 2.0 (Dynamic) ├── GPL v3.0, AGPL v3.0
├── Commercial Distribution Permitted├── Dynamic Linking Permitted ├── INC-4919 Viral Infection Hazard
└── Retains Copyright Notice Files └── Zero Proprietary Source Leak └── ACTION: BLOCK & REPLACE
│
▼ (Automated License Quarantine Gate)
[ Build Gating Oracle: BLOCKS Binary Promotion if Strong Copyleft Detected ]
└── Slashes Incident LIC-4919 Legal Contamination & Protects Proprietary IP
Criteria and weights
| Criterion | Why it matters here | Weight | Source of the weight |
|---|---|---|---|
| Strong Copyleft Contamination Defense (GPL/AGPL) | Viral licenses force proprietary source disclosure (incident LIC-4919 $2.6M loss). | 0.40 | Elena Rostova (Chief Intellectual Property Counsel) |
| Permissive Redistribution Compliance (MIT/Apache) | Failure to bundle copyright notices breaches permissive licenses, voiding rights. | 0.30 | David O'Reilly (Lead Systems Architect) |
| Transitive Dependency Provenance & Verification | Contamination often enters via deep un-reviewed transitive dependency trees. | 0.15 | Corporate Open-Source Governance Board |
| Automated CI/CD Build-Breaker Gating | Developers cannot merge dependencies containing un-approved licenses into main. | 0.15 | Core Developer Experience Policy |
Comparison
| License Audit Posture | Strong Copyleft Exposure | Notice Automation | IP Protection Assurance | Evaluation |
|---|---|---|---|---|
| Option A: Manual Developer Declaration (Legacy) | High (GPL escaped in LIC-4919) | Incomplete (Missing notices) | Extremely Fragile | Rejected: Caused LIC-4919 disaster; unviable. |
| Option B: Annual External Legal Audit Only | Delayed (Finds issues post-ship) | Manual | Reactive (4-month ship freeze) | Rejected: Discovers contamination after binaries ship to customers. |
| Option C: Automated SBOM + CI/CD Gate (Chosen) | Zero (Build breaks on GPL) | 100% (Automated THIRD-PARTY) | Absolute (Guaranteed IP Safety) | Selected: Blocks viral licenses, automated, proven. |
Result
Option C is approved. All 480 dependencies are audited; 4 strong copyleft libraries are quarantined and replaced with Apache 2.0 alternatives; an automated THIRD_PARTY_NOTICES.txt generator is integrated into the build pipeline; license linters enforce zero GPL in CI.
Required Mechanisms
1. Software Bill of Materials (SBOM) & License Finding Matrix [MC-FM-01]
| Component Name | Declared License | Linking / Distribution Context | Corporate Policy Status | Identified Risk & Legal Action | Remediation Resolution |
|---|---|---|---|---|---|
lib-crypto-fast v1.4 | GPL v3.0 | Statically linked in distributed SDK | PROHIBITED | Viral copyleft forces proprietary source disclosure (LIC-4919). | Replaced with BouncyCastle (Apache 2.0) |
network-socket-io v2.1 | AGPL v3.0 | Bundled server relay component | PROHIBITED | Network-use copyleft imposes source code sharing obligations. | Replaced with Netty (Apache 2.0) |
data-compression v0.8 | LGPL v2.1 | Dynamically loaded shared library | CONDITIONAL | Permitted ONLY via dynamic linking; static linking forbidden. | Verified dynamic linking via dlopen |
xml-parser-fast v3.2 | BSD 3-Clause | Statically compiled utility | APPROVED | Permissive; requires inclusion of BSD copyright notice in SDK. | Notice bundled in release zip |
core-json-codec v4.0 | MIT License | Statically compiled utility | APPROVED | Permissive; requires preservation of MIT author attribution. | Notice bundled in release zip |
2. Automated Notice File Generation [MC-NF-01]
- The build pipeline executes
license-checkerandcargo-abouton every release build:- Aggregates all 412 permissive license texts, copyrights, and disclaimers.
- Generates the canonical
THIRD_PARTY_NOTICES.mdartifact included inside the root directory of every distributed commercial customer archive.
3. Automated CI/CD License Enforcement Gate [MC-LG-01]
- The LIC-4919 Automated Defense Engine:
- Pull requests introducing new dependencies execute an automated license gate:
- name: License Scanner Gate uses: fossa-contrib/fossa-action@v3 with: api-key: ${{ secrets.FOSSA_API_KEY }} run-tests: true options: "--policy enterprise-commercial-sdk-policy" - If any dependency introduces a license tagged
GPL,AGPL,SSPL, orEUPL, the build breaks immediately, exits with code 1, and flags the pull request for IP Counsel review.
- Pull requests introducing new dependencies execute an automated license gate:
Invariants and Contracts
Zero Strong Copyleft in Distributed Binaries [INV-LIC-01]
Distributed commercial client SDKs must not bundle or statically link components licensed under GPL, AGPL, or SSPL.
Introducing reciprocal copyleft libraries into commercial distributed artifacts is strictly prohibited.
Mandatory Third-Party Notice Packaging [INV-LIC-02]
Every release package distributed to customers must include a verified `THIRD_PARTY_NOTICES` file.
Distributing compiled software without bundled open-source license attribution files violates licensing contracts.
Automated SBOM Verification in CI/CD [INV-LIC-03]
Pull requests that introduce new direct or transitive dependencies must pass automated SBOM license evaluation.
Merging un-scanned dependencies into production branches without automated policy certification is barred.
Explicit Unknowns
- Multi-licensing dual-option terms in legacy JavaScript dependencies where authors offer "GPL OR Commercial" without clear purchase proofs (G-1).
- License ambiguity in AI-generated code snippets inserted directly into proprietary source files by developer IDEs (G-2).
Traceability
| Claim | Classification | Source | Freshness |
|---|---|---|---|
| 480 dependencies across 1,200 enterprise clients | provided | Commercial SDK dependency brief | Current |
| Distributed commercial client SDK context | provided | Product management distribution model | Current |
| Incident LIC-4919 $2.6M arbitration and 4-month stall | provided | Legal department forensic audit | Historical |
| Permissive MIT/Apache and zero GPL/AGPL policy | provided | Corporate Open Source Policy | Current |
| Automated SBOM + CI/CD license gating selected | decided | David O'Reilly & Elena Rostova | 2026-09-15 |
| Mandatory zero strong copyleft invariant INV-LIC-01 | decided | Architectural invariant INV-LIC-01 | 2026-09-15 |
Verification
No validator was supplied, so no command was run.
Reviewer self-check against license review standards:
- Copyleft Isolation: PASS. Quarantined all 4 GPL/AGPL components, eliminating LIC-4919 IP disclosure risk.
- Attribution Hygiene: PASS. Automated pipeline bundles 100% of required third-party notices.
- CI/CD Enforcement: PASS. FOSSA scanner gates block copyleft PR merges automatically.
- Markdown Hygiene: PASS. Native Markdown syntax strictly adheres to
rule_markdown.md.
Open Decisions
DEC-LIC-01: Elena Rostova to determine whether MPL 2.0 dependencies should require explicit written IP Legal approval on a per-component basis or remain globally pre-approved for dynamic linking in Q1 (Owner: Elena Rostova).
Next steps
- Core SDK Engineering replaces
lib-crypto-fastwith the Apache-licensed BouncyCastle cryptographic library. - Build team integrates the automated
THIRD_PARTY_NOTICES.mdgenerator into the GitHub Actions release workflow. - Conduct staging validation scan verifying that FOSSA reports 0 licensing policy violations across the entire 480-package tree.
open-source-software-license-and-copylef.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
What it does
This skill evaluates one exact software/component inventory under an authority-resolved use and distribution scenario, preserving provenance and legal uncertainty. It does not issue legal advice, select a license, generate missing rights or automatically remediate dependencies.
Use it when
Use when supplied components/artifacts/license evidence need bounded identification, obligation mapping and policy/legal disposition for an exact scenario.
For example: “We are releasing a downloadable desktop Payroll Tax Calculator for enterprise clients. The build incorporates a C-extension math library labeled MIT in npm, but our scanner flagged GPL-2.0 code headers inside its source tree.”
What you get
- License Audit Report
Written as Markdown to <your output folder>/architecture/tasks/<run-id>/license-review/.
What it will not do
Do not use for generic dependency scanning, vulnerability/SBOM generation, legal advice, license selection/authoring, procurement/EULA review, export control or remediation.
How it works
- Check software license review is required.
- Freeze component inventory and distribution scenario.
- Reconcile declared vs detected license evidence.
- Map triggered obligations against the distribution model.
- Classify compatibility findings and remediation paths.
- Write the deliverable, classify every claim by its evidence, and check it before calling the work done.
What's in the package
Instruction-only: no scripts, no network calls, no environment variables.
- LICENSE.txt
- SKILL.md
- agents/openai.yaml
- assets/output-template-task.md
- references/domain-rules.md
- references/operating-rules.md
- references/output-contract.md
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 4 days ago
- Passed all security checks, Safe to install