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.

Done with Custom agent· Advanced· Nov 2026

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.