USCSA: Evolution-Aware Security Analysis for Proxy-Based Upgradeable Smart Contracts
Xiaoqi Li, Lei Xie, Wenkai Li, Zongwei Li

TL;DR
USCSA is a novel security analysis tool for upgradeable smart contracts that leverages AST difference analysis and large language models to detect vulnerabilities caused by upgrades, improving security auditing accuracy.
Contribution
It introduces a new approach combining AST difference analysis and LLM-assisted reasoning to identify upgrade-induced vulnerabilities in smart contracts.
Findings
Achieves 92.26% precision in vulnerability detection
Detects 89.67% of upgrade-related vulnerabilities
Provides a high-confidence, efficient security auditing method
Abstract
In the case of upgrading smart contracts on blockchain systems, it is essential to consider the continuity of upgrades and subsequent maintenance. In practice, upgrade operations often introduce new vulnerabilities. Existing static analysis tools usually only scan a single version and are unable to capture the correlation between code changes and emerging risks. To address this, we propose an Upgradeable Smart Contract Security Analyzer, USCSA, which uses Abstract Syntax Tree (AST) difference analysis to assess risks associated with the upgrade process and utilizes large language models (LLMs) for assisted reasoning to achieve high-confidence vulnerability attribution. We collected and analyzed 3,546 cases of vulnerabilities in upgradeable contracts, covering common vulnerability categories such as reentrancy, access control flaws, and integer overflow. Experimental results show that…
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.
Taxonomy
TopicsBlockchain Technology Applications and Security · Digital Rights Management and Security · Advanced Malware Detection Techniques
