RUSTSEC-2025-0155
JSON

Not scored

`rands` was removed from crates.io for malicious code

Severity
Not scored
Published
Last changed

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.

Affected

Product or packageVersionsReported by
rands (crates.io)from 0.0.0-0RustSec Advisory Database

References

Sources

SourceRecordLicence
RustSec Advisory DatabaseRUSTSEC-2025-0155 changed 2026-03-26CC0-1.0