VDB
Sign up
—

RUSTSEC-2023-0110

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

Details

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 Louis Lang at [Phylum] (now [Veracode]) for reporting this malware campaign.

[Phylum]: https://phylum.io/ [Veracode]: https://www.veracode.com/

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/postgresderive
Introduced in: 0.0.0-0

No fixed version published yet for postgresderive. Pin to a known-safe version or switch to an alternative.

References