Loading cryptocurrency prices...

Malicious Rust Crates Steal Ethereum, Solana Wallet Keys

Malicious Rust Packages Found on Crates.io Stealing Solana and Ethereum Wallet Keys

  • Researchers found two malicious Rust packages disguised as a popular library targeting crypto wallet keys.
  • The compromised packages, named faster_log and async_println, had over 8,400 downloads before removal.
  • These packages stole Solana and Ethereum private keys from source code and sent them to a command-and-control server.
  • The crates copied legitimate code and documentation, making them appear trustworthy to developers.
  • The Rust package registry has removed the malicious crates and preserved user logs for investigation.

Cybersecurity researchers identified two harmful Rust packages distributed on crates.io that imitated a well-known logging library to steal private crypto wallet keys. The crates, called faster_log and async_println, appeared to be legitimate software, but their true purpose was to collect Solana and Ethereum wallet keys from developers’ source code.

- Advertisement -

According to Socket, a software supply chain security firm, the attacker used the aliases rustguruman and dumbnbased and published the crates on May 25, 2025. Together, these packages reached 8,424 downloads before being taken down. Security researcher Kirill Boychenko said the crates worked as logging tools but secretly searched for wallet keys and sent any found to a hardcoded web address controlled by the attacker.

“The malicious code was executed at runtime, when running or testing a project depending on them,” explained Walter Pearce from Crates.io. He added, “Notably, they did not execute any malicious code at build time. Except for their malicious payload, these crates copied the source code, features, and documentation of legitimate crates, using a similar name to them.” After a responsible disclosure, crates.io removed the packages and disabled both user accounts.

Socket described the tactic as a supply chain attack using typosquatting—where names similar to real packages deceive users. The fake packages kept all normal logging functions but added code that searched files with the .rs extension for wallet keys and uploaded them to a server hosted at mainnet.solana-rpc-pool.workers[.]dev.

Attackers also duplicated the README file and linked to the real fast_log GitHub project, making the bogus packages harder to identify. The use of a domain similar to Solana’s real Mainnet beta RPC endpoint further increased the risk of confusion.

- Advertisement -

Crates.io reported that the malicious crates did not have any dependent packages and the related GitHub accounts remain active. According to Boychenko, “A functional logger with a familiar name, copied design, and README can pass casual review, while a small routine posts private wallet keys to a threat actor-controlled C2 endpoint. Unfortunately, that is enough to reach developer laptops and CI.”

✅ Follow BITNEWSBOT on Telegram, Facebook, LinkedIn, X.com, and Google News for instant updates.

Previous Articles:

- Advertisement -

Latest News

Russia to Float First Chinese Yuan Bonds in December 2025

Russia plans to issue its first bonds denominated in the Chinese yuan in December...

Bitcoin Dips Below $100K, JPMorgan Predicts $170K by 2026

Bitcoin's price recently dropped below $100,000, falling to around $94,000 before rebounding.JPMorgan analysts identified...

Aster Confirms Tokenomics Unchanged After CMC Data Mix-Up

Aster confirms no changes to its tokenomics after update discrepancies triggered community concern.Incorrect token...

Five Guilty in US Scheme Aiding North Korean IT Worker Fraud

Five individuals pleaded guilty to aiding North Korea in illicit revenue by enabling fraudulent...

XRP Selling Pressure Rises Amid ETF Debut and Market Shifts

Selling pressure on XRP has increased amid market volatility but recent regulatory progress may...
- Advertisement -

Must Read

8 Best Bitcoin Offshore Hosting Providers

In this blog post, we'll list the top 8 best bitcoin offshore hosting providers that accept Bitcoin and other cryptocurrencies.As Bitcoin continues to grow...