j4flmao/agent-skills/exploit-development-concepts
Claude Code and agent skill by j4flmao/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use this skill when the user says 'buffer overflow mechanics', 'ROP chain theory', 'how ASLR works', 'stack canary', 'format string vulnerability', 'DEP/NX'. Teaches memory-corruption theory and modern binary mitigations so engineers write defensive code and understand compiler hardening. Defensive and educational only. Do NOT use for: generating exploit scripts, or deep heap/mitigation-bypass internals (use security/advanced-binary-exploitation).
Install
npx vskill@latest install j4flmao/agent-skills/exploit-development-conceptsSKILL.md
Exploit Development Concepts
Purpose
Explain low-level memory-corruption theory (stack overflow, ROP, ASLR/DEP) at a conceptual level to teach defensive programming and compiler/linker mitigations. Reference material for defenders; it does not produce actionable exploit code.
Agent Protocol
Trigger
User phrases: "buffer overflow mechanics", "rop chain theory", "bypass ASLR concept", "format string vulnerability", "stack canary".
Input Context
- Architecture (x86/x64/ARM) and OS.
- Which mitigation the user is learning or hardening.
Output Artifact
Conceptual explanation plus the compiler/OS mitigation that defeats the class.
Response Format
[!WARNING]DISCLAIMER: EDUCATIONAL & DEFENSIVE PURPOSES ONLYThis skill covers memory corruption theory to teach defensive programming and compiler-level mitigations. It does not generate actionable exploit scripts.
1. Skill Context
Focus: Memory corruption theory, x86/x64 architecture, and modern binary mitigations. Triggers: buffer overflow mechanics, rop chain theory, bypass aslr, format string vulnerability
2. Low-Level Memory Mechanics
The agent must possess deep knowledge of assembly, CPU registers, and OS memory management.
Stack-Based Buffer Overflow
- Mechanics: Writing more data to a stack-allocated buffer than it can hold, overwriting adjacent memory.
- Execution: The attacker overwrites the Instruction Pointer (
EIP/RIP) or the saved Return Address on the stack to point to their injected shellcode. - Mitigation: Stack Canaries (Cookies) which place a random value before the return address; the program crashes if the canary is modified.
Return Oriented Programming (ROP)
- Why it exists: Introduced to bypass Data Execution Prevention (DEP / NX bit), which marks the stack and heap as non-executable.
- Mechanics: Instead of executing injected shellcode, the attacker hijacks the return address to execute existing snippets of executable code ending in a
retinstruction ("gadgets") already present in the binary or loaded libraries (likelibc). - Goal: Chain gadgets together to call functions like
system("/bin/sh")orVirtualProtect()to make the stack executable.
ASLR (Address Space Layout Randomization)
- Mechanics: Randomizes the base addresses of the executable, heap, stack, and libraries upon every execution.
- Bypass Theory: Attackers use memory leaks (e.g., Format String vulnerabilities reading off the stack) to find a single pointer, calculate the randomization offset, and dynamically adjust their ROP chain addresses.
3. Output Format
- Diagram the memory layout (Stack/Heap structures) using ASCII art or Markdown tables.
- Explain the assembly instructions involved (
call,ret,push,pop). - Detail compiler-level mitigations (
-fstack-protector,PIE,RELRO).
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/security/exploit-development-concepts/SKILL.md
Popularity
- Repository stars
- 29
- Repository forks
- 1
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/j4flmao/agent-skills/exploit-development-concepts)