Safeguarding DeFi Smart Contracts against Oracle Deviations
Xun Deng, Sidi Mohamed Beillahi, Cyrus Minwalla, Han Du, Andreas, Veneris, Fan Long

TL;DR
This paper introduces OVer, a framework that automatically analyzes DeFi smart contracts for oracle deviation vulnerabilities, generating guard statements to prevent manipulation and revealing that current parameters are often insufficient for safety.
Contribution
OVer is the first automated symbolic analysis framework for detecting oracle deviation vulnerabilities in DeFi smart contracts, enhancing security measures.
Findings
OVer successfully analyzed 10 diverse DeFi benchmarks.
Most existing parameters are inadequate against oracle deviations.
Guard statements can be generated to prevent oracle manipulation attacks.
Abstract
This paper presents OVer, a framework designed to automatically analyze the behavior of decentralized finance (DeFi) protocols when subjected to a "skewed" oracle input. OVer firstly performs symbolic analysis on the given contract and constructs a model of constraints. Then, the framework leverages an SMT solver to identify parameters that allow its secure operation. Furthermore, guard statements may be generated for smart contracts that may use the oracle values, thus effectively preventing oracle manipulation attacks. Empirical results show that OVer can successfully analyze all 10 benchmarks collected, which encompass a diverse range of DeFi protocols. Additionally, this paper also illustrates that current parameters utilized in the majority of benchmarks are inadequate to ensure safety when confronted with significant oracle deviations.
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Cryptography and Data Security · Security and Verification in Computing
