run-scan
This skill runs an OpenTaint security analysis scan on a project's pre-built model and produces a SARIF report containing dataflow findings.
Community author
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
- License
- Apache-2.0 (permissive)
- Pin
- f945f92pinned Oct 9, 2026
- Context cost
- about 1,000 tokenswhen the skill loads
- GitHub stars
- 163on seqra/opentaint
- Scripts
- None found
What it does
“Run an OpenTaint scan on project and produces the SARIF report. Use whenever the user asks to scan or re-scan a project”
Generated summary from the skill's own text
This skill runs an OpenTaint security analysis scan on a project's pre-built model and produces a SARIF report containing dataflow findings. It handles memory constraints by retrying failed scans at higher memory limits, loads custom approximation rules if present, and reports configuration errors or scan failures back to the user.
When to use it
- User requests scanning or re-scanning a project for security issues
- Analyzing dataflow and taint propagation in compiled code
- Generating SARIF reports for vulnerability findings with code traces
- Applying custom or built-in security rules to an existing project model
When not to
- Project model has not been built yet at .opentaint/project
- Editing or rebuilding the analysis model is needed instead
- Quick syntax or lint checks are sufficient without dataflow analysis
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add seqra/opentaint --skill run-scanInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install seqra/opentaint run-scan@f945f92c5ae554ff4f5fc7696ee5a269210478bbInstalls the commit we checked (f945f92).
Copy by hand
Download the folder at f945f92 and put it in .claude/skills/run-scan for Claude Code and in .agents/skills/run-scan for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "run-scan" by seqra. Source, pinned to commit f945f92c5ae554ff4f5fc7696ee5a269210478bb: https://github.com/seqra/opentaint/tree/f945f92c5ae554ff4f5fc7696ee5a269210478bb/skills/run-scan 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/run-scan/ for Claude Code and .agents/skills/run-scan/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/seqra/run-scan
SKILL.md at the pin
--- name: run-scan description: Run an OpenTaint scan on project and produces the SARIF report. Use whenever the user asks to scan or re-scan a project license: Apache-2.0 metadata: author: opentaint version: "0.3.0" --- # Skill: Run Scan Run an OpenTaint scan over the project model and collect its findings ## Inputs 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 directory - `rule-ids` (optional) — full rule IDs to restrict the scan to - `max-memory` (optional) — a `--max-memory` value to run scan with. Default: unset (engine default `8G`) ## Workflow ### 1. Run the scan 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`: ```bash 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-approximations .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-approximations .opentaint/dataflow` — add when that directory exists: code-based approximations (sources auto-compiled; pre-compiled `.class` dirs passed through as-is) Both approximation-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. ### 2. Retry once on out-of-memory 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 ### 3. Collect the report, or escalate 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 approximation 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. ## Output Short and concise report of what was done ### Artifacts: 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 ### Summary: - finding count, and dropped-vs-approximated external-method counts - whether memory was bumped to 16G - if the scan failed at config-load on a malformed approximation: the engine error and the offending file under `.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 help - if no SARIF came out even at 16G: that the scan is left failed, with the setup used (full scan command with ruleset, approximation dirs, model) ## Constraints - Never hand-edit the project model to change scan results — this skill only reads it. If the model is wrong, rebuild it at the model stage rather than patching `project.yaml` or anything under it
From seqra/opentaint at f945f92, shown as plain text under its license: Apache-2.0 (permissive). The license text is in skills/run-scan/SKILL.md.
View SKILL.md on GitHub at f945f92Files
- SKILL.md4.4 KB · 59d56821cade
1 file, 4.4 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at f945f92Related in Security
claude-security
Scans your repository for security issues using Claude, examines code changes or commits for vulnerabilities, and generates patch files to fix findings.
by AnthropicOfficial publisher
Claude Code · about 1K tokens · pinned 6 days ago
sensitive-logging-audit
The skill helps audit and fix sensitive data leaks in Python SDK logging, exceptions, and telemetry by collecting candidate sinks, manually tracing values…
by OpenAIOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 970 tokens · pinned 6 days ago
security-audit
This skill guides security audits of codebases, APIs, and services by finding vulnerabilities that cross real trust boundaries.
by CloudflareOfficial publisher
Contains scripts
Claude Code · about 5.4K tokens · pinned 6 days ago
assess-patch-risk
This skill analyzes patch artifacts to assess their program impact, regression risk, and suitability for automated merging.
by OpenAIOfficial publisher
Codex · about 2.3K tokens · pinned 6 days ago
attack-path-analysis
This skill analyzes security findings to build explicit attack paths from source to sink, calibrates severity, and decides whether each finding is reportable.
by OpenAIOfficial publisher
Codex · about 2.1K tokens · pinned 6 days ago
deep-security-scan
Performs exhaustive, multi-pass security analysis across a repository or scoped directory by running repeated independent security scans and aggregating…
by OpenAIOfficial publisher
Codex · about 3.4K tokens · pinned 6 days ago