offensive-tools/re/radare2/SKILL.md
CLI reverse engineering framework with disassembly, debugging, scripting, and binary patching. Use when analyzing binaries headlessly, scripting RE tasks, patching executables, or working in resource-constrained environments.
npx skillsauth add aeondave/malskill radare2Install this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CLI RE framework — disassemble, debug, patch, and script binary analysis.
# Open binary (read-only)
r2 ./binary
# Analyze all (auto-analysis)
> aaa
# List functions
> afl
# Disassemble function
> pdf @ main
# Print strings
> iz
# Quit
> q
| Command | Purpose |
|---------|---------|
| aaa | Full auto-analysis |
| afl | List all functions |
| pdf @ FUNC | Disassemble function |
| s ADDR | Seek to address |
| iz | Print strings in binary |
| iS | List sections |
| ii | List imports |
| px N @ ADDR | Hex dump N bytes at ADDR |
| ood | Reopen in debug mode |
| dc | Continue execution |
| dr | Show registers |
| VV | Visual graph mode |
| / | Search bytes/strings |
Quick static triage:
r2 malware.exe
> aaa; afl; iz; ii
> pdf @ sym.main
Patch a jump:
r2 -w ./binary
> s 0x401234 # seek to instruction
> wa jmp 0x401300 # write assembly
> q
Script with r2pipe (Python):
import r2pipe
r2 = r2pipe.open('./binary')
r2.cmd('aaa')
print(r2.cmd('afl'))
| File | When to load |
|------|--------------|
| references/ | r2pipe scripting and debugging shortcuts |
development
White-box auditing methodology for AI-generated ('vibe-coded') applications. Focuses on modern stack misconfigurations (Supabase, Next.js, Vercel).
development
Hybrid AI/Deterministic SAST methodology for discovering zero-day vulnerabilities in source code. Orchestrates structural search with AI-driven data flow and sink validation.
development
Auth assessment: hardware/embedded methodology; UART/JTAG/SWD/SPI/I2C, firmware extraction, boot/debug paths, embedded OS evidence.
devops
Container methodology: Identifying containerization limits, Docker/K8s misconfigurations, and executing escapes to the host node.