/depscan:depscan-coverage-loopfrom depscan
Runs a loop that scans with dep-scan, checks doctor for missing tools/capabilities, installs what's needed, and re-scans until coverage is complete or stalls.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The user asked for this skill by name or asked to fix dep-scan's coverage directly. The loop fixes the environment dep-scan runs in: it installs dep-scan's own tools and data (a newer cdxgen, a database flavor, an analyzer) and re-scans. It never installs the scanned project's dependencies, never runs the project's build scripts, and never edits the project. Each install is a state change: name what you will install and why, and wait for the user's consent unless the instruction to run this loop already covers it. The rules in reference/safety.md apply, in particular that a stage that did not run is reported as not assessed, never as clean.
| Setting | Value | When not set |
|---|---|---|
| Vulnerability database directory | ${user_config.vdb_home} | dep-scan's own default |
| cdxgen command | ${user_config.cdxgen_cmd} | the cdxgen on PATH |
| Vulnerability database flavor | ${user_config.vdb_flavor} | the dep-scan default |
for iteration in 1..5:
read the machine's state with:
depscan doctor --format json
for each capability whose status is "unavailable":
its "missing" list names requirements such as "tool:cdxgen" or
"data:vdb"; look each tool up in "tools" by name and read its
"reason" and "minVersion"; fix it under the consent rule above
for each capability whose status is "not-implemented":
report it with its "issue" link; there is nothing to fix here
read the target's stages with:
depscan scan /absolute/path/to/target --checks all --format json -o /absolute/path/to/reports
for each manifest stage whose status is not "completed", and each
stage missing after one that stopped the run:
the stage's reason names what was missing; report it as not
assessed, and fix it under the consent rule above
if every stage that applies to the target is completed, and doctor
reports no unavailable capability the user cares about:
STOP - success: coverage complete for this target
if this iteration changed nothing (same doctor state, same stages):
STOP - stalled: report what is still missing and why
if every remaining gap is not-implemented or not applicable:
STOP - nothing further available on this machine
if a fix needs the user's consent and they declined:
STOP - blocked: report the fix that would have helped
STOP - budget exhausted; report the stages and capabilities still missing
--checks all runs every check that can run and records the others as not
assessed, instead of refusing with exit 4 the way a named check does.
The reasons come from dep-scan's own output, and the fixes are theirs to read, not guesses:
| dep-scan says | Fix |
|---|---|
A tools entry for cdxgen with version below minVersion (13.8.0), or reason "not found on PATH" | Install a new enough cdxgen (npm install -g @cdxgen/[email protected] or newer), or install it into a prefix and export CDXGEN_CMD pointing at it. A prefix install is the reversible choice. The default auto engine uses CDXGEN_CMD or a new enough cdxgen on PATH before the container image, so the re-scan tests the local install. |
A capability unavailable with missing: ["tool:cdxgen"] | The same cdxgen fix; reachability needs 13.8.0 or newer. |
| The database flavor lacks distro advisories (apk, deb, rpm) | depscan vdb download --flavor full, with the consent rule. |
The risk stage skipped with the risk audit was not requested | Not a defect: the supply-chain check was not asked for. Add --checks supply-chain only if the user wants it. |
The risk stage not-assessed because the scan has no npm, PyPI or Cargo packages | Not fixable on this machine: the risk audit reads only those ecosystems. Report it as not assessed. |
A capability not-implemented | Nothing to fix on this machine; the capability is dep-scan's backlog. Report it with its issue link. |
Any other tool whose version is null | Its reason names the tool and how dep-scan looks for it; install it with consent, or tell the user which analysis stays not assessed without it. |
Rules for executing a fix: one fix per gap per iteration, name the command before running it, install into a prefix or the dep-scan environment rather than system-wide where a choice exists, and never install, build or run anything from the scanned project.
Judge every fix by the next depscan doctor --format json and the next
scan manifest, never by the install command's exit code. A fix that leaves
the doctor state unchanged is recorded as no-change and not retried at the
same target.
Three more signals tell the loop whether the analysis itself was complete, beyond the stages:
sbom-fidelity-loop skill, which grades each ecosystem
(resolved, lockfile, manifest, heuristic, absent) and ranks fixes; a
manifest tier on an ecosystem means the BOM carried direct
dependencies only, which caps what the matching stage can see.--parse-report: when a run produced one, the files it lists
were not fully read, and their defects and usages are not assessed.Analysis-Coverage.json (blint 4.0.0 or newer): for binary
and app targets it names what blint could not analyse. A scan with the
binary check writes it under analysis/blint/; with an older blint 3.2.x
it is absent, and binary coverage is then unknown.Each of these is a coverage fact about the run, not a defect in the project; carry them into the final report as not-assessed entries with their reason.
A completed loop proves that, on this machine, the target's stages all ran and the capabilities the user cares about are available. It does not prove the findings are complete beyond the database's date, and a capability that is "not implemented in this version" stays not assessed; say so in the final report.
depscan-triage/depscan:depscan-vdbWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-riskOther plugins' skills for the same job