Early this morning Beijing time, @zachxbt posted a message on his channel stating that "some Trust Wallet users have reported that funds have been stolen from their wallet addresses in the past few hours."
Author: SlowMist Security Team
background
Early this morning Beijing time, @zachxbt posted a message on his channel stating that "some Trust Wallet users reported that funds were stolen from their wallet addresses in the past few hours." Subsequently, Trust Wallet's official account also released an official statement confirming that Trust Wallet browser extension version 2.68 has a security risk and advising all users using version 2.68 to immediately disable it and upgrade to version 2.69.

Tactics and Techniques
Upon receiving the intelligence, the SlowMist security team immediately began analyzing the relevant samples. Let's first look at a comparison of the core code of the previously released versions 2.67 and 2.68:


By diffing the two versions of the code, the following malicious code added by the hacker was discovered:

The malicious code iterates through all wallets in the plugin and sends a "get seed phrase" request to each user's wallet to obtain the user's encrypted seed phrase. Finally, it decrypts the mnemonic phrase using the password or passkeyPassword entered by the user when unlocking the wallet. If decryption is successful, the user's seed phrase is sent to the attacker's domain api.metrics-trustwallet[.]com .

We also analyzed the attacker's domain information. The attacker used the domain: metrics-trustwallet.com.

According to the inquiry, the malicious domain name was registered on 2025-12-08 at 02:28:18, and the domain name service provider is NICENIC INTERNATIONA.
The first request to api.metrics-trustwallet[.]com was recorded on December 21, 2025.

This timing coincides almost exactly with the time when the backdoor was implanted in code 12.22.
We continued to reproduce the entire attack process through code tracing and analysis:
Dynamic analysis reveals that after unlocking the wallet, attackers can be seen filling the error field with seed phrase information in R1.

The source of this error data is obtained through the GET_SEED_PHRASE function call. Currently, Trust Wallet supports two unlocking methods: password and passkeyPassword. When unlocking, the attacker obtains the password or passkeyPassword, then calls GET_SEED_PHRASE to obtain the wallet's seed phrase(the private key is similar), and then puts the seed phrase into the "errorMessage".

The following is the code that uses emit to call GetSeedPhrase to retrieve seed phrase data and populate it into error.

Traffic analysis using BurpSuite showed that after obtaining the seed phrase, it was encapsulated in the errorMessage field of the request body and sent to the malicious server (https://api.metrics-trustwallet.com), which is consistent with the previous analysis.

The above process completes the seed phrase/private key theft attack. Additionally, the attacker is likely familiar with the extension source code, which injects PostHog JS to collect user wallet information. However, the Trust Wallet fix did not remove PostHog JS, and the official team should also remove this related code.
Analysis of stolen assets

According to the hacker addresses disclosed by ZachXBT, our statistics show that, as of the time of writing, approximately 33 BTC (worth about 3 million USD) of assets were stolen from the Bitcoin blockchain, approximately 431 USD from the Solana blockchain, and approximately 3 million USD from various other blockchains including the Ethereum mainnet and Layer 2. After the theft, the hackers transferred and exchanged some of the assets using various centralized exchanges and cross-chain bridges.


Summarize
This backdoor incident stemmed from malicious source code modification of Trust Wallet's internal codebase (analysis service logic), rather than the introduction of a tampered generic third-party package (such as a malicious npm package). The attackers directly modified the application's own code, using the legitimate PostHog library to redirect analytics data to a malicious server. Therefore, we have reason to believe this was a professional APT attack, and the attackers may have gained control of the devices or deployment permissions of Trust Wallet's developers before December 8th.
suggestion:
After backing up your private key/ seed phrase, transfer your funds to another wallet as soon as possible.
If you have installed the Trust Wallet extension wallet, you should disconnect from the internet immediately as a prerequisite for troubleshooting and taking any action.
Export your private key/ seed phrase immediately and uninstall the Trust Wallet extension wallet.
Disclaimer: As a blockchain information platform, the articles published on this site represent only the personal views of the authors and guests and do not reflect the position of Web3Caff. The information contained in the articles is for reference only and does not constitute any investment advice or offer. Please comply with the relevant laws and regulations of your country or region.
Welcome to the official Web3Caff community : Twitter account | Web3Caff Research Twitter account | WeChat reader group | WeChat official account





