# License Compliance Foss Audit

> Audits open-source software licenses across application dependencies to prevent viral copyleft GPL contamination. Use when verifying intellectual property and l

- Skill: `bishnucd/license-compliance-foss-audit` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishnucd/license-compliance-foss-audit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishnucd/license-compliance-foss-audit/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Bishnucd (https://skillmd.com/u/bishnucd)
- Updated: 2026-12-02
- Page: https://skillmd.com/skills/bishnucd/license-compliance-foss-audit

---

---
name: license-compliance-foss-audit
description: Audits open-source software licenses across application dependencies to prevent viral copyleft GPL contamination. Use when verifying intellectual property and legal license compliance.
license: MIT
metadata:
  author: Community List Maintainers
  version: "1.0.0"
  source: "https://spdx.org/licenses/"
---
# License Compliance Foss Audit

## Overview
Accidental inclusion of AGPL or strong copyleft libraries can legally obligate commercial software to open its source code. Automated audits flag incompatible or non-permissive licenses.

## Operational Workflow

1. **Extract SPDX license identifiers from all direct and transitive dependency packages.**:
   - Extract SPDX license identifiers from all direct and transitive dependency packages.

2. **Categorize detected licenses into Allowed (MIT, Apache-2.0, BSD), Warning, and Prohibited (AGPL-3.0, GPL-3.0).**:
   - Categorize detected licenses into Allowed (MIT, Apache-2.0, BSD), Warning, and Prohibited (AGPL-3.0, GPL-3.0).

3. **Generate audit reports flagging packages with missing or ambiguous license declarations.**:
   - Generate audit reports flagging packages with missing or ambiguous license declarations.

4. **Fail CI builds when prohibited copyleft licenses are introduced.**:
   - Fail CI builds when prohibited copyleft licenses are introduced.

## Recommended Tools & Environments
- license-checker
- Python / Node.js
- SPDX
- JSON

## Verification & Execution Criteria
- Pre-execution validation verifies all prerequisites and inputs.
- Step-by-step progress logging confirms intermediate state transitions.
- Post-execution checks verify output integrity and clean exit codes.

