Cybersecurity researchers have found two malicious Rust crates impersonating a respectable library known as fast_log to steal Solana and Ethereum pockets keys from supply code.
The crates, named faster_log and async_println, have been revealed by the menace actor beneath the alias rustguruman and dumbnbased on Might 25, 2025, amassing 8,424 downloads in whole, in keeping with software program provide chain safety firm Socket.
“The crates embrace working logging code for canopy and embed routines that scan supply information for Solana and Ethereum personal keys, then exfiltrate matches through HTTP POST to a hardcoded command and management (C2) endpoint,” safety researcher Kirill Boychenko said.
Following accountable disclosure, the maintainers of crates.io have taken steps to take away the Rust packages and disable the 2 accounts. It has additionally preserved logs of the menace actor-operated customers together with the malicious crates for additional evaluation.
“The malicious code was executed at runtime, when working or testing a undertaking relying on them,” Crates.io’s Walter Pearce said. “Notably, they didn’t execute any malicious code at construct time. Besides for his or her malicious payload, these crates copied the supply code, options, and documentation of respectable crates, utilizing an identical identify to them.”
The typosquatting assault, as detailed by Socket, concerned the menace actors retaining the logging performance of the particular library, whereas introducing malicious code adjustments throughout a log packing operation that recursively searched Rust information (*.rs) in a listing for Ethereum and Solana personal keys and bracketed byte arrays and exfiltrate them to an Cloudflare Staff area (“mainnet.solana-rpc-pool.staff[.]dev”).
Apart from copying fast_log’s README and setting the bogus crates’ repository discipline to the actual GitHub undertaking, using “mainnet.solana-rpc-pool.staff[.]dev” is an try to mimic Solana’s Mainnet beta RPC endpoint “api.mainnet-beta.solana[.]com.”
In response to crates.io, the 2 crates didn’t have any dependent downstream crates, nor did the customers publish different crates on the Rust package deal registry. The GitHub accounts linked to the crates.io writer accounts stay accessible as of writing. Whereas the GitHub account dumbnbased was created on Might 27, 2023, rustguruman didn’t exist till Might 25, 2025.
“This marketing campaign exhibits how minimal code and easy deception can create a provide chain danger,” Boychenko stated. “A purposeful logger with a well-recognized identify, copied design, and README can move informal assessment, whereas a small routine posts personal pockets keys to a menace actor-controlled C2 endpoint. Sadly, that is sufficient to attain developer laptops and CI.”
















