Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pwn-chain

Skill by sickn33

Guides exploit development from a known binary vulnerability to a working exploit, covering stack, heap and kernel pwn with pwntools. Intended for CTF challenges and systems the user is authorized to test.

  • Score 93
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pwn-chain

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/pwn-chain ~/.claude/skills/pwn-chain

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pwn-chain in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers the step from a known memory corruption bug to a working exploit. It describes a workflow: check binary protections with checksec, choose an exploit strategy, find libc and gadgets, write a pwntools template, test locally, then stabilize the exploit against a remote target. It includes reference notes for stack, heap and kernel pwn and names tools such as ROPgadget, one_gadget and libc-database.

It is written for CTF players and security testers who already know where a program fails. The skill states that it does not find vulnerabilities. It requires explicit written authorization and a confirmation step before any command touches a target. Without that confirmation, it stays read-only and gives defensive guidance only.

Written from the project's SKILL.md and checked against it.

What it can do

  • Protection checkUses checksec, file and readelf to identify NX, canary, PIE, RELRO and Fortify.
  • Strategy selectionSuggests an exploit path such as shellcode, ret2libc, a heap technique or kernel ROP based on protections.
  • libc and gadget lookupCovers libc-database lookup, ROPgadget searches and one_gadget candidates for a given libc.
  • pwntools templateProvides a local process and gdb debugging template, then a switch to a remote target.
  • Remote stabilizationLists fixes such as stack alignment, exact recvuntil anchors and sendlineafter for unstable remotes.
  • Kernel pwn notesDescribes kernel ioctl bugs, KASLR leaks, modprobe_path and SMEP and SMAP considerations.
  • Authorization gateAsks for the exact target, written permission and scope, then waits for confirmation before running commands.

What you need

  • Python with pwntools installed via pip
  • Ruby for one_gadget
  • gdb with GEF or pwndbg for debugging
  • qemu-system-x86_64 for kernel challenges

Try asking

  • Check the protections on ./vuln and suggest an exploit strategy.
  • Write a pwntools template for this stack overflow in my CTF binary.
  • Find ROP gadgets and one_gadget candidates for this libc.so.6 file.

Good to know

  • For educational use or authorized assessments with written permission only.
  • Starts from a known vulnerability and does not discover bugs.
  • Commands against a target need explicit confirmation of target and scope.
  • Full RELRO, CFI and MTE raise exploit difficulty substantially.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/pwn-chain/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • references/heap-pwn.md9 KB
  • references/kernel-pwn.md12 KB
  • references/stack-pwn.md9 KB

Alternatives to pwn-chain

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

pwn-chain: common questions

Does this skill find vulnerabilities?

No. The source says it assumes the bug is already known and only writes the exploit from that point. Discovery is handled by fuzzing or auditing.

Which tools does it reference?

It references pwntools, ROPgadget, Ropper, one_gadget, libc-database, GEF, pwndbg, qemu, binwalk and patchelf.

Can it attack a remote host right away?

No. Before any command that probes or exploits a target, it asks for the exact target, written authorization and scope, then waits for explicit confirmation.

How do I install pwn-chain?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pwn-chain free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pwn-chain safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pwn-chain?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

pwn-chain Install

Add to stack

Loading.