paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Safeguarding DeFi Smart Contracts against Oracle Deviations

保护 DeFi 智能合约免受预言机偏差影响
ICSE Proceedings of the IEEE/ACM 46th International Conference on Software Engineering2024匹配度 3/10 · 论文使用符号分析与 SMT 求解对 DeFi 智能合约做安全性验证和防护语句生成,方法上属于程序分析与形式化验证,但与用户核心方向(ML/Agentic 程序的静态分析、LLM 与静态分析/浮点/贝叶斯程序分析的交叉)没有直接关系,且不涉及 LLM/Agent 或浮点/贝叶斯分析。引用 16 inbox
Xun Deng, Sidi Mohamed Beillahi, Cyrus Minwalla, Han Du, Andreas Veneris, Fan Long
crossref: 2026-09-12

AI 速览

一句话:提出 OVer 框架,用符号分析与 SMT 求解自动分析预言机偏差下的 DeFi 协议安全性并生成防护语句。

本文针对 DeFi 协议中预言机输入被操纵或发生显著偏差时的安全问题,提出自动分析框架 OVer。OVer 首先对给定合约进行符号分析,构建约束模型,再借助 SMT 求解器搜索能使协议保持安全运行的参数;对于依赖预言机取值的智能合约,还可生成 guard 语句,以阻止预言机操纵攻击。作者在 10 个涵盖多种 DeFi 协议的基准上评估 OVer,结果显示其均能成功分析。论文进一步表明,多数基准当前采用的参数在预言机大幅偏差时不足以保障安全,而引入延迟等临时控制机制往往无效甚至有害。

问题
DeFi 智能合约依赖预言机价格,预言机偏差或操纵会破坏协议安全;现有临时防护机制缺乏系统保障。
方法
OVer 对合约做符号分析并构建约束模型,使用 SMT 求解器识别安全参数,并为使用预言机值的合约生成 guard 语句。
评估
在 10 个多样化 DeFi 协议基准上评估,证明可成功分析,并揭示现有参数与延迟等机制在显著偏差下不足或有害。
原文摘要(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 illustrates that current parameters utilized in the majority of benchmarks are inadequate to ensure safety when confronted with significant oracle deviations. It shows that existing ad-hoc control mechanisms such as introducing delays are often in-sufficient or even detrimental to protect the DeFi protocols against the oracle deviation in the real-world.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11305,
  title = {Safeguarding DeFi Smart Contracts against Oracle Deviations},
  author = {Xun Deng and Sidi Mohamed Beillahi and Cyrus Minwalla and Han Du and Andreas Veneris and Fan Long},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3597503.3639225}
}