Reverse engineer a patch into a full exploit chain
A researcher used Claude Opus in Claude Code with Playwright MCP to decompile code, find vulnerabilities, and build a working exploit. ·
Done withClaude Code
- What they did
- Kev Breen gave Claude Opus in Claude Code (with Ghidra/ilspy, semgrep, Playwright and Proxmox tools, root on an isolated code-server harness) a single prompt to investigate a newly reported PaperCut NG zero-day, build a lab VM, and patch-diff the vendor fix. The agent autonomously decompiled jars, traced IoCs, found an auth-bypass and SQLi, used Playwright to drive the admin UI, and iteratively built and self-tested PoC scripts, with the human mainly steering direction and challenging weak conclusions.
- How it went
- Within 90 minutes it produced a working unauthenticated RCE chain (auth bypass, SQLi, arbitrary file write, code execution), later finding a third bypass that defeated the emergency patch too; total run used 10 prompts, 293 tool calls, 224M tokens over about two hours, though it initially hit a dead-end chain and made a false 'validated' claim the researcher had to catch.
- Worth knowing
- Hit an Opus 5 safety guardrail when checking exploitation logs, forcing a fallback to Opus 4.8 mid-session.
Try it yourself with Claude Code
Given this [software patch or diff], analyze what changed, decompile or inspect the relevant binaries, and identify the security vulnerability it fixes. Build a proof-of-concept exploit demonstrating the issue in a safe, isolated test environment, and stop before using it against anything outside that environment.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: techanarchy.net · Aug 27, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Automate event social posting across platforms
Claude Code connected social channels to drive event registrations, working well on Twitter and Reddit and somewhat on LinkedIn.
Send daily WhatsApp reminders of what to pack for school
A commenter built a Claude Code tool that sends a WhatsApp reminder the day before about what to pack in a child's school bag.
Find exploitable bugs in smart contracts
Anthropic's red team reports agents finding $4.6M worth of blockchain smart contract exploits.
Open recent protein-ligand structures in PDB
A researcher had Comet find the three latest GSK3B protein-ligand complexes in the PDB and open each in Ligand Interaction view.
Reverse engineer device hardware and write drivers
A user points Claude at their own electronics to write drivers, such as one for an old printer that stopped working on a new macOS, with the user acting as its hands for diagnosis.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.