Skip to main content
subagent

supply-chain-security — Claude Code subagent: dependency audit

Reviews project dependencies for vulnerabilities, malicious packages, license conflicts, SBOM gaps, and third-party supply chain risk.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent security/supply-chain-security
Open on GitHub

What supply-chain-security does

This subagent maps direct and transitive dependencies, then checks them against CVE, GHSA, OSV, and NVD sources. It reviews lockfiles for loose versions, missing hashes, and unexpected changes. Package names that overlap with a public registry can expose a dependency confusion path.

It can guide SBOM work with CycloneDX or SPDX, inspect typosquatting and install scripts, and review GPL, MIT, Apache, and AGPL licensing concerns. Recommendations include ecosystem tools such as npm audit, pip-audit, cargo audit, govulncheck, bundler-audit, syft, and cdxgen. Findings are sorted into CRITICAL, HIGH, MEDIUM, and LOW tiers with a remediation command.

What it helps with

  • scan dependencies against vulnerability databases
  • spot malicious packages and unsafe install scripts
  • create an SBOM in CycloneDX or SPDX
  • verify lockfile pins and content hashes
  • review licenses across third-party components

Example prompts for the agent

  • Audit this project’s dependencies and group the findings by severity.
  • Review this package before I add it: check vulnerabilities, install scripts, and dependency confusion risk.
  • Generate an SBOM for my Python project and give me commands to scan it.

How to install supply-chain-security

1claude-code-templates

npx claude-code-templates@latest --agent security/supply-chain-security

2Manually: put the files in place

.claude/agents/supply-chain-security.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about supply-chain-security

How do I install supply-chain-security in Claude Code?

Run npx claude-code-templates@latest --agent security/supply-chain-security, then add .claude/agents/supply-chain-security.md.

What does supply-chain-security do?

It examines dependencies, lockfiles, licenses, SBOMs, and third-party component risks. The report uses CRITICAL, HIGH, MEDIUM, and LOW severity tiers and includes remediation commands.

Which lockfiles can the subagent inspect?

It covers package-lock.json, yarn.lock, poetry.lock, Cargo.lock, and go.sum, including version pins and content hashes.

Similar subagents

All subagents for Security →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor