/depscan:depscan-scanfrom depscan
Scans a source repository with OWASP dep-scan for dependency vulnerabilities and license issues. Reports findings, coverage stages, and exit codes. Use for CVE checks, CI integration, or reading scan manifests.
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 for the common case: a user wants to know what is vulnerable
in a repository or directory. For container images and rootfs directories
use depscan-container-image; to read an existing scan back and explain its
findings use depscan-triage; when the environment is missing tools or data,
suggest that the user run /depscan:depscan-coverage-loop.
The rules in reference/safety.md apply to every command this skill produces, including commands that are only shown to the user. In particular: absolute paths, never run the scanned project's build scripts or installs, and a clean result must be earned from the manifest.
Claude Code replaces the ${user_config.*} values in this table with the
options the user set for the plugin. Other clients show the text as written.
A value counts as set only when it is not empty and does not start with ${;
otherwise ignore it and follow the "When not set" column. The settings hold
no keys or tokens.
| Setting | Value | When not set |
|---|---|---|
| Vulnerability database directory | ${user_config.vdb_home} | dep-scan's own default |
| Vulnerability database flavor | ${user_config.vdb_flavor} | dep-scan's own default |
| cdxgen command | ${user_config.cdxgen_cmd} | the cdxgen on PATH (dep-scan needs 13.8.0 or newer) |
| Preferred runtime | ${user_config.runtime} | the depscan on PATH |
A set database directory is exported as VDB_HOME; a set flavor is passed
as --vdb-flavor (a flavor other than the local one triggers a download,
see Step 1); a set cdxgen command is exported as CDXGEN_CMD, which the
default auto engine then uses before it considers the cdxgen container
image.
CDXGEN_SECURE_MODE=true depscan scan /absolute/path/to/project --format json -o /absolute/path/to/reports
The target is optional and defaults to the current directory, but always
pass it explicitly; -o names the reports directory the scan manifest,
findings document and BOM land in. --format json makes the verb write one
JSON document to stdout: {"scans": [entry, ...]}, one entry per target,
each with target, kind, scanDir, manifest and findings. Logs and
tables go to stderr. CDXGEN_SECURE_MODE=true keeps cdxgen from running
package managers or builds; dep-scan sets it by itself only for git URLs
and purls, so keep it for any local project the user has not vouched for.
depscan vdb info --format json
depscan config show --format json
A scan downloads the vulnerability database by itself when it is missing,
older than 48 hours, or of a different flavor (full is gigabytes). When
vdb info shows that a download would follow, tell the user before
scanning, or add --profile offline to scan against the database as it is.
config show prints the effective options and where each came from. A
source scan also lets golem fetch Go modules unless
--go-analyzer-network offline is passed, and when no usable local cdxgen
exists (neither CDXGEN_CMD nor a cdxgen on PATH at the minimum version)
and docker is on PATH, the auto engine pulls the
ghcr.io/cdxgen/cdxgen image; say which applies.
CDXGEN_SECURE_MODE=true depscan scan /absolute/path/to/project --format json -o /absolute/path/to/reports
Exit codes to branch on:
/depscan:depscan-coverage-loop to the user.In CI, add --fail-on-error: without it a failed inventory degrades to
exit 0 with an empty result. --debug adds the debug log (for cdxgen too)
when a run goes wrong.
A scan that exits 0 with an empty findings list is not a clean project
until the manifest agrees. Check the manifest.stages entries first:
depscan report /absolute/path/to/reports --format json
Any stage whose status is not completed (failed, skipped,
not-assessed), and any stage missing after one that stopped the run,
means part of the analysis did not run; report "not assessed" with the
stage's reason rather than a clean result. depscan doctor --format json shows the same state
machine-wide.
# Vulnerabilities and license analysis only
depscan scan /absolute/path/to/project --checks vulnerabilities,license --format json -o /absolute/path/to/reports
# The CI profile: vulnerabilities and reachability, no explanations
depscan scan /absolute/path/to/project --profile ci --fail-on-error --format json -o /absolute/path/to/reports
# Every check that can run here; the others are recorded as not assessed
depscan scan /absolute/path/to/project --checks all --format json -o /absolute/path/to/reports
An explicitly named check, and every check a --profile implies, is gated:
if one cannot run on this machine the verb exits 4 before any scan work
(--profile ci exits 4 without a cdxgen of 13.8.0 or newer). all never
gates; checks that cannot run become not-assessed entries in the manifest.
| Checks value | What it adds |
|---|---|
vulnerabilities | Always runs. |
license | License analysis. |
reachability | Reachability enrichment; needs cdxgen 13.8.0 or newer. |
supply-chain | The supply-chain risk audit, for the project types it supports. |
binary, memory-safety, mobile, code, crypto | Present as names, but several are not implemented in this version and exit 4 with the reason. Probe with depscan doctor before promising one. |
all | Every check; the ones that cannot run are recorded, not refused. |
Other options worth knowing: --exclude-type <type> drops a detected
project type, --severity <level> limits the reported findings,
--private-ns <prefix> marks the user's own packages, --malware-only
looks for known malicious packages only, and several targets can be passed
in one run.
Profiles: quick (vulnerabilities only), ci, deep (adds license and
supply-chain with semantic reachability), research (deep plus cdxgen's
research BOM profile), offline (no database download, no remote cdxgen).
An explicit --checks list defines the whole optional set.
A completed scan proves that the matched packages carry the recorded
vulnerabilities as of the database date. It does not prove code is
reachable, that a finding is exploitable, or that a skipped stage found
nothing. Findings carry a coverage.state; say which findings were
assessed when summarising, and never upgrade "not assessed" into clean.
For a readable explanation of a finished scan use depscan-triage.
Offer the natural next step rather than stopping at the findings file:
depscan-triage/depscan:depscan-vdb/depscan:depscan-coverage-loopdepscan-vex-complianceWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dependency-scanning, vulnerability-scanning, owasp, cve, license-check
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