Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/heap-exploitation/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/heap-exploitation/

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.

heap-exploitation yaklang A playbook for ptmalloc2 heap exploitation: UAF, double free, overflow, plus tcache, fastbin and unsortedbin attacks. Useful for CTF work and glibc bug triage. CX Codex +1 4,100installs arbitrary-write-to-rce yaklang The arbitrary-write-to-rce skill maps working memory targets across glibc versions for turning memory write primitives into code execution. CX Codex +1 3,900installs analyzing-heap-spray-exploitation mahipal analyzing-heap-spray-exploitation — a skill that reads memory dumps and finds heap spray artifacts: NOP sleds, executable injected regions and embedded shellcode. CX Codex +1 379installs format-string-exploitation yaklang format-string-exploitation is a Claude Code skill for analyzing vulnerabilities in printf-family calls. It covers stack reads, address leaks, and memory writes through format specifiers. CX Codex +1 4,000installs ctf-writeup ljagiello ctf-writeup generates a standardized markdown report for a solved CTF challenge, ready for organizer review and team handoff. Structures solution steps, tools, and the exploit code into a single submission-ready file. CX Codex +1 8,700installs post-patch-validation trailofbits post-patch-validation runs exploits and regression checks against both the vulnerable and patched revisions, so you can see whether a security fix actually holds. CX Codex +1 1,400installs pentest-agents-bug-bounty-framework reason-machines pentest-agents-bug-bounty-framework is a Claude Code skill that coordinates 50 agents to find vulnerabilities, link findings into exploit chains, and track endpoints. CX Codex +1 1,300installs

From the same set61

The whole set →
usb-and-peripheral-forensics usb-and-peripheral-forensics is a Claude Code skill that analyses USB connection records and peripheral activity. Investigates Windows storage artefacts during forensic reviews. CX Codex +1 ★ 73repo stars memory-forensics-process-and-injection-analysis memory-forensics-process-and-injection-analysis is a Claude Code skill for examining Windows processes and possible code injection in memory dumps. It activates for work on hidden processes, altered images, and suspicious memory regions. CX Codex +1 ★ 73repo stars network-forensics-and-pcap-malicious-traffic-identification network-forensics-and-pcap-malicious-traffic-identification is a Claude Code skill that detects C2 beacons and exfiltration in PCAP captures. Runs during suspicious traffic analysis. CX Codex +1 ★ 73repo stars saas-workspace-and-entra-unified-audit-forensics saas-workspace-and-entra-unified-audit-forensics is a Claude Code skill for examining Microsoft and Google audit records during BEC and SaaS tenant investigations. It traces OAuth grants, mail forwarding, and session-token replay. CX Codex +1 ★ 73repo stars windows-forensic-artifact-parser-development windows-forensic-artifact-parser-development is a Claude Code skill that guides forensic Python parser creation for Windows artifacts. Runs when building DFIR timelines, Prefetch, or hive decoders. CX Codex +1 ★ 73repo stars zip-slip-and-archive-extraction-attacks zip-slip-and-archive-extraction-attacks is a Claude Code skill that audits archive extraction for path escapes and related flaws. It activates when an application unpacks archives supplied by users. CX Codex +1 ★ 73repo stars windows-artifact-forensics windows-artifact-forensics is a Claude Code skill that examines Windows artefacts to reconstruct program execution and user activity. It activates during a Windows host investigation. CX Codex +1 ★ 73repo stars heap-exploitation-house-of-techniques heap-exploitation-house-of-techniques is a Claude Code skill that maps heap write primitives to House of * techniques and glibc mitigations. It activates when triaging allocator corruption. CX Codex +1 ★ 73repo stars

Project sponsors

Companies that keep this analytics open