RUSTSEC-2023-0110

Source
https://rustsec.org/advisories/RUSTSEC-2023-0110
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0110.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0110
Published
2023-08-18T12:00:00Z
Modified
2026-03-26T06:30:30.725365Z
Summary
`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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / postgresderive

Package

Name
postgresderive
View open source insights on deps.dev
Purl
pkg:cargo/postgresderive

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "arch": [],
        "functions": [],
        "os": []
    }
}

Database specific

categories
[
    "malicious"
]
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0110.json"
informational
null
cvss
null