skills/team/supply-chain-audit/SKILL.md
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.
npx skillsauth add michaelalber/ai-toolkit supply-chain-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"Trust, but verify -- and in software supply chains, verify everything twice." -- Tanya Janca, Alice and Bob Learn Application Security
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:
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."
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.
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.
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.
<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>
| Template | Required Fields | |----------|----------------| | Vulnerability Report | Project, 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 Report | Project, Distribution Model, Project License; License Summary table (License / Count / Compatibility / Action); Findings Requiring Review (Package / License / Issue / Risk / Recommendation) | | Maintenance Health Report | Project, 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
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:
development
Interviews the user relentlessly about a plan, decision, or idea — one question at a time, each with a recommended answer. Shared engine behind "grill-me" and "grill-with-docs". Use on any "grill" trigger phrase or to stress-test thinking. Do NOT use to build the plan; it ends at shared understanding, not implementation.
testing
Runs a relentless interview to sharpen a plan or design, capturing the decisions as ADRs and a glossary along the way. Use when the user wants to be grilled AND wants the session to leave durable domain documentation behind. Do NOT use for a throwaway stress-test with no artifacts; use grill-me instead.
tools
OWASP-based security review of Vue/TypeScript front-ends. Detects framework (Vite/Vue CLI/Nuxt), entry points, and data flows; scans the OWASP Top 10 (2025) mapped to Vue client-side risks (raw-HTML XSS via v-html, URL/protocol injection, bundled secrets, insecure token storage, dependency CVEs, missing CSP, open redirects, router guard bypass); emits an exec summary plus graded findings. Use to audit Vue for vulnerabilities. Not for architecture grading (vue-architecture-checklist).
tools
Analyzes legacy Vue codebases and produces actionable modernization plans. Primary migration paths include Options API to Composition API, Vue 2 to Vue 3, Vue CLI to Vite, JavaScript to TypeScript, Vue Test Utils/Karma/Mocha to Vitest + Vue Testing Library, legacy Vuex to Pinia, and removed-in-Vue-3 pattern cleanup (filters, event bus, `$listeners`). Does NOT perform the migration — assesses, quantifies risk, and plans.