{"id":"RUSTSEC-2025-0146","summary":"`sha-rust` was removed from crates.io for malicious code","details":"It appeared to be attempting to steal credentials from local files.","aliases":["GHSA-3mmg-7c2q-8938"],"modified":"2026-03-17T22:45:08.560695Z","published":"2025-12-05T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/sha-rust"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2025-0146.html"},{"type":"WEB","url":"https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust/"},{"type":"WEB","url":"https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials"}],"affected":[{"package":{"name":"sha-rust","ecosystem":"crates.io","purl":"pkg:cargo/sha-rust"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":[],"arch":[],"os":[]}},"database_specific":{"cvss":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0146.json","categories":["malicious"],"informational":null}}],"schema_version":"1.7.5"}