re-exploit

re-exploit is a skill for Claude Code from dslsdzc/rev-skills. It costs 40 tokens per session (4,659 once invoked), scanned A, original, Apache-2.0.

A guide to developing exploits for already located software vulnerabilities. It covers ROP chains, which reuse short instruction sequences, and heap attacks involving memory-allocation structures.

In plain words
What is it for?
Use it to search for ROP gadgets, build stack layouts, develop fastbin or tcache heap attacks, and work with techniques such as SROP, ret2dlresolve, and seccomp sandbox bypasses.
Why use it?
It helps turn a confirmed memory bug into a controlled result such as code execution or arbitrary memory access.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to search for ROP gadgets, build stack layouts, develop fastbin or tcache heap attacks, and work with techniques such as SROP, ret2dlresolve, and seccomp sandbox bypasses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-exploit
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.

Any agent
npx skills add dslsdzc/rev-skills --skill re-exploit
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

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 re-exploit

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-exploit/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-exploit)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-exploit"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-exploit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-exploit

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-exploit"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-exploit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 95
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
  • medium Privilege Escalation · line 27
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 33
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 34
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 39
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00040 $0.04659
Opus 5.5 $0.00016 $0.01864
Sonnet 5.5 $0.00008 $0.00932
Haiku 4.5 $0.00004 $0.00466

Measured 2mo ago against content hash 07b9e831f572, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

re-exploit 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 2mo 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- 发行版包:Debian/Ubuntu `sudo apt install python3-pwntools`、Fedora `sudo dnf install python3-pwntools`、Arch `sudo pacman -S python-pwntools`(Extra 仓库官方包)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/skills/re-exploit/SKILL.md · 131 lines

How it starts

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

利用开发(ROP 链构造 / 堆利用)

何时使用 / 何时不用

  • 用:拿到已定位的漏洞(越界读写 / 崩溃 / 危险输入)要升级为 RCE / 任意读写——漏洞分析([[re-crash-triage]] / [[re-vuln]])移交的利用开发环节
  • 用:ROP 链构造——gadget 搜索、栈布局、ret2csu / SROP / ret2dlresolve
  • 用:堆利用——fastbin / tcache 攻击、unsorted bin 泄露、double free 系列
  • 用:seccomp 沙箱绕过(ORW:open / read / write 链)
  • 不用:入门级 pwn(ret2win / 简单 ret2libc / 格式化字符串)→ [[re-pwn]]
  • 不用:只有崩溃还没有定位(→ [[re-crash-triage]]);还没崩溃找 bug(→ [[re-fuzzing]])
  • 注意:利用验证是动态执行,默认在沙箱内跑([[re-analyze/platform-tips]] 最高原则,见 [[re-sandbox]]);先规划再写(坑 4),组合绕过分步验证

工具准备

参考 [[re-analyze/platform-tips]]——利用验证默认沙箱;静态准备(gadget 搜索 / 规划)可免沙箱,动态验证进沙箱。

pwntools(pip 安装,见 [[re-pwn]])—— 利用脚本主力

  • pip install pwntools(官方 PyPI,当前正式版 4.15.0)——Python 版本兼容性以 [[re-pwn]] 的「工具准备」为准(版本矩阵只在该处维护一份,避免两处漂移)
  • 发行版包:Debian/Ubuntu sudo apt install python3-pwntools、Fedora sudo dnf install python3-pwntools、Arch sudo pacman -S python-pwntools(Extra 仓库官方包)
  • Python 3.12+(Ubuntu 24.04 自带 3.12)直接 pip 装报 PEP 668 externally-managed-environment——对策:venv(python3 -m venv ~/venvs/pwn && source ~/venvs/pwn/bin/activate)或发行版包或 --break-system-packages
  • 验证: pwn --version / python3 -c "import pwn; print(pwn.version)"

ropper / ROPgadget —— gadget 搜索

  • ropper:pip install ropper(官方 PyPI);Arch sudo pacman -S ropper(Extra 官方包);Debian/Ubuntu/Fedora 无官方包 → pip
  • ROPgadget:pip install ROPgadget(官方 PyPI);Debian/Ubuntu sudo apt install python3-ropgadget、Fedora sudo dnf install python3-ROPGadget、Arch sudo pacman -S ropgadget(均为官方包)
  • 验证: ropper --version;ROPgadget --binary ./target | head;常用搜索:ROPgadget --binary ./target | grep 'pop rdi'、ropper -f ./target --search "pop rdi"

gdb + gef/pwndbg(见 [[re-gdb]])—— 栈/堆布局验证

  • gdb: Debian/Ubuntu sudo apt install gdb、Fedora sudo dnf install gdb、Arch sudo pacman -S gdb、macOS brew install gdb;32 位目标 Debian/Ubuntu 补 gdb-multiarch + libc6-i386
  • 堆利用调试建议装 pwndbg:heap / bins(tcachebins / fastbins / unsorted)命令直接看 chunk 布局与 bin 链表(gef 也有 heap bins,功能略弱);验证: gdb 里 heap bins 有输出
  • pwndbg 内置 checksec(见 [[re-pwn]] 工具准备)

Read the full file on GitHub · 131 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. 2mo ago Changed 07b9e831f572
  2. 2mo ago Changed 7f4e248a083c
  3. 2mo ago Changed · +1 lines 57dbd82e9533
  4. 3mo ago First seen · 130 lines · 40 tokens per session scan A e2e823e945cd

Subscribe to this mod's changes

re-exploit is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 4,659 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

re-exploit compared with skills from other repositories

re-exploit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
re-exploitdslsdzc/rev-skillsSkill2751mo agoApache-2.0A40Claude Code
analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-UpSkill43mo agoMITA95Claude Code, Codex
analyzing-golang-malware-with-ghidramukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A95Claude Code
analyzing-golang-malware-with-ghidra26zl/cybersec-toolkitSkill114todayMITA95Claude Code
reverse-engineering-binaries-with-ghidrameltedinhex/analyst-ai-packSkill253d agoApache-2.0A80Claude Code, Codex
reverse-engineering-shellcodemeltedinhex/analyst-ai-packSkill253d agoApache-2.0A68Claude Code, Codex
reverse-engineering-arm-binariesmeltedinhex/analyst-ai-packSkill253d agoApache-2.0A69Claude Code, Codex