From bug report to working exploit: presenting PoCo at ASE 2026
In a smart contract audit, a finding nobody can reproduce is just an opinion. That's why auditors attach a proof-of-concept exploit, a test that actually drains the funds or breaks the invariant. Writing those PoCs by hand is slow and error-prone, and it competes with tight audit deadlines.
The idea
PoCo is an agentic framework that takes the vulnerability description an auditor already wrote, in plain
natural language, and produces an executable PoC exploit. The agent runs a ReAct loop: it reads the code,
writes a test, runs forge compile and forge test, reads the errors, and tries again
until the exploit's assertions pass.
- Input: a vulnerability annotation and the smart contract codebase.
- Tools: compile and test, plus read, write, grep and a todo list.
- Output: a Foundry PoC whose assertions demonstrate the bug.
Why it matters for repair
This connects to the rest of my PhD. In our TSE paper we asked whether automated fixes truly mitigate exploits, and you can only answer that if you have exploits to test against. PoCo gives us those exploits automatically, so patches can be checked against an actual attack and not just a static warning.
Read more
The paper is out in ACM TOSEM (with Vivi Andersson, Harald Hobbelhagen and Martin Monperrus). Read it on arXiv, browse the results, or grab the Proof-of-Patch dataset.