Security mailing lists by PureSourceCode

RUSTSEC-2025-0155

not scored yet

`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.

Published
10 Feb 2025
Last modified
26 Mar 2026
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io rands >= 0.0.0-0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Feb 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.