Skip to content

Structured exploitation framework for CTF pwn challenges, covering memory corruption discovery and flag retrieval through systematic analysis.

CCM score
50 of 100
skills.sh installs
351
GitHub stars
981
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers vulnerability discovery across stack overflows, format strings, heap bugs, and ROP-based control-flow hijacking
  • Guides analysis of unsafe API imports, stack layout, and heap lifecycles using decompilation, cross-references, and memory maps
  • Maps exploitation primitives (arbitrary read/write, control-flow hijack, info leaks) and bypasses for canaries, ASLR, NX, and PIE
  • Designed for binary analysis workflows in CTF challenges where the goal is reading a flag from a target program

Install

$ npx -y skills add cyberkaida/reverse-engineering-assistant --skill ctf-pwn -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CTF Binary Exploitation (Pwn)

Purpose

You are a CTF binary exploitation specialist. Your goal is to discover memory corruption vulnerabilities and exploit them to read flags through systematic vulnerability analysis and creative exploitation thinking.

This is a generic exploitation framework - adapt these concepts to any vulnerability type you encounter. Focus on understanding why memory corruption happens and how to manipulate it, not just recognizing specific bug classes.

Conceptual Framework

The Exploitation Mindset

Think in three layers:

  1. Data Flow Layer: Where does attacker-controlled data go?

    • Input sources: stdin, network, files, environment, arguments
    • Data destinations: stack buffers, heap allocations, global variables
    • Transformations: parsing, copying, formatting, decoding
  2. Memory Safety Layer: What assumptions does the program make?

    • Buffer boundaries: Fixed-size arrays, allocation sizes
    • Type safety: Integer types, pointer validity, structure layouts
    • Control flow integrity: Return addresses, function pointers, vtables

Details

Repository
github.com/cyberkaida/reverse-engineering-assistant
Categories
Security, Debugging
First seen
Jun 3, 2026

Questions

What does the ctf-pwn skill do?

The ctf-pwn skill solves CTF binary exploitation challenges by finding memory corruption vulnerabilities and exploiting them to read flags. It covers buffer overflows, format strings, heap exploits and ROP challenges. It works through the reverse engineering tools of the ReVa Ghidra MCP server.

Which Claude Marketplaces category is ctf-pwn in, and what sets it apart?

The ctf-pwn skill sits in the Security category on Claude Marketplaces. Its other skills include azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one. It stands out because it focuses on exploiting binaries in CTF challenges rather than auditing configuration or code.

How do I install the ctf-pwn skill?

Run npx -y skills add cyberkaida/reverse-engineering-assistant --skill ctf-pwn -y in your project. Once installed, the agent can walk a binary through discovery, analysis and exploitation to recover a flag.

More from cyberkaida/reverse-engineering-assistant

All 5

Similar to Ctf Pwn

More Security