Agentic LLM system for binary exploitation, powered by MCP tool servers
AutoPwn defines 24 tools with explicit schemas and descriptions in agent/tools.py. Most tools have clear, domain-specific names (checksec, rop_gadgets, gdb_run) and detailed descriptions (avg ~120 chars). Schemas are well-structured with enums and type constraints. However, several tools lack output schema documentation, parameter descriptions are sometimes sparse, and error handling guidance is minimal. No tool annotations (readOnlyHint/destructiveHint) despite clear risk profiles. Tool composition is sound, each tool has one responsibility, but some descriptions could better explain when to use each tool vs. similar alternatives (e.g., gdb_run vs gdb_breakpoint).
Identify mitigations (RELRO, Canary, NX, PIE) for a binary.
Generate or query a cyclic pattern for offset discovery.
Search an ELF for a string or hex byte pattern and return virtual addresses.
List ELF functions, PLT/GOT entries, or named objects. Prefer narrower scope on static binaries.
Generate a format string payload for reading or writing memory.
Set a breakpoint, run the binary, and return state at the breakpoint.
Examine memory at a given address in GDB.
No output schemas documented. Tools return results but LLMs cannot predict field structure, forcing them to parse unstructured responses and plan downstream calls blindly.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). run_exploit is clearly destructive/stateful but unmarked; gdb_* tools are read-only but not annotated. LLMs cannot reason about side effects.
Error handling lacks recovery guidance. Tools do not document what errors are retryable, what user input is needed, or what to do next. E.g., 'binary not found' should suggest checking the path or listing available binaries.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Find the exact buffer overflow offset by sending a cyclic pattern and analyzing the crash.
Run a binary in GDB and return the result (registers, signal, output).
Display the stack contents at the current breakpoint or crash.
Display the virtual memory map of a running process in GDB.
Decompile a binary function using Ghidra (requires Ghidra installation).
Compute libc base from one leaked symbol and resolve key runtime addresses.
Resolve libc offsets and target choices for House of Apple 2 / FSOP, including `_IO_list_all`, `_IO_wfile_jumps`, system(fp) guidance, and optional one_gadget candidates.
Resolve useful libc symbol offsets, including `/bin/sh` when present.
Load one detailed CTF exploitation playbook by ID when the preloaded playbooks do not match new evidence.
Compute PIE base from one leaked symbol and resolve key runtime addresses.
Generate a ret2libc stage 1 payload: leak a libc symbol via PLT/GOT.
Generate a ret2libc stage 2 payload: call system() with /bin/sh.
Find ROP gadgets in a binary. With no `search`, returns a curated common gadget set.
Generate a ROP payload that writes a string to memory and calls a function.
Execute a pwntools exploit script against a local or remote target.
Generate pwntools shellcraft snippets or shellcode payload bytes.
Extract printable strings from a binary with curated filtering by default.
Parameter descriptions are sparse or generic. E.g., gdb_examine 'format' param says 'x for hex, d for decimal, s for string, i for instruction' but does not explain what each format reveals or when to use it. LLMs cannot infer intent.
No pagination or result limits documented. Tools like elf_symbols, rop_gadgets, and strings_search can return large result sets but lack max_results constraints or guidance on when results are truncated.