RUSTSEC-2023-0099
not scored yet`envlogger` was removed from crates.io for malicious code
This crate was part of a typosquatting malware cluster published by the malicious user amaperf and contained a malware payload in build.rs to exfiltrate host information to the attacker.
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.
Thanks to Veracode (formerly phylum)for
reporting this to the crates.io team!
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | envlogger | >= 0.0.0-0 |
References
- https://crates.io/crates/envlogger · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0099.html · ADVISORY
- https://www.veracode.com/blog/rust-malware-staged-on-crates-io/ · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Aug 2023)