/depscan:depscan-supply-chainfrom depscan
Audits software supply chain risks using dep-scan and cdx-audit: checks install scripts, CI workflow risk, dependency confusion, malicious packages, AI/MCP inventory, and provenance.
Ships in depscan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill when the question is about how the software is built and delivered rather than which advisories match. dep-scan's own supply-chain check runs the package risk audit on the npm, PyPI and Cargo packages a scan finds; cdx-audit's rule packs are run directly because dep-scan does not run them yet, and each step below says so. The rules in reference/safety.md apply; in particular cdx-audit's predictive mode clones upstream repositories, which needs the user's consent, and the step says so before it runs.
| Setting | Value | When not set |
|---|---|---|
| Vulnerability database directory | ${user_config.vdb_home} | dep-scan's own default |
| Vulnerability database flavor | ${user_config.vdb_flavor} | the dep-scan default |
| cdxgen command | ${user_config.cdxgen_cmd} | the cdxgen on PATH |
depscan scan /absolute/path/to/project --checks supply-chain --format json -o /absolute/path/to/reports
The risk audit reads the npm, PyPI and Cargo packages of the scan,
whatever the project type, and looks each one up in its public registry,
so it needs the network. When the scan carries none of those packages the
manifest's risk stage is not-assessed with that reason, which is not
clean; a skipped stage means the check was not requested. Malicious packages (MAL- advisories)
match through the vulnerability database when the database carries them;
depscan vdb info --format json shows the flavor and whether it does.
This runs cdx-audit directly because dep-scan does not run the rule packs yet. cdx-audit ships with cdxgen.
CDXGEN_SECURE_MODE=true cdxgen --no-install-deps \
-o /absolute/path/to/bom.json /absolute/path/to/project
cdx-audit --bom /absolute/path/to/bom.json --direct-bom-audit \
--report json -o /absolute/path/to/audit.json
Always pass --direct-bom-audit: without it, cdx-audit runs its
predictive mode, which is the default. The predictive mode clones the
upstream repositories of the BOM's packages to compare what you ship
against what upstream publishes. It is the stronger audit, and it runs
network clones of third-party code, so it needs the user's consent in the
conversation, with the clone count stated first.
The report carries auditMode and, per input, the findings with rule ids
and severity. In direct mode every category applies unless
--categories narrows it. Exit code 3 means a target reached
--fail-severity (default high); it is a result, not a failure to
retry.
The categories that matter, by question: install scripts and integrity
(package-integrity), where a dependency comes from
(dependency-source), CI workflow permissions and untrusted input
(ci-permission), build reproducibility (build-fidelity), MCP server
configurations (mcp-server), agent and model inventory (ai-agent,
ai-governance, ai-oversight, ai-provenance), language evidence
(golem-security, go-security, cargo-security, php-security,
scala-security), cryptography (cbom-security), and browser or editor
extensions (vscode-extension, chrome-extension).
For the model, server and skill inventory itself, use cdxgen's ai-bom
skill (this plugin names it rather than repeating its guidance). The two
project types it starts from:
CDXGEN_SECURE_MODE=true cdxgen -t mcp --no-install-deps \
-o /absolute/path/to/mcp-bom.json /absolute/path/to/project
CDXGEN_SECURE_MODE=true cdxgen -t ai-skill --no-install-deps \
-o /absolute/path/to/skills-bom.json /absolute/path/to/project
Then cdx-audit --bom <file> --direct-bom-audit --categories mcp-server,ai-agent --report json audits what they found.
Where the registry records npm provenance or PyPI attestations, cdxgen's evidence properties carry them; report per ecosystem how many components had provenance, had none, or could not be checked. A missing attestation is a finding about the supply chain's transparency, not proof of tampering.
The audit proves what the rules matched in the BOM and CI files the run read. It does not prove the pipeline is safe: a category that had no findings on an ecosystem cdx-audit does not cover is not assessed, and predictive results are a hypothesis about upstream, not a statement about the artifact you were given. Name rule ids, and say which categories ran.
/depscan:depscan-vdbdepscan-vex-complianceWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
supply-chain, dependency-audit, malicious-packages, ci-risk, bom
npx claudepluginhub owasp-dep-scan/dep-scan --plugin depscan14 skills in this plugin
/depscan-attack-surfaceMaps what an application exposes: it groups the entry points, authentication state and trust zones that dosai, golem, rusi and kosi report into exposure tiers with atom-tools, and answers which anonymous endpoints reach which vulnerable packages. Use when asked what is exposed, what the attack surface is, which endpoints are anonymous, or what a finding can reach from outside./depscan-binaryReviews executables, installers and drivers with blint: the security review with hardening and behaviour rules, per-architecture metadata, component identification, and Windows driver and Authenticode analysis. Use when asked to analyse a binary, check a driver, review an installer, inspect an ELF or Mach-O, or answer whether a binary is safe to ship. Component identification at scale needs blintdb, which is a tens-of-gigabytes download and only runs with the user's consent./depscan-change-riskReports what changed between two dep-scan scans, builds or source revisions and whether it made things worse: the MCP diff_scans tool or a fresh scan pair for findings, dosai diff for .NET data-flow deltas, atom-tools drift for flow-level risk deltas with a pass or fail gate, and blint diff for binary hardening regressions. Use for pull-request and release questions such as "did this change add exposure", "what new findings did this introduce", or "did the new build lose hardening"./depscan-container-imageScans a container image reference, an exported rootfs directory or an image tarball with OWASP dep-scan and reports the CVEs in the image's packages. Use when asked to scan a docker or OCI image for vulnerabilities, audit an alpine, debian or redhat base image, check a rootfs, or when a container scan came back empty and the cdxgen version needs checking. Load it before writing any container depscan command./depscan-coverage-loopRuns the dep-scan coverage loop, which scans, reads depscan doctor and the scan manifest's stages that did not complete, fixes the missing tool, database flavor or option each one names, and re-scans until coverage stops improving. Use when a scan came back empty or partly not assessed, when depscan doctor reports a missing tool or an unavailable capability, or when the user asks to make dep-scan coverage complete on this machine. Runs only when the user asks for it, because it installs dep-scan's own tools and data./depscan-cryptoBuilds the cryptographic inventory and its reachability across the toolchain: golem crypto findings (insecure TLS verification, literal key material), rusi cryptos, dosai crypto with its record-level reach and CBOM, atom-tools crypto-reach joining crypto assets to entry points, and trustinspector certificate and SPKI hashes for container trust. Use when asked what cryptography a project uses, whether weak algorithms are reachable, whether TLS verification is disabled anywhere, or how ready the code is for post-quantum migration.Other plugins' skills for the same job