offensive-claude
offensive-claude is a Claude Code plugin/framework that structures pentest engagements around the Cyber Kill Chain, providing 32 kill-chain skills, 8 collaborative agents, a SessionStart discipline dispatcher, and a 47-file vulnerability pattern reference library (injection, memory safety, auth, crypto, AD attacks, etc.). It also ships a staged crash-to-exploitability pipeline (rr record/replay root-causing, gcov reachability proof, ASAN/hardened feasibility profiling, Z3-based path-condition solving) invoked via /engage.crash, plus quality-gated phase templates requiring CWE/CVSS/ATT&CK-mapped evidence before findings are marked confirmed.
What it is
offensive-claude is a spec-driven offensive-security framework for Claude Code. Beyond what the catalog summary describes, the page's actionable content is the install surface and its always-on behavior: installing as a plugin registers a SessionStart hook that injects the using-offensive-claude dispatcher into every conversation, so the scope → finding → OPSEC skill-invocation discipline is active from the first message of every session — not just when you explicitly invoke it.
How it works
Phase transitions are gated. Each gate validates that required template artifacts exist and that findings carry mandatory fields — CWE, CVSS, evidence, and ATT&CK ID — before a PASS suggests the next phase; a FAIL lists missing items. Safety is enforced in shared code under coding-mastery/scripts/_lib/: scope_guard, action_guard, http_creds, redact_headers. These "safety-critical scripts" have a pytest suite (tests/) and CI (.github/workflows/tests.yml). The .devcontainer ships a binary-analysis toolchain (rr/gdb/gcov/afl++) for the crash→exploitability pipeline, running with scoped SYS_PTRACE/SYS_PERFMON capabilities rather than --privileged.
What to do
Preferred install (registers the SessionStart hook):
/plugin marketplace add hypnguyen1209/offensive-claude
/plugin install offensive-claude@offensive-claude-marketplaceAlternative one-liner:
curl -sL https://raw.githubusercontent.com/hypnguyen1209/offensive-claude/main/install.sh | bashOr clone and run bash install.sh, or manually copy skills/, agents/, templates/, workflows/, commands/, presets/, and CLAUDE.md into ~/.claude/. Engagement entry points are the /engage.* commands (init, scope, recon, weaponize, exploit, report, plus memory and pickup). Machine-readable ROE lives in templates/scope/scope.schema.json. Before use, note TERMS.md (acceptable-use / authorization requirement) and SECURITY.md (coordinated disclosure).
Caveats
- The recommended plugin install makes the dispatcher global to every Claude Code conversation, not scoped to engagement sessions — relevant if you use the same Claude Code install for unrelated work.
- The one-liner is a
curl … | bashpattern; reviewinstall.shbefore piping to a shell. - The framework enforces process discipline (authorization, proof-before-CONFIRMED, OPSEC), but these are convention/skill guardrails, not hard technical controls — the tooling still executes real offensive actions and is gated on the operator honoring
TERMS.md.
Organisations named here
- Cyber Kill Chain
Technologies named here
- offensive-claude
- Claude Code
- GitHub spec-kit
- obra/superpowers
- gadievron/raptor
- rr
- GDB
- gcov
- AFL++
- Z3
- feasibility_profile.py
- exploit_context.py
- path_conditions.py
- evidence_kit.py
- variant_hunt.py
- cve_diff.py
- engine.py
- rebuttal.py
- model_scorecard.py
- Pytest
- IDA Pro
- JADX
- Python
- MITRE ATT&CK
- CVSS
- Active Directory
Techniques named here
- Cyber Kill Chain 9-phase pipeline
- Taint Analysis
- Memory Safety issues
- Injection
- Authentication attacks
- Cryptography weaknesses
- Concurrency issues
- Web/API attacks
- Supply-chain attacks
- Active Directory attacks
- Recon/OSINT
- Crash→exploitability staged-proof pipeline
- OSS-repo forensics / incident-response repo-compromise kit
Related in Offensive Security