Published January 4, 2024 | Version v1
Software Open

Artifact for FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation

  • 1. University of Toronto

Description

This artifact accompanies the paper titled "FlashSyn: Flash Loan Attack Synthesis via Counter Example Driven Approximation," and offers a reusable Python implementation of FlashSyn, with scripts to replicate the main experiments. The artifact can also be found on Github

The artifact's purpose is to enable exploration of our novel framework for automating the synthesis of flash loan attack vectors in decentralized finance (DeFi) protocols. Our artifact will generate flash loan attacks targeting 16 benchmarks in the paper. Our artifact will first rerun the experiments and reproduce experimental data. Then a separate script will be provided to extract tables in our paper from the experimental data. 

The artifact assumes proficiency in Python (required) and familiarity with smart contract testing frameworks like Foundry (optional) for effective utilization. We provide a Docker image for Linux AMD, which was tested on a Ubuntu desktop. We recommend reviewers use a Ubuntu desktop for evaluation.

Files

FlashSyn_Artifact.zip

Files (452.3 MB)

Name Size Download all
md5:dcbd9afbbfbe6330dc03fea19a3c88b1
452.3 MB Preview Download