RUSTSEC-2025-0155
`rands` was removed from crates.io for malicious code
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.
What each source reports
OSVNo score
`rands` was removed from crates.io for malicious code
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.
- Record
RUSTSEC-2025-0155- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
randscrates.io | 0.0.0-0 and later | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
RUSTSEC-2025-0155 is a vulnerability with no CVSS score yet in rands, published February 10, 2025. No source lists public exploit code. No source names a fixed version.