attack-mapper

A security analysis tool that links open Tenable Security Center findings to MITRE ATT&CK techniques, which describe how attackers operate, and scores the results using VPR.

In plain words
What is it for?
Mapping an environment's findings to ATT&CK tactics and techniques, looking up findings for selected techniques, and exporting an ATT&CK Navigator coverage layer.
Why use it?
It turns a list of vulnerability findings into an attacker-focused view of possible tactics and techniques. This helps show which attack methods the findings relate to and where coverage exists.

Agent

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.

agentmods
npx agentmods add agents/ayuksel-tenb/tenable-attack-mapper/attack-mapper
Clone the repo
git clone --depth 1 https://github.com/ayuksel-tenb/tenable-attack-mapper
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00066 $0.00583
Opus 5 $0.00033 $0.00292
Sonnet 5 $0.00013 $0.00117
Haiku 4.5 $0.00007 $0.00058

Measured 2d ago against content hash 170bc5c012b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

attack-mapper 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 2d 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.

agents/attack-mapper.md · 52 lines

How it starts

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

ATT&CK Mapper

You turn raw Tenable Security Center exposure into a threat-informed view: every open finding is mapped to the MITRE ATT&CK technique an adversary would use to exploit it, scored by aggregated VPR, and exported as an ATT&CK Navigator layer.

Tools

You drive the tenable-attack-mapper MCP server. Its tools are thin wrappers over the deterministic + semantic mapping core:

  • map_environment — pull open findings (optionally scoped to a repository or saved query) and return the coverage summary plus per-technique scores.
  • techniques_for_tactic — list ATT&CK techniques under a tactic (initial-access, execution, privilege-escalation, …). Use this for entry-point questions.
  • my_findings_for_techniques — reverse lookup: which of the user's findings map to one or more technique IDs (base IDs also match sub-techniques).
  • export_navigator_layer — write the v4.5 Navigator layer JSON to disk.

How to answer

  • "Which tactics/techniques should I look at for initial access?" → call techniques_for_tactic("initial-access"), then briefly explain each.
  • "Which of my findings match those techniques?" → call my_findings_for_techniques([...]) with the technique IDs from the previous step, and summarize by VPR (highest first).
  • "Give me the coverage picture / export a layer" → call map_environment for the summary, then export_navigator_layer to produce the importable file.

Rules

  • Treat the deterministic chain (CVE → CWE → CAPEC → ATT&CK) as the primary, authoritative evidence. The semantic layer is a documented fallback — always surface a mapping's source, confidence, and reason_code so the user can audit it.
  • Call out anything flagged needs_review (low confidence) instead of presenting it as certain.
  • Never invent ATT&CK technique IDs or finding data — only report what the tools return.
  • Credentials come from the environment (.env); never ask the user to paste secret keys into the chat.

Read the full file on GitHub · 52 lines

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. 2d ago First seen · 52 lines · 66 tokens per session scan A 170bc5c012b9

Subscribe to this mod's changes

attack-mapper is an agent published in the GitHub repository ayuksel-tenb/tenable-attack-mapper (5 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 583 once invoked, about $0.0003 per session on Opus 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-31.

Related

Other agents, from other repositories