Security Digest · Critical advisory (no CVE assigned)
GHSA-vgr2-r5hm-f6gf: `sha-rst` was removed from crates.io for malicious code
This crate was used as a dependency by finchclirust and finch-rst and contained a malware payload to exfiltrate credentials.
GitHub-reviewed · critical
Should you act?
- Malicious code, not a bug. If any listed version was ever installed, assume the machine and every secret on it are compromised: remove it, rotate credentials, rebuild.
- Only if you depend on one of the packages below, directly or transitively, in a vulnerable version. Check your lockfile with
cargo audit. - No CVE has been assigned, so it will not appear in CVE-based scanners that ignore GitHub advisories.
npm audit,pip-auditand Dependabot do read GitHub advisories.
Affected packages
| Ecosystem | Package | Vulnerable | First fixed |
|---|---|---|---|
| crates.io (Rust) | sha-rst | >= 0 | none listed |
Details
This crate was used as a dependency by finchclirust and finch-rst and contained a malware payload to exfiltrate credentials.
The malicious crate had 1 version published on 2025-12-08 and had been downloaded 22 times. Other than the other crates above that were part of the attack, no other crates depedended on this crate.
Thanks to Matthias Zepper of NGI Sweden for reporting this to the crates.io team!
Sources and references
- GitHub Advisory GHSA-vgr2-r5hm-f6gf github.com
- rustsec.org rustsec.org
Critical crates.io (Rust) advisories · Today’s Security Digest