Reproduce “From Transactions to Exploits: Automated PoC Synthesis for Real-World DeFi Attacks” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xing Su, Hao Wu, Hanzhong Liang, Yunlin Jiang, Yuxi Cheng, Yating Liu, Fengyuan Xu
TracExp is an automated framework that generates verifiable proofs-of-concept (PoCs) for decentralized finance (DeFi) attacks directly from observed on-chain transaction traces. It successfully reproduced 164 real-world attacks from a benchmark of 321 incidents with an average cost of $0.07 per case, demonstrating efficiency and scalability.
Key insights
- Integrating concrete runtime values into symbolic decompilation allows for deterministic control-flow recovery and precise modeling of memory and local variables, overcoming limitations of static analysis.
- Leveraging LLMs within a constrained, sketch-based synthesis framework, combined with iterative, profit-oriented validation, mitigates hallucination risks and ensures semantic exploitability.
- Directly working with on-chain execution traces enables PoC generation for closed-source attack contracts, broadening applicability beyond code-centric vulnerability analysis.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.