跳到主要导航 跳到搜索 跳到主要内容

Detecting State Manipulation Vulnerabilities in Smart Contracts Using LLM and Static Analysis

  • Xi'an Jiaotong University
  • Yunnan Power Grid Co., Ltd.

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

An increasing number of DeFi protocols are gaining popularity, facilitating transactions among multiple anonymous users. State Manipulation is one of the notorious attacks in DeFi smart contracts, with price variable being the most commonly exploited state variable-attackers manipulate token prices to gain illicit profits. In this paper, we propose PriceSleuth, a novel method that leverages the Large Language Model (LLM) and static analysis to detect Price Manipulation (PM) attacks proactively. PriceSleuth firstly identifies core logic function related to price calculation in DeFi contracts. Then it guides LLM to locate the price calculation code statements. Secondly, PriceSleuth performs backward dependency analysis of price variables, instructing LLM in detecting potential price manipulation. Finally, PriceSleuth utilizes propagation analysis of price variables to assist LLM in detecting whether these variables are maliciously exploited. We presented preliminary experimental results to substantiate the effectiveness of PriceSleuth. And we outline future research directions for PriceSleuth.

源语言英语
主期刊名16th International Conference on Internetware, Internetware 2025 - Proceedings
编辑Hong Mei, Jian Lv, Zhi Jin, Xuandong Li, Thomas Zimmermann, Ge Li, Lei Bu, Xin Xia
出版商Association for Computing Machinery, Inc
317-320
页数4
ISBN(电子版)9798400719264
DOI
出版状态已出版 - 27 10月 2025
活动16th International Conference on Internetware, Internetware 2025 - Trondheim, 挪威
期限: 20 6月 202522 6月 2025

出版系列

姓名16th International Conference on Internetware, Internetware 2025 - Proceedings

会议

会议16th International Conference on Internetware, Internetware 2025
国家/地区挪威
Trondheim
时期20/06/2522/06/25

学术指纹

探究 'Detecting State Manipulation Vulnerabilities in Smart Contracts Using LLM and Static Analysis' 的科研主题。它们共同构成独一无二的指纹。

引用此