deep-exploitation

deep-exploitation is a skill for Claude Code from 0dayInc/pwn. It costs 19 tokens per session (729 once invoked), scanned A, original, MIT.

A security-testing guide for turning an already understood crash or software weakness into a repeatable exploit and a small proof of concept.

In plain words
What is it for?
Use it for issues such as use-after-free, buffer corruption, format-string bugs, type confusion, and exploit work involving programs, browsers, kernels, or protocols.
Why use it?
It provides a focused path after the cause of a memory or logic bug is known, instead of starting with discovery.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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/0dayinc/pwn/deep-exploitation
Any agent
npx skills add 0dayInc/pwn --skill deep-exploitation
Clone the repo
git clone --depth 1 https://github.com/0dayInc/pwn

Made for: Claude Code.

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 deep-exploitation

README.md
[![agentmods](https://agentmods.dev/badge/skills/0dayinc/pwn/deep-exploitation.svg)](https://agentmods.dev/skills/0dayinc/pwn/deep-exploitation)
Your own site
<a href="https://agentmods.dev/skills/0dayinc/pwn/deep-exploitation"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/deep-exploitation.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 729 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.1 $0.00019 $0.00729
Opus 5 $0.00010 $0.00365
Sonnet 5 $0.00004 $0.00146
Haiku 4.5 $0.00002 $0.00073

Measured 6d ago against content hash 6861d67e803e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

deep-exploitation 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 6d 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.

etc/default_skills/deep-exploitation/SKILL.md · 75 lines

How it starts

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

Deep Exploitation

Use when a bug already has a crash, a primitive, or a clear memory/logic flaw and the ask is a reliable PoC - not a first recon pass.

When to use

  • crash triage, heap/stack corruption, UAF, format string, type confusion
  • ASLR / NX / canary / CFG / SMEP bypass planning
  • kernel, browser, or protocol exploit chains after the root cause is known

Methodologies

  • CWE classes: CWE-119, CWE-416, CWE-787, CWE-134, CWE-190
  • MITRE ATT&CK: Execution, Privilege Escalation, Defense Evasion
  • NIST SP 800-115: exploitation and evidence sections of a technical test
  • Hand off firmware blobs to hardware-and-firmware-testing (OWASP FSTM)

Tooling

  • Debug: gdb + pwndbg/GEF, radare2, Ghidra/IDA as available.
  • Inspect: checksec, readelf, objdump, PWN::Plugins::Assembly.
  • Gadgets: ROPgadget / ropper.
  • Fuzz to feed this skill: PWN::Plugins::Fuzz, AFL++, libFuzzer.
  • Web follow-on: Burp over ZAP; PWN::Plugins::BeEF only if hooks are in scope of the ask.
  • Post-proof: PWN::Plugins::Metasploit only when the operator asked for a module/session, not as the default payload.

Procedure

  1. Reproduce. One command or one pwn_eval snippet that crashes or misbehaves every time.
  2. Name the flaw (overflow, UAF, integer wrap, type confusion, race).
  3. Map mitigations (checksec, /proc/cpuinfo SMEP/SMAP, CFG).
  4. Build primitives in order: leak, arbitrary read, arbitrary write, control of a function pointer / GOT / vtable / return.
  5. Chain (ROP/JOP/SROP or logic) until controlled execution or the asked impact (file read, auth bypass, etc.).
  6. Stabilize across two runs. Document bad bytes, versions, and the fix.

Patterns

  • Heap overflow -> metadata / tcache -> write -> ROP
  • UAF -> type confusion -> leak -> function-pointer write
  • Format string -> %p leak + %n write -> GOT
  • Kernel race -> cred / tty struct -> root

Pitfalls

  • Do not skip reproduction. A narrative ROP chain is not a PoC.
  • Keep the PoC small and reversible. No persistence unless asked.
  • memory_remember is not the exploit file. Write the artefact, then read it back.

Read the full file on GitHub · 75 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. 6d ago First seen · 75 lines · 19 tokens per session scan A 6861d67e803e

Subscribe to this mod's changes

deep-exploitation is a skill published in the GitHub repository 0dayInc/pwn (78 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 729 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

analyzing-linux-elf-malware

Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure — through static analysis, dynamic tracing, and reverse engineering of x8664 and ARM samples. Use when investigating Linux malware, triaging a suspicious ELF binary…

mukul975/Anthropic-Cybersecurity-Skills · 82 tokens

osmedeus-expert

Expert guide for the Osmedeus security automation workflow engine. Use when: (1) writing or editing YAML workflows (modules and flows), (2) running osmedeus CLI commands (scan, workflow management, installation, server), (3) configuring steps, runners, triggers, or template variables, (4) debugging workflow execution…

j3ssie/osmedeus · 113 tokens

supabase

Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…

PentesterFlow/agent · 120 tokens

graphql

GraphQL pentest playbook — find the endpoint, dump the schema (introspection or field-suggestion fallback), then test for authorization gaps, query batching, alias overload, depth-based DoS, and SQLi/NoSQLi in resolver arguments. Use when the target exposes a /graphql endpoint, GraphiQL, Apollo, or accepts GraphQL…

PentesterFlow/agent · 75 tokens

jwt

JWT attack playbook — algorithm confusion (alg=none, HS/RS confusion), kid path traversal/SQLi, jku/x5u SSRF, weak HS256 cracking, and embedded JWK trickery. Use when the target uses JWTs for auth (header.payload.signature).

PentesterFlow/agent · 60 tokens

recon

External recon playbook for a web target — subdomain enumeration, live-host probing, tech fingerprinting, and a first pass at content discovery. Use when the user gives you a root domain or apex and wants attack surface mapping.

PentesterFlow/agent · 49 tokens