New Malicious Rust Crates Impersonate fast_log to Steal Solana and Ethereum Wallet Keys
A pair of malicious Rust crates masquerading as the popular fast_log library have been uncovered, harvesting private Solana and Ethereum keys from developers’ environments.
The impostor crates include legitimate-looking logging functionality to evade detection, while a hidden routine scans source files for wallet keys and exfiltrates them to a hardcoded command-and-control (C2) endpoint. Between them, the two crates accumulated 8,424 downloads before being removed from crates.io.
On May 25, 2025, the threat actors uploaded faster_log version 1.7.8 and async_println version 1.0.1 to crates.io, copying the README, repository links, and naming conventions of the genuine fast_log package.
Socket’s Threat Research Team identified two counterfeit packages—faster_log and async_println—published under the aliases rustguruman and dumbnbased.
Socket’s AI Scanner flagged faster_log as known malware after detecting typosquatting indicators and the presence of exfiltration code.
Within hours of Socket reporting the incident, Crates.io security—which operates in coordination with the Rust Security Response WG and the Rust Foundation—preserved the malicious files for analysis, removed the listings to block further downloads, locked the rustguruman and dumbnbased publisher accounts, and published an official advisory detailing their investigation and remediation steps.
Although the crates compile and function as basic logging libraries, they contain a “packer” module that:
Because the malicious crates depend only on standard libraries and the popular reqwest HTTP client, they operate identically across Linux, macOS, and Windows, and they can run both at application runtime and within CI pipelines.
By copying the legitimate fast_log’s metadata and preserving core logging behavior, the attackers increased the likelihood of casual acceptance by developers.
This incident highlights the growing risk of supply-chain attacks driven by minimal code changes and name impersonation. Even a small malicious routine hidden in an otherwise benign library can compromise developer workstations and CI environments.
Organizations should treat this as a supply-chain security incident and take the following actions immediately:
To defend against future impostor packages, security teams can deploy multi-layered solutions:
As ecosystems mature, attackers will refine their techniques—embedding malicious logic in build scripts or macros, rotating C2 endpoints, and leveraging geofencing to blend exfiltration with normal RPC traffic. Vigilance, strict secret hygiene, and layered defense-in-depth remain essential to securing modern development supply chains.
Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…