• News/
  • https://www.bleepingcomputer.com/news/security/malicious-rust-packages-on-cratesio-steal-crypto-wallet-keys/

Malicious Rust packages on Crates.io steal crypto wallet keys

BleepingComputer
·
Bill Toulas
·
Published Sep 25, 2025
·
Updated

Two malicious packages with nearly 8,500 downloads in Rust's official crate repository scanned developers' systems to steal cryptocurrency private keys and other secrets. Rust crates are distributed through a central registry at Crates.io, the equivalent of npm for JavaScript, PyPI for Python, and Ruby Gems for Ruby. The malicious crates, named faster_log and async_println, were published on the platform on May 25 and were downloaded 7,200 and 1,200 times, respectively. Researchers at code security company Socket discovered the malicious crates and reported them to Crates.io. The platform removed both and suspended the publishing accounts, 'rustguruman' and 'dumbnbased', on September 24th. Socket explains in a report that the two crates impersonated the legitimate ‘fast_log’ crate, copying its README file, repository metadata, and retaining the real project’s logging functionality to reduce suspicion. The attackers exploited the log file packing functionality to scan for sensitive information. A payload hidden in the malicious crates executed at runtime to scan the victim’s environment and project source files for the following three item types: When the code found matches, it bundled it with the file path and line number and exfiltrated the data to a hardcoded Cloudflare Worker URL address (mainnet[.]solana-rpc-pool[.]workers[.]dev). Socket confirmed that this endpoint was live and accepting POST requests during its tests, noting that the host is not an official Solana RPC ...

Read full article

Affected Software

2 affected components
Rust faster_log
Rust async_println
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the main security issue discussed in the article?

The article reports on two malicious Rust packages on Crates.io that were found to scan developers' systems for cryptocurrency private keys.

2

How many downloads did the malicious Rust packages receive?

The two malicious packages collectively had nearly 8,500 downloads.

3

What types of secrets do the malicious packages attempt to steal?

The malicious packages are designed to steal cryptocurrency private keys and other sensitive information.

4

What is the significance of Crates.io in the Rust ecosystem?

Crates.io is the official package registry for Rust, similar to npm for JavaScript and PyPI for Python.

5

Which specific Rust packages were identified as malicious?

The malicious packages identified were Rust's faster_log and async_println.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203