discover-attack-surface

discover-attack-surface is a skill for Claude Code from seqra/opentaint. It costs 31 tokens per session (1,435 once invoked), scanned A, original, Apache-2.0.

A security-analysis step that identifies project dependencies and records methods where untrusted data first enters the code.

In plain words
What is it for?
Use it during an OpenTaint source-discovery pass for a specified language, project, and analysis plan.
Why use it?
It fills gaps in built-in security rules so later analysis can track potentially unsafe data flows more completely.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the appsec-workflow plugin — 16 skills shipped together

Good fit Use it during an OpenTaint source-discovery pass for a specified language, project, and analysis plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seqra/opentaint/discover-attack-surface
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add seqra/opentaint --skill discover-attack-surface
Clone the repo
git clone --depth 1 https://github.com/seqra/opentaint

Made for: Claude Code.

Or install appsec-workflow, the plugin that ships this one along with the rest of its 16 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for discover-attack-surface

README.md
[![agentmods](https://agentmods.dev/badge/skills/seqra/opentaint/discover-attack-surface/github.svg)](https://agentmods.dev/skills/seqra/opentaint/discover-attack-surface)
Your own site
<a href="https://agentmods.dev/skills/seqra/opentaint/discover-attack-surface"><img src="https://agentmods.dev/badge/skills/seqra/opentaint/discover-attack-surface/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for discover-attack-surface

Your own site · 80×15
<a href="https://agentmods.dev/skills/seqra/opentaint/discover-attack-surface"><img src="https://agentmods.dev/badge/skills/seqra/opentaint/discover-attack-surface.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,435 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01435
Opus 5.5 $0.00012 $0.00574
Sonnet 5.5 $0.00006 $0.00287
Haiku 4.5 $0.00003 $0.00144

Measured 27d ago against content hash e5d83e0eeabd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

discover-attack-surface scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/discover-attack-surface/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Discover Attack Surface

Work one assignment of project-used dependency members and pick out the taint sources among them — the methods where untrusted data first enters. The assigned language reference defines the concrete inspection commands and identifier formats for the workflow below.

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
  • language (required) — target language for this project and language-specific instructions
  • plan (required) — path to this agent's partition plan .opentaint/tracking/rules/plans/<id>.yaml: the project-used dependency members to classify

Workflow

Read references/<language>.md before starting. Its numbered steps provide the language-specific details for the workflow below.

1. Inspect the plan's members

The assigned plan's scopes contains the already-extracted project-used dependency members that still need a verdict. Inspect only those members. Confirm their dependency identity and exact signatures, then read application source, dependency source and API documentation, representative usages, and relevant framework configuration to understand how data enters the project.

2. Classify the plan's members

A source is the exact boundary where untrusted data first enters from a network, persistence, serialization, messaging, execution, or another external channel. For a callable member, decide whether it returns or otherwise exposes attacker-controlled data. A member that merely passes along data it was handed is a propagator, not a source.

Classify behavior rather than package or class names. For an individual member, prefer recording a borderline source with the uncertainty noted: later scan and triage can reject a false positive, while an omitted source becomes an unrecoverable false negative.

Read the full file on GitHub · 96 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 27d ago Changed e5d83e0eeabd
  2. 2mo ago Changed · -2 lines · -5 tokens per session 4680a6ad6826
  3. 3mo ago First seen · 98 lines · 36 tokens per session scan A 639698ea3091

Subscribe to this mod's changes

discover-attack-surface is a skill published in the GitHub repository seqra/opentaint (177 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 1,435 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

discover-attack-surface compared with skills from other repositories

discover-attack-surface next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
discover-attack-surfaceseqra/opentaintSkill177yesterdayApache-2.0A31Claude Code
coding-guardexplyt/spring-pluginSkill1705d agoApache-2.0A67Claude Code, Codex
github-issue-managerexplyt/spring-pluginSkill1705d agoApache-2.0A100Claude Code, Codex
plugin-code-review-orchestratedexplyt/spring-pluginSkill1705d agoApache-2.0A72Claude Code, Codex
review-async-lifecycleexplyt/spring-pluginSkill1705d agoApache-2.0A66Claude Code, Codex
develop-gutter-navigation-featureexplyt/spring-pluginSkill1705d agoApache-2.0A142Claude Code, Codex
review-core-correctnessexplyt/spring-pluginSkill1705d agoApache-2.0A67Claude Code, Codex