Over $6 Million Stolen: Trust Wallet Source Code Compromised, How Did Official Version Become Hacker Backdoor?
Original Title: "Trust Wallet Plugin Version Attacked, Loss Exceeds $6 Million, Urgent Patch Released by Officials"
Original Author: ChandlerZ, Foresight News
On the morning of December 26, Trust Wallet issued a security alert, confirming a security vulnerability in Trust Wallet browser extension version 2.68. Users of version 2.68 should immediately disable the extension and upgrade to version 2.69. Please upgrade through the official Chrome Web Store link.
According to PeckShield monitoring, the Trust Wallet vulnerability exploit has led the hacker to steal over $6 million in cryptocurrency from victims.
Currently, about $2.8 million of the stolen funds remain in the hacker's wallet (Bitcoin / EVM / Solana), while over $4 million in cryptocurrency has been transferred to centralized exchange platforms, including: around $3.3 million to ChangeNOW, around $340,000 to FixedFloat, and around $447,000 to Kucoin.
As the number of affected users surged, code auditing for Trust Wallet version 2.68 began immediately. The security analysis team SlowMist, by comparing the source code differences between 2.68.0 (malicious version) and 2.69.0 (fixed version), discovered that the hacker had implanted a seemingly legitimate data collection code, turning the official plugin into a privacy-stealing backdoor.
Analysis: Trust Wallet Developer's Device or Code Repository Compromised by Attacker
According to SlowMist security team analysis, the core carrier of this attack was confirmed to be Trust Wallet browser extension version 2.68.0. By comparing it to the fixed version 2.69.0, security personnel found a highly disguised malicious code in the old version. As shown in the figure.


The backdoor code added a PostHog to collect various privacy information of the wallet users (including mnemonic phrases) and send it to the attacker's server api.metrics-trustwallet [.] com.
Based on code changes and on-chain activities, SlowMist provided an estimated timeline of the attack:
· December 8: The attacker begins relevant preparations;
· December 22: Successfully rolls out version 2.68 with the implanted backdoor;
· December 25: Taking advantage of the Christmas holiday, the attacker starts transferring funds based on stolen mnemonic phrases, which is later exposed.
Furthermore, SlowMist analysis believes that the attacker appears to be very familiar with Trust Wallet's extension source code. It is worth noting that the current patched version (2.69.0) has severed the malicious transfer but has not removed the PostHog JS library.
Additionally, SlowMist Technology's Chief Information Security Officer 23pds posted on social media, stating, "According to SlowMist's analysis, there is reason to believe that Trust Wallet-related developers' devices or code repositories may have been compromised by the attacker. Please disconnect the network promptly to investigate the relevant personnel's devices." He pointed out, "Users affected by the Trust Wallet version must first disconnect the network, then export the mnemonic phrase to transfer assets. Otherwise, assets will be stolen when the wallet is opened online. Those with a mnemonic backup must transfer assets first before upgrading the wallet."
Plugin Security Incidents are Common
At the same time, he pointed out that the attacker seems very familiar with Trust Wallet's extension source code, implanting PostHog JS to collect various wallet information from users. The current Trust Wallet fixed version has not removed PostHog JS.
This Trust Wallet official version turning into a trojan reminds the market of several highly risky attacks on hot wallet frontends in recent years. From attack methods to vulnerability causes, these cases provide important reference points for understanding this incident.
· When Official Channels Are No Longer Secure
Most similar to this Trust Wallet incident are attacks on software supply chains and distribution channels. In such events, users not only did not make mistakes but were even victims because they downloaded "genuine software."
Ledger Connect Kit Poisoning Incident (December 2023): Hardware wallet giant Ledger's frontend code repository was hacked by a hacker who gained permission through phishing and uploaded a malicious update package. This contaminated several top dApp frontends, including SushiSwap, displaying fake connection windows. This event is considered a textbook case of a "supply chain attack," proving that even companies with excellent security reputations, their Web2 distribution channels (such as NPM) are still high-risk single points of failure.
Hola VPN and Mega Extension Hijacking (2018): Back in 2018, the developer account of the popular VPN service Hola's Chrome extension was compromised. The hacker pushed an "official update" containing malicious code specifically designed to monitor and steal MyEtherWallet users' private keys.
· Code Vulnerability: Mnemonic Phrase Exposure Risk
Aside from supply chain attacks, implementation vulnerabilities when handling mnemonic phrases, private key material, and other sensitive data in wallets can also lead to significant asset loss.
Slope Wallet Log Data Collection Controversy (August 2022): The Solana ecosystem experienced a large-scale fund theft event, and a post-incident investigation report highlighted Slope Wallet as sending private keys or mnemonic phrases to a Sentry service (the Sentry service referred to the privately deployed Sentry service by the Slope team, not the official Sentry interface or service). However, a security firm's analysis also stated that the investigation into the Slope Wallet app has so far been unable to definitively prove that the root cause of the event was the Slope Wallet. There is a significant amount of technical work to be done, and further evidence is needed to explain the core cause of this event.
Trust Wallet Low-Entropy Key Generation Vulnerability (Disclosed as CVE-2023-31290, Exploits Traceable to 2022/2023): The Trust Wallet browser extension was found to have insufficient randomness: attackers could efficiently identify and derive potentially affected wallet addresses within a specific version range due to the enumerability introduced by a mere 32-bit seed, leading to fund theft.
· The Game of "The Good, the Bad, and the Ugly"
Within the extension wallet and browser search ecosystem, there has long been a gray-hat production chain consisting of fake plugins, fake download pages, fake update pop-ups, fake customer service DMs, and more. Once users install from unofficial channels or enter mnemonic phrases/private keys on phishing pages, their assets can be instantly drained. As events escalate to potentially impacting official versions, users' security perimeters are further reduced, often resulting in a surge of secondary scams.
At the time of writing, Trust Wallet has urged all affected users to promptly complete the version update. However, with ongoing movements of stolen on-chain funds, it is evident that the repercussions of this "Christmas heist" are far from over.
Whether it's Slope's plaintext logs or Trust Wallet's malicious backdoor, history is alarmingly repetitive. This once again serves as a reminder to every crypto user not to blind trust any single software endpoint. Regularly check authorizations, diversify asset storage, stay vigilant against suspicious version updates—perhaps this is the survival guide through the crypto dark forest.
You may also like

BankrCoin Achieves New Milestones as YZi Labs and ETH Investors Make Significant Moves
Key Takeaways BankrCoin (BNKR) hit a new all-time high with significant market activity. YZi Labs executed a major…

Bitcoin Tests $75K Amid Market Predictions
Key Takeaways Bitcoin shows a 47% chance to test the $75,000 mark this February, contrasting with a potential…

MrBeast Acquires Step to Enhance Financial Offerings for Youth
Key Takeaways YouTube star MrBeast has acquired the financial services platform Step through Beast Industries. The acquisition aims…

Polymarket Predicts Bitcoin Uptrend as MrBeast Ventures into Fintech
Key Takeaways Bitcoin’s Potential Surge: Polymarket denotes a fluctuating probability of Bitcoin achieving $75,000 in February, reflecting volatile…

MrBeast Enters Financial Services with Step Acquisition
Key Takeaways Binance announced an Alpha Airdrop event, highlighting the growing trend of gamified airdrops. Bitcoin prediction markets…

Analysts Predict Bitcoin May Fall to $55K as Support Levels Threaten
Key Takeaways Analysts suggest a potential drop of Bitcoin to $55K if current support levels are breached. Galaxy…

Analysts Predict Bitcoin May Drop to $55K Amid Support Challenges
Key Takeaways Experts caution that Bitcoin could fall to $55,000 if current support levels are breached. The market…

Bitcoin May Decline to $55K: Analysts Warn
Key Takeaways Analysts project Bitcoin could drop to $55,000 if key support levels fail. Technical analysts forecast that…

YZI Labs Transfers Massive ID Tokens to Binance as BNKR Hits New High
Key Takeaways BNKR, a digital currency, has achieved its highest-priced milestone of $0.295 CAD as of January 26,…

MrBeast Acquires Step, Expanding Influence in Teen Finance Market
Key Takeaways MrBeast has acquired the financial services app Step, which caters specifically to Gen Z users. Step…

Analysts Predict Bitcoin’s Critical Support Level May Trigger Decline
Key Takeaways Experts indicate a crucial moment for Bitcoin, with potential price drop to $55,000 if support fails.…

Michael Saylor Faces Bitcoin Valuation Challenges: Impact on the Crypto Market
Key Takeaways Michael Saylor’s Bitcoin investment is currently valued at $55 billion, but recent market trends have seen…

MrBeast Acquires Step FinTech App in Strategic Move
Key Takeaways MrBeast’s company, Beast Industries, has announced the acquisition of Step, a fintech app focused on Gen…

Bitcoin’s Potential Surge Sparks Debate Among Investors
Key Takeaways The probability that Bitcoin will reach $75,000 in February fluctuates as predicted by Polymarket. Bitcoin recently…

Analysts Predict Bitcoin’s Potential Plunge to $55K
Key Takeaways Analysts warn of a possible drop to $55K if Bitcoin’s current support breaks. 10X Research and…

Bitcoin’s Critical Threshold: The Significance of $55,000 USD
Key Takeaways Bitcoin’s value is set to rise from $55,000 to $99,000 if it maintains a growth cycle…

Analysts Predict Bitcoin Drop to $55K as Support Wavers
Key Takeaways Analysts caution that Bitcoin’s price could plummet to $55K if current support levels fail. Galaxy Digital’s…

MrBeast Acquires Step, Expanding Fintech Influence
Key Takeaways MrBeast’s company, Beast Industries, has acquired the Gen Z-focused fintech app Step, which targets teens with…
BankrCoin Achieves New Milestones as YZi Labs and ETH Investors Make Significant Moves
Key Takeaways BankrCoin (BNKR) hit a new all-time high with significant market activity. YZi Labs executed a major…
Bitcoin Tests $75K Amid Market Predictions
Key Takeaways Bitcoin shows a 47% chance to test the $75,000 mark this February, contrasting with a potential…
MrBeast Acquires Step to Enhance Financial Offerings for Youth
Key Takeaways YouTube star MrBeast has acquired the financial services platform Step through Beast Industries. The acquisition aims…
Polymarket Predicts Bitcoin Uptrend as MrBeast Ventures into Fintech
Key Takeaways Bitcoin’s Potential Surge: Polymarket denotes a fluctuating probability of Bitcoin achieving $75,000 in February, reflecting volatile…
MrBeast Enters Financial Services with Step Acquisition
Key Takeaways Binance announced an Alpha Airdrop event, highlighting the growing trend of gamified airdrops. Bitcoin prediction markets…
Analysts Predict Bitcoin May Fall to $55K as Support Levels Threaten
Key Takeaways Analysts suggest a potential drop of Bitcoin to $55K if current support levels are breached. Galaxy…