arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.08520cs.CRcs.CE
收藏

SecPLF:针对预言机操纵攻击的可贷资金安全协议

SecPLF: Secure Protocols for Loanable Funds against Oracle Manipulation Attacks

Sanidhay Arora, Yingjiu Li, Yebo Feng, Jiahua Xu

AI总结:

SecPLF通过跟踪资产价格状态并对预言机使用施加价格阈值约束,以低成本、预言机无关的方式主动防御可贷资金协议中的预言机操纵攻击。

摘要:

去中心化金融(DeFi)不断演变的格局引发了关键的安全问题,尤其是可贷资金协议(PLFs)及其对价格预言机的依赖,而预言机容易受到操纵。闪电贷的出现进一步放大了这些风险,使得日益复杂的预言机操纵攻击成为可能,并可能导致重大财务损失。为应对这一威胁,我们首先通过形式化PLF的标准运行模型和对手模型来剖析攻击机制。基于我们的分析,我们提出了SecPLF,这是一种稳健且实用的解决方案,旨在高效地抵御预言机操纵攻击。SecPLF通过跟踪每种加密资产的价格状态来运行,包括最近价格及其最后更新时间戳。通过对价格预言机的使用施加价格约束,SecPLF确保PLF仅在最后记录的价格落在定义的阈值内时才调用价格预言机,从而消除潜在攻击的获利性。我们基于历史市场数据的评估证实了SecPLF在针对因微小价格差异而产生的套利攻击提供高置信度预防方面的有效性。SecPLF提供了针对预言机操纵攻击的主动保护,具有易于实现、预言机无关特性以及资源和成本效率。

英文摘要:

The evolving landscape of Decentralized Finance (DeFi) has raised critical security concerns, especially pertaining to Protocols for Loanable Funds (PLFs) and their dependency on price oracles, which are susceptible to manipulation. The emergence of flash loans has further amplified these risks, enabling increasingly complex oracle manipulation attacks that can lead to significant financial losses. Responding to this threat, we first dissect the attack mechanism by formalizing the standard operational and adversary models for PLFs. Based on our analysis, we propose SecPLF, a robust and practical solution designed to counteract oracle manipulation attacks efficiently. SecPLF operates by tracking a price state for each crypto-asset, including the recent price and the timestamp of its last update. By imposing price constraints on the price oracle usage, SecPLF ensures a PLF only engages a price oracle if the last recorded price falls within a defined threshold, thereby negating the profitability of potential attacks. Our evaluation based on historical market data confirms SecPLF's efficacy in providing high-confidence prevention against arbitrage attacks that arise due to minor price differences. SecPLF delivers proactive protection against oracle manipulation attacks, offering ease of implementation, oracle-agnostic property, and resource and cost efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑