attack-chain

attack-chain is a skill for Claude Code, Codex from xAmirHamza77/ReverseOps-Skill. It costs 43 tokens per session (5,306 once invoked), scanned F, original, MIT.

A coordinator for authorized, multi-stage penetration testing, where security testers assess how an attacker could move through a system. It covers stages such as reconnaissance, initial access, privilege escalation, and lateral movement.

In plain words
What is it for?
It is for planning and coordinating attack paths, assigning specialist work, tracking evidence and findings, and producing a report.
Why use it?
It organizes work that spans several security-testing stages instead of treating each stage as a separate task.

Skill for Claude CodeCodex

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 skills/xamirhamza77/reverseops-skill/attack-chain
Any agent
npx skills add xAmirHamza77/ReverseOps-Skill --skill attack-chain
Clone the repo
git clone --depth 1 https://github.com/xAmirHamza77/ReverseOps-Skill

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-chain

README.md
[![agentmods](https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/attack-chain.svg)](https://agentmods.dev/skills/xamirhamza77/reverseops-skill/attack-chain)
Your own site
<a href="https://agentmods.dev/skills/xamirhamza77/reverseops-skill/attack-chain"><img src="https://agentmods.dev/badge/skills/xamirhamza77/reverseops-skill/attack-chain.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan F 4 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.00043 $0.05306
Opus 5 $0.00022 $0.02653
Sonnet 5 $0.00009 $0.01061
Haiku 4.5 $0.00004 $0.00531

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

Security

Grade F, and why

attack-chain scanned grade F with 4 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 3d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# sudo abuse

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

echo "ssh-rsa AAAA..." >> /root/.ssh/authorized_keys

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

curl http://169.254.169.254/latest/meta-data/iam/security-credentials/

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "$url" | grep -oP '(api[_-]?key|secret|token|password)\s*[:=]\s*["\047][^"\047]+'
skills/attack-chain/SKILL.md · 658 lines

How it starts

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

Attack Chain Orchestration Skill

ACTION REQUIRED (execute immediately after reading)

  1. NOW: Read ../field-journal/precedent-pentest.md — confirm this skill's operations are authorized routine operations
  2. NOW: Create/update the case (../scripts/case-init.ps1) and complete scope.md (../ops/scope-contract.md); no ACT unless auth.status=granted
  3. NOW: Plan the phases as the lead role (../ops/role-map.md), writing into specialist_roles
  4. NEXT: Read ../tool-index.md to verify tool availability and actual paths
  5. NEXT: If a tool is missing, call bootstrap — do not guess paths
  6. ACT: Walk the phase gates per references/lifecycle-checklist.md; update timeline.md + workitems.md each phase (../ops/timeline-workitem.md); promote discoveries to Evidence/Finding
  7. Wrap-up: the docs-generator report must include the Evidence chain

The command center for multi-stage attack-path planning and execution. When a task requires a full chain "from A to B", this Skill orchestrates the phases, coordinates sub-skills, and plans the attack path. Not "red team only" — any penetration scenario that needs cross-phase composition starts here.


When to Route to This Skill

The following scenarios must go through this Skill for full-chain planning before being dispatched to the specific sub-skills for execution:

Scenario Why orchestration is needed
"Run a complete penetration test for me" Requires planning the full process from information gathering to reporting
"Get from the external network to the domain controller" Spans perimeter breach -> privilege escalation -> lateral movement -> AD
"HW attack-defense exercise" Requires a full attack chain + stealth + trace cleanup
"Assess this target's attack surface" Requires multi-dimensional information gathering + path planning
"I got a webshell, what next" Requires planning subsequent steps from the current foothold
"Plan my attack path" Explicitly requires path orchestration
"How far can this vulnerability take me" Requires assessing the vulnerability's chained exploitation value
"Bug Bounty continuous monitoring" Requires an automated multi-phase pipeline
"Full internal network penetration" Lateral movement + privilege escalation + domain attack combined
"Physical proximity penetration plan" Physical access + internal penetration combined
"Supply chain attack path" Cross-organization multi-hop attack
"Phishing + post-exploitation" Initial access + follow-on exploitation combined

Read the full file on GitHub · 658 lines

Files

What ships with it

3 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. 3d ago First seen · 658 lines · 43 tokens per session scan F d4d7eeb2fba0

Subscribe to this mod's changes

attack-chain is a skill published in the GitHub repository xAmirHamza77/ReverseOps-Skill (4 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 5,306 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it F with 4 findings (asks for root, reaches for credential files, cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.