Advisory

RUSTSEC-2025-0155

Also known as: None

Summary

rands was removed from crates.io for malicious code

Details

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.

Severity

Not rated by the source.

Dates

Published
2025-02-10 12:00 UTC
Modified
2026-03-26 06:30 UTC

Affected packages and fixes

rands

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences