/appsec:mitrefrom appsec
Maps security findings to MITRE ATT&CK tactics, techniques, and procedures. Enriches results from OWASP, STRIDE, or SANS/CWE analysis with attacker TTPs and kill chain context.
Ships in appsec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Post-analysis enrichment tool that maps existing security findings to the MITRE ATT&CK framework. This skill does NOT discover new vulnerabilities. It takes findings produced by other skills (OWASP, STRIDE, SANS/CWE Top 25) and enriches them with ATT&CK tactics, techniques, attack chain analysis, and threat actor TTP cross-references.
This skill operates on findings, not on source code directly.
Read ../../shared/schemas/flags.md for the
full flag specification. This skill supports the following flags.
| Flag | Skill-Specific Behavior |
|---|---|
--scope | Not used directly. Findings are sourced from prior analysis or .appsec/findings.json. |
--depth | Controls enrichment depth. standard maps techniques. deep builds kill chains. expert adds threat actor TTPs and DREAD scoring. |
--severity | Filter input findings before mapping. Only findings at or above this severity are processed. |
--format | Applied to final output. |
--quiet | Mappings only, suppress narrative descriptions. |
--explain | Add detailed ATT&CK context and learning material per mapping. |
Read ../../shared/frameworks/mitre-attck.md
for the full MITRE ATT&CK specification including tactic definitions,
technique descriptions, code-level patterns, cross-framework mapping tables,
and kill chain construction guidance.
Collect existing findings from one or more sources, checked in priority order:
/appsec:owasp or /appsec:stride), use those..appsec/findings.json for persisted findings.If no findings are available, inform the user and suggest running
/appsec:owasp, /appsec:stride, or /appsec:sans25 first.
Verify each finding conforms to shared/schemas/findings.md. Ensure
required fields are present (id, title, severity, location.file,
description). Discard malformed entries with a warning.
Normalize existing cross-references for mapping priority:
references.cwe — primary key for ATT&CK mapping.references.owasp — secondary, via OWASP-to-ATT&CK table.references.stride — tertiary, via STRIDE-to-ATT&CK table.For each finding, determine applicable ATT&CK techniques using the
cross-framework mapping tables in mitre-attck.md:
description and title keywords against technique descriptions.For each mapped technique, record technique_id, technique_name,
tactic_id, and tactic_name. Update references.mitre_attck with the
primary technique ID.
Each technique belongs to one or more tactics. Produce a matrix showing which tactics each finding touches:
| Finding ID | Recon | Initial Access | Execution | Priv Esc | Cred Access | Collection | Exfiltration | Impact |
|---|---|---|---|---|---|---|---|---|
| INJ-001 | T1190 | T1059 | T1552 | T1005 | T1041 | T1485 | ||
| AUTH-003 | T1589 | T1078 | T1548 | T1110 |
Group findings that chain into multi-step attack scenarios from reconnaissance through impact. For each chain:
CHAIN-001: SQL Injection to Data Exfiltration
Severity: critical
Steps:
1. [INJ-001] SQL injection in /api/users (T1190 -> Initial Access)
2. [INJ-001] Database dump via UNION SELECT (T1005 -> Collection)
3. [CRYPT-002] Credentials stored in plaintext (T1552 -> Credential Access)
4. [AUTH-003] No MFA on admin portal (T1078 -> Privilege Escalation)
Impact: Full database compromise, credential theft, admin takeover
Produce a text-based kill chain diagram mapping findings onto Lockheed Martin Cyber Kill Chain stages aligned with ATT&CK tactics:
Reconnaissance Initial Access Execution Collection Exfiltration
| | | | |
v v v v v
[T1595 Scan] -> [T1190 SQLi] --> [T1059 Cmd] -> [T1005 Dump] -> [T1041 Exfil]
INJ-001 INJ-001 INJ-001
|
v
[T1552 Creds] -> [T1078 Acct] -> [T1548 Priv]
CRYPT-002 AUTH-003 AUTH-003
For --format json, produce a structured chain object with nodes and edges.
Available at --depth deep and --depth expert. For each technique, note
which threat actor groups commonly use it:
| Technique | Known Usage |
|---|---|
| T1190 Exploit Public-Facing App | APT28, APT41, Lazarus Group, FIN7, most initial access brokers |
| T1078 Valid Accounts | APT29, APT41, FIN6 -- commonly after credential theft |
| T1552 Unsecured Credentials | APT33, FIN7 -- harvesting from config files |
| T1505.003 Web Shell | APT41, Hafnium -- persistent access via uploaded shells |
This is NOT a threat intelligence assessment. It shows that identified techniques are actively used in real-world attacks.
{
"tool": "mitre",
"input_findings": 12,
"mapped_findings": 10,
"unmapped_findings": 2,
"techniques_identified": 8,
"tactics_covered": 6,
"attack_chains": 2,
"tactic_coverage": {
"reconnaissance": ["T1595"],
"initial_access": ["T1190", "T1078"],
"execution": ["T1059"],
"credential_access": ["T1552", "T1110"],
"collection": ["T1005"],
"exfiltration": ["T1041"],
"impact": ["T1485"]
},
"chains": [ ... ],
"enriched_findings": [ ... ]
}
Output the report in the requested --format. Include:
If --depth expert is set, additionally:
Read ../../shared/frameworks/dread.md
for DREAD scoring criteria. Assign a DREAD score to each attack chain.
Threat actor profiling: For each chain, identify the most likely threat actor class (opportunistic, insider, APT, nation-state) based on complexity and resources required.
Detection gap analysis: For each technique in a chain, assess whether the codebase has logging or alerting to detect the attack at that stage. Cross-reference with OWASP A09 findings if available. Flag chains where multiple stages lack detection as highest priority.
Mitigation roadmap: For each chain, produce a prioritized list of mitigations that break the chain at the earliest stage. Prefer mitigations that break multiple chains simultaneously.
Append expert findings with prefix ATK and metadata.tool set to
"mitre-attck".
What SKILL.md sets; muted values are Claude Code's defaults
62 skills in this plugin
/access-controlThis skill should be used when the user asks to "check for access control issues", "analyze authorization", "find IDOR vulnerabilities", "audit CORS configuration", "check for privilege escalation", or mentions "access control", "authorization", "IDOR", "CORS", "JWT tampering", or "directory traversal" in a security context. Maps to OWASP Top 10 2021 A01: Broken Access Control.
/apiThis skill should be used when the user asks to "check API security", "audit REST API", "find BOLA vulnerabilities", "check for mass assignment", "analyze API rate limiting", "detect excessive data exposure", or mentions "API security", "BOLA", "IDOR", "mass assignment", "rate limiting", "broken function-level authorization", "excessive data exposure", or "OWASP API Top 10" in a security context.
/attack-surfaceThis skill should be used when the user asks to "map attack surface", "list entry points", "inventory API endpoints", "find all inputs", "enumerate routes", "discover exposed endpoints", or "map external interfaces". Also triggers when the user asks about exposed APIs, form handlers, file upload endpoints, WebSocket handlers, CLI argument parsers, or wants to understand where external data enters the system.
/authThis skill should be used when the user asks to "check for authentication issues", "analyze auth", "find credential vulnerabilities", "review login security", "check session management", or mentions "authentication", "passwords", "MFA", "sessions", or "brute force" in a security context. Maps to OWASP Top 10 2021 A07: Identification and Authentication Failures.
/business-logicThis skill should be used when the user asks to "check business logic security", "find logic flaws", "audit workflow security", "check for coupon abuse", "detect negative amount exploits", "analyze state machine security", or mentions "business logic", "workflow bypass", "negative amount", "coupon abuse", "self-referral", "state manipulation", or "time-based exploit" in a security context.
/configThis skill should be used when the user asks to "configure security", "appsec settings", "security preferences", or invokes /appsec:config. Manages security tool preferences and thresholds.
npx claudepluginhub florianbuetow/claude-code --plugin appsecOther plugins' skills for the same job