agentleFS
michaelalbermichaelalber/ai-toolkit/skills/supply-chain-audit/SKILL.md

supply-chain-audit

Skill3 starsChanged 4 months agoMITView on GitHub

Software supply-chain vulnerability scanning, license-compliance analysis, and CVE correlation across NuGet, npm, and pip — with vulnerability-DB references, scanning-tool guidance, CVSS severity interpretation, and license-compatibility matrices. Also performs NuGet package security reviews with manager-friendly executive summaries. Use to audit package dependencies, scan for vulnerabilities, check license compliance, or assess supply-chain security.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the ecosystem scanners (NuGet, npm, pip, yarn, pnpm), map each finding to CVSS severity, then adjust raw CVSS for contextual risk — …

    line 36
  2. Distinctive:

    Objective: Verify all dependency licenses are compatible with the project's distribution model.

    line 46

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Supply Chain Audit

"Trust, but verify -- and in software supply chains, verify everything twice." -- Tanya Janca, Alice and Bob Learn Application Security

Core Philosophy

Software supply chain security is not about avoiding dependencies -- it is about understanding the trust decisions you make with every install, add, or restore command. Every dependency is a delegation of trust: you are trusting that the package author writes secure code, that the registry has not been compromised, that no one has published a malicious version, and that the transitive dependencies you never chose are equally trustworthy.

The three pillars of supply chain audit:

  1. Vulnerability Scanning -- Are any dependencies known to be vulnerable? Which CVEs apply? Are the vulnerable code paths reachable?
  2. License Compliance -- Are the licenses compatible with the project's distribution model? Are there copyleft licenses that require source disclosure?
  3. Maintenance Health -- Are dependencies actively maintained? Are security issues being addressed? Is the package at risk of abandonment?

The 10 domain principles, the knowledge-base lookup table and search protocol, the AI discipline rules, the anti-pattern catalog, and the error-recovery procedures live in references/vulnerability-sources.md under "Audit Methodology & Discipline."

Workflow

Phase 1: Vulnerability Scan

Objective: Identify all dependencies with known CVEs.

Run the ecosystem scanners (NuGet, npm, pip, yarn, pnpm), map each finding to CVSS severity, then adjust raw CVSS for contextual risk — reachability (is the vulnerable code path invoked?), exposure (internet-facing vs. internal vs. air-gapped), data sensitivity (PII, financial, credentials), exploitability (public exploit available?), and compensating controls (WAF, network segmentation). Never report raw CVSS as project risk.

Scanner commands + CVSS severity table + contextual-risk factors: references/vulnerability-sources.md.

Phase 2: License Compliance

Objective: Verify all dependency licenses are compatible with the project's distribution model.

Detect licenses, classify by category (permissive / weak copyleft / strong copyleft / proprietary / unknown), and flag genuine incompatibilities against the actual distribution model — a GPL-3.0 dependency may be acceptable in SaaS but a compliance failure in shipped desktop software.

License detection commands + classification matrix: references/license-matrix.md.

Phase 3: Maintenance Health

Objective: Assess the ongoing viability and security responsiveness of each dependency.

Evaluate health indicators (last release, open security issues, contributor count, repository status) and present them with evidence, not judgment — state the dates and counts, let the human draw the conclusion.

Health-indicator thresholds + check commands: references/vulnerability-sources.md.

State Block

<supply-chain-state>
mode: scan | license | health | report
project_path: [absolute path to project root]
ecosystems: [NuGet, npm, pip, etc.]
dependencies_scanned: [count]
cves_found: [count]
license_issues: [count]
health_concerns: [count]
last_action: [what was just completed]
next_action: [what should happen next]
</supply-chain-state>

Output Template

TemplateRequired Fields
Vulnerability ReportProject, Scan Date, Scanners Used; Critical Findings table (CVE / Package / Installed / Fixed In / CVSS / Reachable / Contextual Risk); per-CVE detail (Reachability Analysis, Contextual Risk, Rationale, Remediation)
License Compliance ReportProject, Distribution Model, Project License; License Summary table (License / Count / Compatibility / Action); Findings Requiring Review (Package / License / Issue / Risk / Recommendation)
Maintenance Health ReportProject, Direct Dependencies count; Health Summary table (Status / Count / Packages); per-concern detail (Last Release, Open Issues, Contributors, Status, Risk, Recommendation, Alternatives)

Full templates: references/vulnerability-sources.md | references/license-matrix.md | references/nuget-security-review.md

NuGet-Specific Review

For .NET projects, this skill produces management-ready reports combining update analysis with security findings. Use for "review NuGet packages", "audit .NET dependencies", preparing compliance/management reports, periodic security reviews, or onboarding to an existing .NET codebase.

Process: locate all .csproj files → dotnet list package --outdated (updates) → dotnet list package --vulnerable (security) → generate the two-part report: Part 1 Packages Requiring Updates (executive summary, update table, package-by-package business impact), Part 2 Security Vulnerabilities (executive summary, vulnerability table, plain-language risk), plus Recommendations categorized by urgency (immediate / scheduled / monitor).

Key references:

  • Report template and review commands: references/nuget-security-review.md
  • Severity classification and priority matrix: references/nuget-severity-guidelines.md
  • Executive summary templates: references/nuget-executive-summary-templates.md
  • Vulnerability databases and scanning tools: references/vulnerability-sources.md
  • License compatibility matrix: references/license-matrix.md

Integration with Other Skills

  • dependency-mapper -- use to understand structural implications of dependencies before auditing. Coupling metrics reveal which dependencies are most deeply embedded and hardest to replace.
  • technical-debt-assessor -- outdated packages, license risks, and abandoned dependencies are quantifiable debt items with cost-to-fix and cost-to-carry.
  • security-review-trainer -- supply chain vulnerabilities (OWASP A06:2021) from a code review perspective; this skill covers them from a dependency audit perspective.
  • architecture-review -- dependency choices are architectural decisions that constrain the system's evolution.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.