/appsec-workflow:debug-rulefrom OpenTaint AppSec Workflow
Traces where taint is dropped in an Opentaint rule or model to diagnose missed or spurious detections, and identifies whether the rule, model, or engine owns the fix.
Ships in OpenTaint AppSec Workflow. 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.
Diagnose why a rule or model behaves unexpectedly on a model by tracing where taint is dropped, and decide who owns the fix: the rule, a missing library model, or the engine.
Provided by the caller, fall back to the default value when omitted. Ask back only when a required input is missing and has no sensible default
project-root (optional) — root of the target project. Opentaint keeps all analysis artifacts under the fixed <project-root>/.opentaint/ directory, so every .opentaint/... path below resolves there. Default: current directoryrule (required) — the one rule whose sample or flow routes taint through the code under test, as <ruleSetRelativePath>.yaml:<shortId>. For a model, the rule whose sample routes taint through the modeled methodmodel (required) — the project model where the behavior shows upReproduce the exact run that showed the problem — same model, rulesets, and applied model dirs — and trace where taint dies with a fact-reachability run. Run it directly as a foreground, blocking command and wait for exit — never background it or use Monitor:
opentaint test rule reachability <rule> \
--project-model <model> \
-o <results-dir>/report.sarif \
--ruleset builtin --ruleset .opentaint/rules \
--passthrough-models .opentaint/pass-through \
--dataflow-models .opentaint/dataflow
<results-dir> is .opentaint/test-results/<name> for a test model, .opentaint/results for the main scan. The per-instruction facts are in the sibling <results-dir>/debug-ifds-fact-reachability.sarif, not the -o file — the -o SARIF only shows whether the rule fired. Read that sibling to find the kill:
pattern-sources, not the flow. Otherwise walk the facts to the last instruction still carrying it and the first where it's gone — that gap is the killTrace the exact run that misbehaved — a different model or ruleset traces something else; taint dying at a modeled call means that model isn't propagating. When the flow is missed and the entry method may never be analyzed, rerun with --entry-points "<method-fqn>": a finding that appears only then is an entry-point-discovery problem, not dataflow. On Spring the flag is additive — auto-discovered endpoints stay and your method is added, so use it to force-include an endpoint the analyzer never starts from, not to narrow to one method.
The killing instruction decides who owns the fix. An engine bug is by far the least likely — assume it last, only once the other two are ruled out; nearly every kill is a missing or wrong library model or a rule defect, both tedious to exclude but far more probable, and the tedium is no reason to jump to "engine". Three outcomes:
dropped-external-methods.yaml from that run (a --track-external-methods scan regenerates it if absent): listed there means the method is unmodeled — the missing model is the cause, for the model stage to model. Not listed but a built-in claims to model it, yet taint dies here → that model is wrong for this case: a passThrough override applies at the rule level, so prefer one for the method; a dataflow override conflicts with built-ins at load, so fall back to a passThrough, or call it an engine issue when only a dataflow shape can express the propagationThis skill diagnoses and routes the fix — it doesn't author the rule or model, or re-run the pipeline. Report the diagnosis per Output.
debug-ifds-fact-reachability.sarif — the per-instruction fact-reachability trace the CLI emits next to the -o SARIFfile:line and the instruction where taint is killed (or spuriously introduced), and which of the three causes owns the fixWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
taint-analysis, static-analysis, rule-debugging, opentaint, dataflow
npx claudepluginhub seqra/opentaint --plugin appsec-workflow16 skills in this plugin
/analyze-external-methodsAnalyze an OpenTaint scan's dropped external methods and decide which of them are propagators and optionally sinks. Use when a dropped-external-methods.yaml needs classification for dropped method type/analyze-findingsTriage OpenTaint findings statically. Use when scan findings need a TP/FP verdict/appsec-agentRun an end-to-end OpenTaint application-security analysis while owning the long project build and scans and delegating each other pipeline stage. Use when the user asks to find vulnerabilities, or scan an application for security issuesOther plugins' skills for the same job