/depscan:depscan-change-riskfrom depscan
Reports risk deltas between two dep-scan scans, builds, or source revisions using MCP diff_scans, dosai diff for .NET data-flow, atom-tools drift for flow-level risk, and blint diff for binary hardening regressions. Answers whether a change added exposure, introduced findings, or lost hardening.
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 there are two of something: two scan directories, two engine reports, two binaries. The question is always "worse, better, or unchanged, and where". The rules in reference/safety.md apply; a risk delta that rests on a stage that did not run is reported as not assessed, never as "no change".
| 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 |
When Claude Code offers the plugin's MCP tools, diff_scans compares two
scan directories and returns the added, fixed and changed vulnerability
pairs:
diff_scans(old_scan_dir=<old>, new_scan_dir=<new>)
Without the MCP server, produce two scans and compare the documents:
depscan scan /absolute/path/to/old-revision --format json -o /tmp/old-reports
depscan scan /absolute/path/to/new-revision --format json -o /tmp/new-reports
Read both manifests' stages first: a stage that is anything but
completed on one side makes the delta for its categories not assessed.
Then diff the findings by id: added ids are new findings, missing ids are
fixed ones, and shared ids with a changed severity or coverage changed
state.
This runs dosai directly because dep-scan has no data-flow diff yet.
dosai dataflows --path /absolute/path/to/old --o /tmp/dosai-old.json
dosai dataflows --path /absolute/path/to/new --o /tmp/dosai-new.json
dosai diff --old /tmp/dosai-old.json --new /tmp/dosai-new.json \
--o /tmp/dosai-diff.json
The diff carries AddedEntryPoints, RemovedEntryPoints, AddedSlices,
RemovedSlices, AddedWeaknesses, RemovedWeaknesses, AddedPackages,
RemovedPackages, OldStatistics, NewStatistics and a RiskDelta
whose NewAnonymousEndpoints, NewHighSeveritySlices and
NewlyReachablePackages are the headline numbers. Added entry points are
exposure changes even when no weakness accompanies them. Both inputs need
the same dosai version: compare the Metadata of the two dataflows files,
because the diff document does not repeat it. dosai's --restore/--build
run MSBuild: consent, and never on an untrusted project.
This runs atom-tools directly because dep-scan has no cross-engine drift view yet. Both sides must be reports from the same engine (dosai dataflows, golem, rusi, kosi or atom reachables), produced with the same options.
atom-tools drift --old /tmp/golem-old.json --new /tmp/golem-new.json \
-o /tmp/drift.json -f json --fail-on new-high
The drift document carries AddedFlows, RemovedFlows, MovedFlows,
WitnessChangedFlows, AddedEntryPoints, AddedPackages,
NewSinkCategories and a RiskDelta; coverage.regressed says whether
the new report covers less than the old one. With --fail-on, exit 2
means a gate tripped, and the console line names which and why. A gate
the engine cannot evaluate also trips. In atom-tools 1.0.x the drift
RiskDelta.NewAnonymousEndpoints is null ("not computed") for every
engine, because the unified model carries no exposure tier, so
--fail-on new-anonymous-endpoint always exits 2. Do not pass that gate;
read AddedEntryPoints (each with method, path, kind and file)
for new exposure, take authentication from depscan-attack-surface or
from dosai diff's own RiskDelta, and report any gate the console says
"cannot be evaluated" as not assessed, never as a regression or a pass.
blint diff compares two builds' hardening, findings, reviews,
dependencies and identity. It ships in blint 4.0.0 and newer, which
dep-scan's ext extra installs; a blint 3.2.x found elsewhere does not
have it, so check blint --help for diff first.
blint diff /absolute/path/to/old-binary /absolute/path/to/new-binary --json \
> /tmp/blint-diff.json
The document carries summary, hardening, findings, reviews,
dependencies, imports, symbols and identity deltas. Add
--disassemble for the function-level delta (added, removed or changed
by content hash), which needs blint[extended]. With only blint 3.2.x
available, say the binary hardening delta is not assessable here rather
than substituting a weaker check.
A delta proves a difference between exactly the two artifacts you gave it. It does not prove the new revision is safe: new findings say what got worse, "no new findings" says nothing about categories whose stages did not run, and a flow delta is only as good as the root sets both sides used. Name the two artifacts, the engine versions, and the root sets in the answer.
depscan-reachability-proofdepscan-attack-surfaceWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 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-container-imagenpx claudepluginhub owasp-dep-scan/dep-scan --plugin depscanOther plugins' skills for the same job