Trust Wallet made a significant announcement on November 14th, 2022, unveiling its newly launched browser extension for wide usage.
The browser extension grants direct access to digital assets on multiple blockchains, a highly anticipated complement to the existing iOS and Android apps in Trust Wallet’s ecosystem.
However, recently, security analysts at Ledger Donjon found a major vulnerability in this browser extension. The newly discovered flaw enables asset theft from any wallet created with it, and for this, no user interaction is needed.
Moreover, Trust Wallet depends on the Trust Wallet Core; it’s a versatile library for blockchain wallets, which is now targeting Wasm since April 2022.
Trust Wallet Core is mostly portable, but some modules are target-specific, notably secure random generation for cryptographic material like:-
All implementations use OS-provided pseudorandom number generator (PRNG):-
The Wasm target lacks a common strong PRNG and system interfaces for browsers and Node.js environments.
The critical vulnerability arises due to using Mersenne Twister PRNG in wallet-core for Wasm, which is unfit for cryptography, and the single 32-bit seed input in mt19937.
The 32-bit seed in Wasm wallet-core allows just 2^32 (4 billion) mnemonics, generated quickly in a single computer within a couple of hours.
Here below we have mentioned all the abilities that it grants to the attackers:-
The closed-source extension easily analyzes code and relies on vulnerable Wasm in Trust Wallet Core to create the 12-word mnemonic from a 128-bit seed during wallet creation.
The auto-generated Wasm wrapper HDWallet.create exploits the vulnerable random_buffer, risking mnemonic retrieval via brute force attack. While besides this, it handles various assets such as:-
PRNG seed to address transformation which necessitates the steps that we have mentioned below:-
Here below we have mentioned all the standard derivation mechanisms that are used:-
The Trust Wallet extension address verification tool quickly tests 32 million addresses with a Python script; 1,873,720 dataset’s private key computation, which took 4 min 22s only.
Despite disclosure and patch, $100k remains at risk in wallets, with Trust Wallet promising repayment for stolen funds.
This vulnerability exemplifies the worst crypto bug – accounts compromised forever. Ledger devices ensure good randomness with certified smartcard chips for 40 years of tamper resistance.
Keep yourself informed about the latest Cyber Security News by following us on GoogleNews, Linkedin, Twitter, and Facebook.
Kimsuky is using GitHub and other trusted code platforms to deliver malware, run commands, and…
A critical SonicWall SMA1000 flaw, CVE-2026-102255 (CVSS 10.0), is being actively exploited days after disclosure,…
Canonical, the company behind Ubuntu Linux, suffered a sustained distributed denial-of-service attack on October 8,…
Yandex has confirmed a major service outage after drone attacks damaged three data centers in…
Attackers are targeting a critical security flaw in the Bricksforge WordPress plugin that lets them…
Security researchers have disclosed four serious vulnerabilities in LG webOS smart TVs that could allow…