/appsec-workflow:run-scanfrom OpenTaint AppSec Workflow
Runs an OpenTaint security scan on a project model and produces a SARIF report. Handles memory retries and collects findings.
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.
Run an OpenTaint scan over the project model and collect its findings
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-ids (optional) — full rule IDs to restrict the scan tomax-memory (optional) — a --max-memory value to run scan with. Default: unset (engine default 8G)Scan the pre-built model at .opentaint/project. Write the report to .opentaint/results/report.sarif and load both the built-in ruleset and the project's own rules under .opentaint/rules:
opentaint scan --project-model .opentaint/project \
-o .opentaint/results/report.sarif \
--ruleset builtin --ruleset .opentaint/rules \
--track-external-methods
--rule-id <full-id> — restrict to specific executable rules (repeatable, one per input rule ID); referenced library rules remain available without listing their IDs separately. Omit to run all loaded rules--passthrough-models .opentaint/pass-through — add when that directory exists: passThrough configs override built-ins at the rule level, a provided rule overriding a built-in only when it matches one--dataflow-models .opentaint/dataflow — add when that directory exists: code-based models, one project per batchBoth model-dir flags walk their trees recursively; pass each parent directory once, not every package or batch separately.
The scan is long — run it in the background and wait for it to finish. Leave --timeout at the engine default (900s); the CLI ends the analysis itself and writes whatever SARIF it has.
Start at the 8G default. An out-of-memory failure at 8G — even when the engine still wrote a partial SARIF — is not an acceptable result: retry once at --max-memory 16G before collecting anything. Never higher (more RAM won't improve results), one bump only. When the caller passed max-memory, run at it from the first attempt instead
A SARIF is complete enough to use even alongside the two normal scan errors — a timeout (the CLI ended the analysis and wrote what it had), or an out-of-memory at 16G (after §2's bump), take it as-is. The other two outcomes are not results to accept. A config-load failure on a malformed model is fixed, not bumped: report the engine error and the offending file under .opentaint/pass-through/.opentaint/dataflow per Output so it can be repaired and rescanned. No SARIF at all, even at 16G, is a plain failure: report it per Output with the scan setup.
Short and concise report of what was done
All three sit next to the report under .opentaint/results/:
.opentaint/results/report.sarif — findings with code-flow traces.opentaint/results/dropped-external-methods.yaml — external methods where dataflow facts were killed for lack of a model.opentaint/results/approximated-external-methods.yaml — external methods already modeled.opentaint/pass-through or .opentaint/dataflow (located from the error), so it can be fixed and rescanned — this is not an out-of-memory failure and 16G won't helpproject.yaml or anything under itWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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