heap-exploitation · w4l33dx — Claude Code skill: what it does, how to install
heap-exploitation is a Claude Code skill for corruptions across glibc, Windows heap, and jemalloc. It activates on heap buffer overflows, double-free bugs, and use-after-free states.
no license ★ 73 updated 2026-11-15
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a claude-codeWhat heap-exploitation does
Maps heap corruption primitives to arbitrary write targets across different memory allocators. It categorizes the vulnerability against glibc ptmalloc, the Windows segment heap, or jemalloc, determining the exploitation path from the specific allocator build.
Allocator layout dictates which metadata can be reached. Windows LFH subsegments drop per-block headers entirely, so an overflow hits neighboring object bodies directly instead of allocator metadata. Under glibc 2.42, changes in tcache initialization place tcache_perthread_struct behind large allocations, while safe-linking continues to scramble pointer fields with address-based XOR operations.
What it helps with
- determine corruption primitives for heap overflows
- bypass safe-linking pointer protections in glibc
- target Windows LFH subsegments lacking per-chunk headers
- plan use-after-free exploitation across matching size classes
Example prompts for the agent
- Analyze this heap buffer overflow under glibc 2.42
- How do I defeat safe-linking on this tcache poisoning primitive?
- Check exploitability for an LFH chunk overflow on Windows
How to install heap-exploitation
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a claude-code2Manually: put the files in place
~/.claude/skills/heap-exploitation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/heap-exploitation/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a codex2Manually: put the files in place
.agents/skills/heap-exploitation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a cursor2Manually: put the files in place
.cursor/skills/heap-exploitation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install W4L33Dx/Cyber-Monster red-team/binary-and-exploit-development/heap-exploitation2Manually: put the files in place
.github/skills/heap-exploitation/SKILL.md1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a gemini-cli2Platform CLI
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path red-team/binary-and-exploit-development/heap-exploitationManually: put the files in place
.devin/skills/heap-exploitation/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about heap-exploitation
How to install heap-exploitation in Claude Code?
Run npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a claude-code in your terminal. Alternatively, place the file directly at ~/.claude/skills/heap-exploitation/SKILL.md.
What does heap-exploitation do?
It provides decision paths and exploitation mechanics for heap corruptions across glibc, jemalloc, and Windows user or kernel allocators.
How does heap-exploitation handle modern mitigations?
It accounts for allocator mitigations such as glibc safe-linking, removal of malloc hooks, and Windows segment heap XOR headers.
Similar skills
All skills for Security →heap-exploitation by other authors comes first.