paperbot · PL 论文追踪

全部论文 待读 收藏

SPSYN: Synthesizing DeFi Price-Manipulation Exploits via Semantic Recovery and State-Guided Search

SPSYN:通过语义恢复与状态引导搜索合成 DeFi 价格操纵利用
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 0 inbox
Bosi Zhang, Ningyu He, Guangdong Bai, Haoyu Wang
crossref: 2026-10-09

AI 速览

一句话:结合 LLM 语义恢复与状态引导搜索,在具体链上快照合成可获利的 DeFi 价格操纵利用。

价格操纵是 DeFi 中最具破坏性的漏洞之一。现有方法多止于告警或依赖固定模板,难以在具体链上状态下判定协议能否被获利利用。SPSYN 结合语义恢复与状态引导搜索:先提取结构化跨合约上下文,用 LLM 恢复攻击相关的受害者侧函数角色,组织为阶段一致的候选与场景引导种子;再在语义感知状态机上对具体链快照做状态引导搜索,利用运行时反馈引导序列扩展与变异。语义恢复缩小搜索空间,实际执行验证可获利性。在 29 个历史事件上,SPSYN 为 27 个(93.1%)合成获利见证,优于 ItyFuzz、CPMMX、FlashSyn,中位首次见证时间 114 秒;链上部署另发现 9 个未报告漏洞,潜在利润 3.51 万美元。

问题
DeFi 价格操纵漏洞危害严重,但现有方法多只生成告警或套用固定攻击模板,难以在具体链上状态下判断受害者协议是否可被获利利用。
方法
SPSYN 先提取结构化跨合约上下文,利用 LLM 恢复攻击相关的受害者侧函数角色,并组织为阶段一致候选和场景引导种子;随后在语义感知状态机上对具体链快照进行状态引导搜索,结合运行时观测合成 exploit witness。
评估
在 29 个历史事件上,SPSYN 为 27 个(93.1%)合成获利利用见证,优于 ItyFuzz、CPMMX 和 FlashSyn,成功案例中位首次见证时间为 114 秒。在以太坊和 BSC 链上部署时,还发现 9 个此前未报告的可获利漏洞,潜在利润合计 3.51 万美元。
原文摘要(Abstract)

Price manipulation is one of the most damaging vulnerability classes in decentralized finance (DeFi) protocols. Existing approaches mainly stop at warning generation or rely on rigid attack templates, and therefore struggle to determine whether a victim protocol is profitably exploitable under a concrete chain state. This problem is challenging because the attack-relevant victim-side steps are highly protocol-specific, while successful exploitation further depends on brittle runtime conditions such as reserve states, token-specific guards, and narrow numeric ratios. In this paper, we present SPSYN, a DeFi price-manipulation exploit synthesizer that combines semantic recovery with state-guided search. SPSYN first extracts structured cross-contract contexts and uses an LLM to recover attack-relevant victim-side function roles. It then organizes the recovered functions into stage-consistent candidates and scenario-guided initial seeds. Finally, it synthesizes exploit witnesses on a concrete chain snapshot through state-guided search under a semantic-aware state machine. Runtime observations reveal whether the transformed sequence has established a meaningful anomaly, whether it should continue to be expanded, and how later mutations should be refined. In this design, semantic recovery narrows the search to the right victim-side actions, while exploitability is validated through actual execution on the target snapshot. On 29 historical incidents, SPSYN synthesizes profitable exploit witnesses for 27 cases (93.1%), outperforming ItyFuzz (11/29), CPMMX (19/29), and FlashSyn (7/29), with a median time-to-first witness of 114 seconds on successful cases. During on-chain deployment across Ethereum and Binance Smart Chain, SPSYN further discovers 9 previously unreported profitable vulnerabilities with a cumulative potential profit of $35.1K.

链接与引用

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

BibTeX
@inproceedings{paperbot12186,
  title = {SPSYN: Synthesizing DeFi Price-Manipulation Exploits via Semantic Recovery and State-Guided Search},
  author = {Bosi Zhang and Ningyu He and Guangdong Bai and Haoyu Wang},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3837520}
}