attack-emulation

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

A security-testing guide for running an attack technique on an approved host and checking whether a detection rule catches it. It treats a caught technique as evidence and an uncaught one as a coverage gap.

In plain words
What is it for?
Use it to emulate listed attack techniques, test detection rules, measure coverage, and record gaps. Runs are limited to hosts explicitly made available for emulation.
Why use it?
It replaces untested claims about detection with results from an actual emulation run. It also helps choose techniques that have no active rule or have not yet been proven.

Skill for Claude CodeCodex

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

Good fit Use it to emulate listed attack techniques, test detection rules, measure coverage, and record gaps. Runs are limited to hosts explicitly made available for emulation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vigil-soc/vigil/attack-emulation
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-emulation
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-emulation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vigil-soc/vigil/attack-emulation"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/attack-emulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,042 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.00049 $0.01042
Opus 5.5 $0.00020 $0.00417
Sonnet 5.5 $0.00010 $0.00208
Haiku 4.5 $0.00005 $0.00104

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

Security

Grade A, and why

attack-emulation 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.

core/skills/library/attack-emulation/SKILL.md · 85 lines

How it starts

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

Attack emulation

The goal is to know, from a run that really happened, whether a rule catches a technique. A rule nobody has seen catch an attack is a claim; an emulated step it alerted on is proof, and a step it missed is a gap. There is no fixed order below: take what the goal in your brief needs.

What to emulate

When the brief names no technique, read what to emulate next with emulate_next: techniques with no active rule come first, then a rule not proven, then proven with nothing caught, then caught with every catch stale (caught_stale: each caught rule's pass is older than the rollout limit caught_max_days; re-emulate it to renew the proof). It does not know which tests your emulators hold. analyze_coverage and identify_gaps say what covers a technique today and which gaps are already on record. To judge a scope's detections layer by layer, read detection-evaluation.

Emulate on the listed hosts

An emulator tool you hold runs one technique on one host, and only on a host the operator listed for emulation. The tool names those hosts: its hostname parameter, and target where the tool declares one, allow only them and its description lists them. Pick one of them; never ask for a host the tool does not name. When the description says no host is listed, every call is refused: say so and do not call the tool. Whether a call waits in Approvals for a person depends on the deployment's autonomy ceiling: when it waits, say what it will run and where, and do not treat a call that is waiting as one that ran. An answer with done: false and a handle is still running: call the emulator again with that handle to read the rest before you report.

A campaign

A skill whose name begins campaign- is a campaign: roles, then ordered steps, each a technique id, the role it runs on and, where it acts toward another host, the role it acts toward (the emulator's target). The brief names a listed host for each role. Run its steps in the stated order, all in this one run, on those hosts.

Read the full file on GitHub · 85 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. 2d ago Changed · +21 lines b5b356cc5b91
  2. 3d ago Changed · +1 lines 550e26b8799f
  3. 7d ago First seen · 63 lines · 49 tokens per session scan A 5fd10a53412d

Subscribe to this mod's changes

attack-emulation is a skill published in the GitHub repository Vigil-SOC/vigil (543 stars, last pushed today), licensed Apache-2.0. It adds 49 tokens to every session and 1,042 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-11-25.

Related

attack-emulation compared with skills from other repositories

attack-emulation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
attack-emulationVigil-SOC/vigilSkill543todayApache-2.0A49Claude Code, Codex
detection-sigmaAgentSecOps/SecOpsAgentKitSkill2397mo agononeA115Claude Code, Codex
analyzing-cobalt-strike-beacon-configurationmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A42Claude Code
detecting-evasion-techniques-in-endpoint-logsxalgorix/xalgorixSkill1.6ktodayApache-2.0A97Claude Code, Codex
analyzing-azure-activity-logs-for-threatsmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A68Claude Code
analyzing-cobaltstrike-malleable-c2-profilesmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A98Claude Code
analyzing-persistence-mechanisms-in-linuxmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A82Claude Code