JANUS: A Difference-Oriented Analyzer for Financial Centralized Risks in Smart Contracts

View at publisher
Authors: Wansen Wang, P. F. Zhang, Renjie Ji, Wenchao Huang, Zhaoyi Meng, Jie Cui, Hong Zhong, Yan Xiong
Cited by: 1
References: 28

Abstract

Some smart contracts violate decentralization principles by defining privileged accounts that manage other users' assets without permission, introducing centralized risks that have caused financial losses. Existing methods, however, face challenges in accurately detecting diverse centralized risks due to their dependence on predefined behavior patterns. In this paper, we propose JANUS, an automated analyzer for Solidity smart contracts that detects financial centralized risks independently of their specific behaviors. JANUS identifies differences between states reached by privileged and ordinary accounts, and analyzes whether these differences are finance-related. Focusing on the impact of risks rather than behaviors, JANUS achieves improved accuracy compared to existing tools and can uncover centralized risks with unknown patterns. To evaluate JANUS's performance, we compare it with other tools using a dataset of 540 contracts. Our evaluation demonstrates that JANUS outperforms representative tools in terms of detection accuracy for financial centralized risks. Additionally, we evaluate JANUS on a real-world dataset of 33,151 contracts, successfully identifying two types of risks that other tools fail to detect. We also prove that the state traversal method and variable summaries, which are used in JANUS to reduce the number of states to be compared, do not introduce false alarms or omissions in detection.

Fields of Study & Subjects

Blockchain Technology Applications and Security FinTech Crowdfunding Digital Finance Financial Reporting and XBRL

Publication details

Journal / source
IEEE Transactions on Dependable and Secure Computing
Publisher
Institute of Electrical and Electronics Engineers (IEEE)
Volume
23
Issue
3
Pages
6536–6549
Publication date
16 February 2026