An empirical study on implicit constraints in smart contract static analysis


연구 분야: Verification



학회: ICSE-SEIP '22: Proceedings of the 44th International Conference on Software Engineering: Software Engineering in Practice


초록

Smart contracts are usually financial-related, which makes them attractive attack targets. Many static analysis tools have been developed to facilitate the contract audit process, but not all of them take account of two special features of smart contracts: (1) The external variables, like time, are constrained by real-world factors; (2) The internal variables persist between executions. Since these features import implicit constraints into contracts, they significantly affect the performance of static tools, such as causing errors in reachability analysis and resulting in false positives. In this paper, we conduct a systematic study on implicit constraints from three aspects. First, we summarize the implicit constraints in smart contracts. Second, we evaluate the impact of such constraints on the state-of-the-art static tools. Third, we propose a lightweight but effective mitigation method named ConSym to deal with such constraints and integrate it into OSIRIS. The evaluation result shows that ConSym can filter out 96% of false positives and reduce false negatives by two-thirds.


Author Profile
Yixiong Wu

Tsinghua University China

China
Author Profile
Chao Zhang

Tsinghua University China

China
Author Profile
Tingting Yin

Tsinghua University China

China

📄 논문 정보

발행 연도 2022년
인용수 2
출판 국가 China
사이트 ACM
좋아요 수 0

연관 논문 목록 (122건)