Verifying Economic Security of Smart Contracts via Unintended Return
Yi Rong, Xupeng Li, Ronghui Gu
Key points
From the paper's conclusion- We propose CMod, an economic model for analyzing the economic security of decentralized finance (DeFi) smart contract code.
Abstract
We propose CMod, an economic model for analyzing the economic security of decentralized finance (DeFi) smart contract code. CMod defines the notions of economic value, intended-return conditions, and unintended single-transaction return, and reasons about economic security by proving the absence of unintended single-transaction return. Based on CMod, we co-design CSol, an automated verification tool for Solidity that reasons about path properties in multi-contract environments via bounded symbolic execution. CSol incorporates three categories of optimizations: CMod-oriented path pruning and inductive verification, proof-goal simplification, and solver acceleration. Our evaluation shows that CMod and CSol can be applied to real-world contract code and characterize economically exploitable vulnerabilities. CSol verifies 245 real-world contracts, identifies 6 live scam contracts, detects 16 of 18 real-world exploits and 92 of 104 audit-stage findings, and exposes one misidentification in an existing tool's benchmark.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Do Automated Fixes Truly Mitigate Smart Contract Exploits?IEEE Transactions on Software Engineering · 2025
- SmarTrim: Symbolic Execution for Smart Contracts Powered by Redundant Transaction-Sequence PruningProceedings of the ACM on software engineering. · 2026
- Augmenting Smart Contract Decompiler Output Through Fine-Grained Dependency Analysis and LLM-Facilitated Semantic RecoveryIEEE Transactions on Software Engineering · 2025
- SecureFlow: An LLM-Based Multi-Agent System for Automated Smart Contract Vulnerability Detection and PatchingJournal of Cybersecurity and Privacy · 2026
- Smart Contract Invariants Protect Against CybercriminalsarXiv · 2026
- SEMA: Self-Evolving Multi-Agent Auditing for Smart ContractsElectronics · 2026