paperbot · PL 论文追踪

全部论文 待读 收藏

P2 AllocScope: Towards Automated Vetting of Allocation Manipulation in Smart Contracts

AllocScope:面向智能合约中分配操纵的自动化审查
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 3/10 · 该论文是面向智能合约的静态分析框架,虽属于程序分析领域,但未涉及用户核心关注的 PL 与 AI 交叉(如 LLM/Agent 用于程序分析或程序分析用于 ML/Agent),也不涉及浮点程序分析或贝叶斯程序分析,应用场景与研究方向匹配度低。引用 0 inbox
Yu Pan, Jing Li, Qi Zhang, Xifeng Jin, Yuannan Yang, Dan She
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出以审计员为中心的静态分析框架 AllocScope,通过建模资金分配流语义自动发现智能合约中的分配操纵漏洞。

DeFi 合约中错误的资金分配逻辑会导致代币分配不公,而每个操作单独看都合法,现有静态分析器和运行时检测器难以捕捉。AllocScope 是面向审计员的静态分析框架,通过建模与分配相关的资金流语义来识别分配操纵漏洞。它构建资金分配图,追踪用户贡献与所得支付之间的关系,并定位导致不公平结果的逻辑。作者在 8000 多个真实合约上评估,取得零假阴性;有经验的审计员用户研究也确认其发现准确、可操作,且易于集成到标准审计流程中。

问题
DeFi 智能合约中资金分配逻辑存在缺陷时可造成不公正的代币分配,但相关操作孤立看均合法,现有静态分析与运行时检测难以捕获这类分配操纵漏洞。
方法
AllocScope 构建资金分配图以追踪用户贡献与所得支付的关系,并基于分配相关资金流语义进行静态分析,识别导致不公平结果的分配逻辑。
评估
在 8000 多个真实合约上评估,报告零假阴性;并通过有经验的审计员用户研究验证其发现准确、可操作且易集成到标准审计工作流。
原文摘要(Abstract)

Flawed funds allocation logic in DeFi contracts can result in disproportionate token distribution, reflecting fundamental errors in how contracts determine and assign user payouts. These issues extend beyond funds allocation logic and affect token distribution mechanisms. Existing defenses such as static analyzers and runtime detectors fail to capture these behaviors because each operation appears valid in isolation. In this work, we present AllocScope, an auditor-centric static analysis framework that identifies allocation manipulation vulnerabilities by modeling allocation-related fund flow semantics and generating vulnerability findings for auditors. AllocScope constructs a funds allocation graph to track the relationship between user contributions and received payouts, and identifies logic that result in unfair outcomes. Evaluated on over 8,000 real-world contracts, AllocScope achieves zero false negatives. A user study with experienced auditors confirms that its findings are accurate, actionable, and easy to integrate into standard auditing workflows.

链接与引用

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

BibTeX
@inproceedings{PanLZJYS26,
  title = {AllocScope: Towards Automated Vetting of Allocation Manipulation in Smart Contracts},
  author = {Yu Pan and Jing Li and Qi Zhang and Xifeng Jin and Yuannan Yang and Dan She},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3805223}
}