TL;DR
Foray introduces a novel framework for synthesizing effective attacks on deep logical vulnerabilities in DeFi protocols by leveraging a high-level domain-specific language, token flow graphs, and symbolic compilation, significantly improving efficiency over existing methods.
Contribution
The paper presents a new attack synthesis framework that models DeFi protocols with a domain-specific language and token flow graphs, enabling scalable and efficient attack generation.
Findings
Successfully synthesizes attacks for complex DeFi protocols.
Outperforms brute-force methods in efficiency and scalability.
Demonstrates effectiveness on real-world DeFi vulnerabilities.
Abstract
Blockchain adoption has surged with the rise of Decentralized Finance (DeFi) applications. However, the significant value of digital assets managed by DeFi protocols makes them prime targets for attacks. Current smart contract vulnerability detection tools struggle with DeFi protocols due to deep logical bugs arising from complex financial interactions between multiple smart contracts. These tools primarily analyze individual contracts and resort to brute-force methods for DeFi protocols crossing numerous smart contracts, leading to inefficiency. We introduce Foray, a highly effective attack synthesis framework against deep logical bugs in DeFi protocols. Foray proposes a novel attack sketch generation and completion framework. Specifically, instead of treating DeFis as regular programs, we design a domain-specific language (DSL) to lift the low-level smart contracts into their…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
