RUSTSEC-2025-0155 `rands` was removed from crates.io for malicious code
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
This crate attempted to typosquat the rand crate, and would link in a malware
payload on macOS and Linux hosts when built.
This advisory is to retrospectively document this attempted attack. The version
information and download records of the malicious crate are no longer
available. The related malicious crates have been yanked, and the malicious
account has been banned.
Upgrade path
1 package: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io rands(crates.io) | >= 0.0.0-0 | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io rands(crates.io) | >= 0.0.0-0 | No fix listed |
References
- crates.io product
- rustsec.org vendor-advisory