attack-chain

attack-chain is a skill for Claude Code, Codex from sickn33/agentic-awesome-skills. It costs 37 tokens per session (1,975 once invoked), scanned A, original, MIT.

A guided plan for authorized security tests that traces a possible route from information gathering through access, higher privileges, movement between systems, and reporting.

In plain words
What is it for?
It helps plan and coordinate complete security assessments across several attack stages, while keeping unapproved work read-only.
Why use it?
It keeps a multi-stage penetration test—the permitted simulation of an attack—organized and requires written permission and confirmation before actions that could affect a target.

Skill for Claude CodeCodex

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

Part of the agentic-awesome-skills plugin — 196 skills shipped together

Good fit It helps plan and coordinate complete security assessments across several attack stages, while keeping unapproved work read-only.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sickn33/agentic-awesome-skills/attack-chain
About the project

AAS Core is a local control plane for coding agents that lets them search a large catalogue of skills, choose a stack, validate it, and create a reproducible plan. It is used to assemble and review agent workflows through its CLI, local MCP server, catalogue, plugins, and Workbench. The catalogue add-ons provide the skills, plugins, bundles, and workflows that AAS Core helps agents select and validate.

sickn33/agentic-awesome-skills · 46,184 stars · on GitHub · sickn33.github.io

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 sickn33/agentic-awesome-skills --skill attack-chain
Clone the repo
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills

Made for: Claude Code, Codex.

Or install agentic-awesome-skills, the plugin that ships this one along with the rest of its 196 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 attack-chain

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sickn33/agentic-awesome-skills/attack-chain"><img src="https://agentmods.dev/badge/skills/sickn33/agentic-awesome-skills/attack-chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,975 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
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 129
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • high YARA Match · line 142
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • high YARA Match · line 145
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
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.00037 $0.01975
Opus 5 $0.00018 $0.00988
Sonnet 5 $0.00007 $0.00395
Haiku 4.5 $0.00004 $0.00198

Measured 4d ago against content hash 80afbdf753c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

attack-chain 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 4d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/agentic-awesome-skills-claude/skills/attack-chain/SKILL.md · 186 lines

How it starts

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

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

Attack Chain Orchestration Skill

When to Use

  • An authorized engagement spans multiple kill-chain phases.
  • Coordinating several specialist skills into one coherent attack path.

何时路由到本 Skill

以下场景必须先经过本 Skill 做全链路规划,再分发到具体子 Skill 执行:

场景 为什么需要编排
"帮我做一次完整的渗透测试" 需要规划从信息收集到报告的全流程
"从外网打到域控" 跨越边界突破→提权→横向→AD 多个阶段
"HW 攻防演练" 需要完整攻击链 + 隐蔽性 + 痕迹清理
"评估这个目标的攻击面" 需要多维度信息收集 + 路径规划
"我拿到了一个 webshell,下一步怎么办" 需要从当前据点规划后续路径
"帮我规划攻击路径" 明确需要路径编排
"从这个漏洞能打到什么程度" 需要评估漏洞的链式利用价值
"Bug Bounty 持续监控" 需要自动化多阶段流程
"内网渗透全流程" 横向移动 + 提权 + 域攻击组合
"近源渗透方案" 物理接入 + 内网渗透组合
"供应链攻击路径" 跨组织多跳攻击
"钓鱼 + 后渗透" 初始访问 + 后续利用组合

单阶段任务不需要经过本 Skill

  • 只做端口扫描 → 直接去 pentest-tools/
  • 只做 SQL 注入 → 直接去 pentest-tools/
  • 只做 APK 逆向 → 直接去 apk-reverse/
  • 只做域渗透 → 直接去 windows-ad/SKILL.md

编排原则

本 Skill 的角色

用户提出多阶段任务
    ↓
attack-chain/SKILL.md(本文件)
    ↓ 规划攻击路径、确定阶段顺序
    ↓ 评估每阶段所需工具和方法
    ↓
分发到具体子 Skill 执行:
    ├── pentest-tools/     → 工具调用、漏洞利用
    ├── apk-reverse/       → 移动端渗透
    ├── js-reverse/        → Web 前端突破
    ├── reverse-engineering/ → 二进制分析
    ├── ida-reverse/       → 深度逆向
    └── browser-automation/ → 自动化操作
    ↓
每阶段完成后回到本 Skill 评估下一步
    ↓
全部完成 → docs-generator 生成报告

Read the full file on GitHub · 186 lines

Files

What ships with it

4 files 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. 4d ago First seen · 186 lines · 37 tokens per session scan A 80afbdf753c3

Subscribe to this mod's changes

attack-chain is a skill published in the GitHub repository sickn33/agentic-awesome-skills (46,184 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,975 once invoked, about $0.0002 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-09-05.

Related

Other skills, from other repositories