PoCo: Agentic Proof-of-Concept Exploit Generation for Smart Contracts

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Andersson, Vivi, Bobadilla, Sofia, Hobbelhagen, Harald, Monperrus, Martin
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916048208396288
author Andersson, Vivi
Bobadilla, Sofia
Hobbelhagen, Harald
Monperrus, Martin
author_facet Andersson, Vivi
Bobadilla, Sofia
Hobbelhagen, Harald
Monperrus, Martin
contents Smart contracts operate in a highly adversarial environment, where vulnerabilities can lead to substantial financial losses. Thus, smart contracts are subject to security audits. In auditing, proof-of-concept (PoC) exploits play a critical role by demonstrating to the stakeholders that the reported vulnerabilities are genuine, reproducible, and actionable. However, manually creating PoCs is time-consuming, error-prone, and often constrained by tight audit schedules. We introduce PoCo, an agentic framework that automatically generates executable PoC exploits from natural-language vulnerability descriptions written by auditors. PoCo autonomously generates PoC exploits in an agentic manner by interacting with a set of codeexecution tools in a Reason-Act-Observe loop. It produces fully executable exploits compatible with the Foundry testing framework, ready for integration into audit reports and other security tools. We evaluate PoCo on a dataset of 23 real-world vulnerability reports. PoCo consistently outperforms the Zero-shot and Workflow baselines, generating well-formed and logically correct PoCs. Our results demonstrate that agentic frameworks can significantly reduce the effort required for high-quality PoCs in smart contract audits. Our contribution provides actionable knowledge for the smart contract security community.
format Preprint
id arxiv_https___arxiv_org_abs_2511_02780
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PoCo: Agentic Proof-of-Concept Exploit Generation for Smart Contracts
Andersson, Vivi
Bobadilla, Sofia
Hobbelhagen, Harald
Monperrus, Martin
Cryptography and Security
Artificial Intelligence
Software Engineering
Smart contracts operate in a highly adversarial environment, where vulnerabilities can lead to substantial financial losses. Thus, smart contracts are subject to security audits. In auditing, proof-of-concept (PoC) exploits play a critical role by demonstrating to the stakeholders that the reported vulnerabilities are genuine, reproducible, and actionable. However, manually creating PoCs is time-consuming, error-prone, and often constrained by tight audit schedules. We introduce PoCo, an agentic framework that automatically generates executable PoC exploits from natural-language vulnerability descriptions written by auditors. PoCo autonomously generates PoC exploits in an agentic manner by interacting with a set of codeexecution tools in a Reason-Act-Observe loop. It produces fully executable exploits compatible with the Foundry testing framework, ready for integration into audit reports and other security tools. We evaluate PoCo on a dataset of 23 real-world vulnerability reports. PoCo consistently outperforms the Zero-shot and Workflow baselines, generating well-formed and logically correct PoCs. Our results demonstrate that agentic frameworks can significantly reduce the effort required for high-quality PoCs in smart contract audits. Our contribution provides actionable knowledge for the smart contract security community.
title PoCo: Agentic Proof-of-Concept Exploit Generation for Smart Contracts
topic Cryptography and Security
Artificial Intelligence
Software Engineering
url https://arxiv.org/abs/2511.02780