Use an agent to build a CTF exploit
A security professional had agents follow their usual manual workflow to solve brotli2bitcoin and produce a winning exploit in 37 minutes.
- What they did
- They set up a custom agent to mirror the way they would normally attack a challenge by hand, then let it work through the same analysis and exploitation steps on brotli2bitcoin.com. The agent handled the iterative testing and refinement on its own. They used Claude Code for the workflow.
- How it went
- The exploit worked and finished the challenge in 37 minutes. The author estimated the run would have cost about $11 in API tokens, though their own subscription reduced the actual spend to only a few cents. The main limitation was that the setup depended on real exploitation know-how first.
- Tips
- This works best when the agent is following a method you already understand, not inventing one from scratch. Keep a human in the loop before any submission or external action.
Try it yourself with Claude Code
I’m working on a security challenge at [target or CTF name]. Act like a careful exploit-development assistant: inspect the target, map the attack surface, look for likely weaknesses, and build and test a candidate exploit script step by step. After each major change, summarize what you found and wait for my approval before any irreversible action, including submitting a flag, sending a payload to a remote server, or deleting files. Explain the exploit logic clearly as you go so I can verify it.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Set up behaviors for a small ROS2 robot
A builder used an onboard agentic OS to program a compact robot through behaviors, code tools, and ROS2 topics.
Use Ghidra tools to map a binary faster
An MCP bridge let an agent decompile code, trace relationships, and rename symbols inside Ghidra from Claude or Cursor.
Wire an MCP math server into your agent
They let an agent route math work to MathKernel, which planned the request and delegated computation to several theorem and numeric engines.
Run an overnight protocol test with tight limits
Armin Ronacher asked an agent to work on AirPlay overnight, and the agent’s check involved loud playback that ended up waking him.
Describe a bracket and have the agent model it
Brennan spoke a bracket request to an AI and used the result to get a printable part without opening CAD.
Coordinate a swarm on an open math problem
A public dashboard tracked multiple AI agents attacking P vs. NP, with Lean checking each claim before it counted.