WalletProbe : A Testing Framework for Browser-based Cryptocurrency Wallet Extensions

Xiaohui Hu, Ningyu He, Haoyu Wang · 2025

Read WalletProbe : A Testing Framework for Browser-based Cryptocurrency Wallet Extensions by Xiaohui Hu, Ningyu He, Haoyu Wang (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2504-11735.txt.

Introduction

Xiaohui Hu, Ningyu He, and Haoyu Wang present WalletProbe, a 2025 testing framework for browser cryptocurrency wallet extensions. Wallets are the front door to crypto assets and a prime hacker target. Earlier studies mapped wallet flaws only coarsely, missing interaction-level and advanced-feature risks. WalletProbe mutates inputs and judges results with visual-level oracles to pinpoint component flaws.

The team cataloged 13 attack vectors and 21 concrete attack strategies. Applied to 39 widely used wallet extensions, the framework found every single one abusable to steal user assets. Findings were reported to developers promptly, and 26 issues have been patched. The authors promise to release code and data, and urge the community to treat wallet security as urgent.

Catalog record

CREATORXiaohui Hu, Ningyu He, Haoyu Wang
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE71 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2504-11735

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

WalletProbe : A Testing Framework for Browser-based Cryptocurrency Wallet Extensions Xiaohui Hu, Ningyu He, Haoyu Wang Abstract . Serving as the first touch point for users to the cryptocurrency world, cryptocurrency wallets allow users to manage, receive, and transmit digital assets on blockchain networks and interact with emerging decentralized finance (DeFi) applications. Unfortunately, cryptocurrency wallets have always been the prime targets for attackers, and incidents of wallet breaches have been reported from time to time. Although some recent studies have characterized the vulnerabilities and scams related to wallets, they have generally been characterized in coarse granularity, overlooking potential risks inherent in detailed designs of cryptocurrency wallets, especially from perspectives including user interaction and advanced features. To fill the void, in this paper, we present a fine-grained security analysis on browser-based cryptocurrency wallets. To pinpoint security issues of components in wallets, we design WalletProbe , a mutation-based testing framework based on visual-level oracles. We have identified 13 attack vectors that can be abused by attackers to exploit cryptocurrency wallets and exposed 21 concrete attack strategies. By applying WalletProbe on 39 widely-adopted browser-based wallet extensions, we astonishingly figure out all of them can be abused to steal crypto assets from innocent users . Identified potential attack vectors were reported to wallet developers timely and 26 issues have been patched already. It is, hence, urgent for our community to take action to mitigate threats related to cryptocurrency wallets. We promise to release all code and data to promote the development of the community. CCS: Security and privacy Software and application security 1. Introduction The cryptocurrency ecosystem is experiencing rapidly expansion. As of April 2025, there are 17,143 cryptocurrencies in circulation ( int, 2024 ) , and the global cryptocurrency adoption rate has reached 60.61%, with over 560 million users worldwide ( int, 2025 ) . This surge in adoption has fueled the growth of supporting services, particularly browser-based tools such as wallets and transaction security checkers . Wallets ( e.g. , MetaMask ( met, 2024b ) ) enable users to manage and interact with their on-chain assets, while transaction security checkers ( e.g. , Wallet Guard ( wal, 2024 ) ) enhance asset security by linking to user wallets, analyzing submitted transactions, and issuing timely alerts. We regard these wallets and transaction security checkers as wallet extensions . Wallet extensions deliver a spectrum of services. Most are multi-chain, supporting the signing of both transactions and messages ( sig, 2024 ) . Some also provide transaction simulation, allowing users to preview transaction outcomes and estimate balance changes. Given the substantial losses caused by users’ unawareness of transaction risks, wallet extensions may integrate security alert modules to detect malicious intents embedded in signings and issue timely warnings. While transaction security checkers focus on identifying security threats, wallets emphasize user-friendly features, enabling users to interact through intuitive UI elements, such as token searches and simple transactions ( e.g. , token transfers, swaps, and cross-chain exchanges). However, wallet extensions remain a hotspot for fraud. In February 2025 alone, cryptocurrency wallets were linked to losses exceeding $1.53 billion ( 202, 2025b ) . The following month, a hacker compromised over 600 wallets and stole more than 930 million ARB tokens ( 202, 2025a ) . Wallet extensions are also vulnerable to user mistakes ( cry, 2024 ) ; by June 2024, scams on Trust Wallet (including ice phishing and fake giveaways) had increased dramatically ( tru, 2024b ) . Among existing studies, only the work by Ye et al. specifically focuses on scam patterns that exploit wallet functionalities ( Ye et al., 2024 ) . Yet beyond these, we have identified many real-world scams that exploit wallet extension features in novel ways. Previous research has not explored abuse related to wallet extensions. While previous studies have examined cryptocurrency scams ( Phillips and Wilder, 2020 ; Li et al., 2023 ; Xia et al., 2020 ; Xia et al., 2024b ; Ji et al., 2020 ) and summarized wallet security issues ( Suratkar et al., 2020 ; Taruna and Rishabh, 2022 ; Houy et al., 2023 ) , they focus largely on code-level vulnerabilities from a software analysis perspective, overlooking threats arising during wallet operation. Moreover, although some attack vectors have been discussed, many wallet extensions remain exposed and new strategies continue to emerge. This underscores the need for systematic testing of wallet extensions to uncover exploitable vectors that can mislead users and result in asset losses, ultimately advancing wallet security in the cryptocurrency ecosystem. This work. To the best of our knowledge, we take the first step to explore attack vectors within the scope of cryptocurrency wallet extensions. More specifically, first, we summarize the general workflow of wallet extensions and abstract them into a three-layer model (§ 2.3 ). Then, we propose WalletProbe , an effective and automated testing framework to pinpoint attack vectors that could be visually misleading to users when interacting with wallet extensions (§ 4 ). We apply WalletProbe to 39 most popular browser-based wallet extensions, and uncover 13 attack vectors, which target three different modules of wallet extensions (§ 6 – § 8 ). For each identified attack vector, not only we detail the attack strategies, but we also try our best to quantify related financial losses and provide mitigation. Not that, once an attack vector is marked by WalletProbe , we immediately contact the development team, providing details, as well as concrete exploits and remediation strategies. Our major contributions can be summarized as follows. • Framework. To the best of our knowledge, we are the pioneers in building a comprehensive testing framework for browser-based cryptocurrency wallet extensions. • Findings. Taking advantage of WalletProbe , we have uncovered 13 unique attack vectors, where six are newly discovered by us, and five were disclosed in the community while we figured out new attack strategies. • Quantification. We build large-scale datasets containing existing known malicious behaviors, like risky ENS names and phishing addresses. Based on them, we track fund flows and quantify financial losses for attack vectors identified. • Feedback. We have disclosed attack vectors to stakeholders in affected extensions. By the time of writing, 16 of them had confirmed our findings and 26 issues had been patched with our aid. Moreover, the national vulnerability database has assigned eight vulnerability IDs. 2. Background 2.1. Ethereum Improvement Proposal (EIP) An Ethereum Improvement Proposal (EIP) is a formal document proposing changes or new features for Ethereum blockchains ( eip, 2024b ) . Some EIPs even provide data structures to standardize the process of signing complex meaningful messages, such as EIP-191 ( eip, 2024c ) , EIP-712 ( eip, 2024a ) , and EIP-4361 ( eip, 2024d ) . Note that EIP-712 and EIP-4361 require specific fields, which are illustrated in the following listing. The chainId specifies the blockchain network for the following transaction execution, and the verifyContract refers to the contract that will verify the signature. Different message formats often require different signing methods, as Table 1 shows. For instance, EIP-712 should be signed by the eth_signTypedData_v4 method. ⬇ properties : { types : { EIP712Domain : { name : string , version : string , salt : bytes32 , chainId : uint256 , verifyContract : address },

Read the complete text