attack-mapping

attack-mapping is a skill for Claude Code, Codex from Vigil-SOC/vigil. It costs 45 tokens per session (1,293 once invoked), scanned A, original, Apache-2.0.

A method for checking or adding MITRE ATT&CK technique IDs to a security finding. MITRE ATT&CK is a public catalogue of tactics and techniques used to describe real-world cyber attacks.

In plain words
What is it for?
Use it during security triage, investigations, or correlation work when checking or assigning ATT&CK techniques.
Why use it?
It helps prevent technique labels from being attached without evidence. Each selected ID is tied to something observable in the finding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during security triage, investigations, or correlation work when checking or assigning ATT&CK techniques.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vigil-soc/vigil/attack-mapping
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 Vigil-SOC/vigil --skill attack-mapping
Clone the repo
git clone --depth 1 https://github.com/Vigil-SOC/vigil

Made for: Claude Code, Codex.

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 attack-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/vigil-soc/vigil/attack-mapping/github.svg)](https://agentmods.dev/skills/vigil-soc/vigil/attack-mapping)
Your own site
<a href="https://agentmods.dev/skills/vigil-soc/vigil/attack-mapping"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/attack-mapping/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 attack-mapping

Your own site · 80×15
<a href="https://agentmods.dev/skills/vigil-soc/vigil/attack-mapping"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/attack-mapping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,293 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.
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.00045 $0.01293
Opus 5.5 $0.00018 $0.00517
Sonnet 5.5 $0.00009 $0.00259
Haiku 4.5 $0.00005 $0.00129

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

Security

Grade A, and why

attack-mapping 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 22d 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.

core/skills/library/attack-mapping/SKILL.md · 69 lines

How it starts

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

Attack mapping

Ground each technique id in an observable from this finding. The labelled block is the whole answer: write it first and always finish it, then at most two sentences. Keep every observable to a few words. Do not restate technique definitions. This turn may have no tools. If a tool is not callable, skip it and still write the block. Never end the turn on a lookup you announced.

Observables

From raw_data, description, and iocs, note only fields that are present:

  • process and command line (process, command_line)
  • parent (parent_process)
  • network destination and port (dst_ip, dst_domain, dst_host, dst_port)
  • auth event (account, source address, failed_attempts, time_window)
  • file written
  • registry key
  • email artefact (sender, subject, link, or attachment)

Tools

Name a tool only when you hold it.

  • If you hold get_finding and the turn has an id but not the finding, call it. If the finding is already in the turn, do not call it.
  • If you hold get_technique_rollup and it is callable, call it once. environment is seen when that rollup's count for the technique id is greater than zero, and not seen otherwise.
  • If you do not hold get_technique_rollup, or it is not callable, environment is not checked. Never guess a count.

Status

Take mitre_techniques in listed order. An empty or missing list means there is nothing to confirm. For each id already on the finding:

  • confirmed when an observable shows that technique's behaviour. An id already listed is never added.
  • wrong-sub-technique when the behaviour is that family but the observable pins a different sub-technique.
  • unsupported when no observable shows it.

Then add an id that is not on the list only when an observable shows the behaviour. Prefer the sub-technique when the observable pins it; use the parent only when it does not. An added id's status is added. Apply a pin only when this finding has its observables. Do not emit a technique from a pin that did not match, and do not add a second technique for the same fact.

Read the full file on GitHub · 69 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. 22d ago First seen · 69 lines · 45 tokens per session scan A 710e8428527d

Subscribe to this mod's changes

attack-mapping is a skill published in the GitHub repository Vigil-SOC/vigil (374 stars, last pushed today), licensed Apache-2.0. It adds 45 tokens to every session and 1,293 once invoked, about $0.0002 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-09-25.

Related

Other skills, from other repositories

analyzing-network-traffic-with-wireshark

Captures and analyzes network packet data using Wireshark and tshark to identify malicious traffic patterns, diagnose protocol issues, extract artifacts, and support incident response investigations on authorized network segments.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

scrape-batch

Extract many known URLs in one polite, rate-limited pass. Use when the user hands over a list of links, a set of search hits to read in full, or asks to "scrape these pages" / "pull the content from all of them". Drives extract(action="batch"), which fans out with per-domain rate limiting and returns partial results…

n24q02m/wet-mcp · 84 tokens

compare

Structured comparison of 2+ alternatives with consistent criteria and decision matrix.

n24q02m/wet-mcp · 15 tokens

research-topic

Multi-step research orchestration. Use when user asks "research X", "summarize current state of Y", "what's the latest on Z", or compares approaches. Calls extract(action="agent") which searches the web, extracts top results, then synthesises a citation-preserving Markdown answer with one configured LLM.

n24q02m/wet-mcp · 68 tokens

temporal-query

Answer time-travel questions over stored memory — what was believed at a past point in time, when a belief changed, and what replaced it. Use when the user says "as of", "back in", "at the time", "history of", "timeline", "what did I think then", or asks why a current memory contradicts an older one.

n24q02m/mnemo-mcp · 77 tokens

knowledge-audit

Review and clean up stored memories — find duplicates, contradictions, stale entries, and consolidate.

n24q02m/mnemo-mcp · 21 tokens