LiquiLM: Bridging the Semantic Gap in Liquidity Flaw Audit via DCN and LLMs
Zekai Liu, Xiaoqi Li, Wenkai Li, Zongwei Li

TL;DR
LiquiLM is a novel framework combining LLMs and DCN to detect and explain liquidity flaws in smart contracts, significantly improving accuracy and aiding vulnerability discovery in DeFi ecosystems.
Contribution
The paper introduces LiquiLM, a new approach that bridges semantic gaps between code and liquidity intents using LLMs and DCN, enhancing flaw detection in liquidity management smart contracts.
Findings
Achieves over 90% F1-score in liquidity flaw detection.
Successfully identifies 238 high-risk contracts in real-world audits.
Discovers 10 CVE-certified vulnerabilities in Ethereum contracts.
Abstract
Traditional consensus mechanisms, such as Proof of Stake (PoS), increasingly reveal an excessive dependency on large liquidity providers. Although the Proof of Liquidity (PoL) mechanism serves as a critical paradigm for incentivizing sustained liquidity provision and ensuring market stability, its transition from asset staking to active liquidity management significantly increases the complexity of underlying smart contract economic models and interaction logic. This renders hidden liquidity logic flaws difficult to detect via traditional methods, seriously threatening the system stability and user asset security of mainstream DeFi and emerging PoL ecosystems. To address this, we propose the LiquiLM framework, which integrates Large Language Models (LLMs) with a Dynamic Co-Attention Network (DCN). By establishing a dynamic interaction between liquidity-critical contracts and flaw…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
