GHSA-vgr2-r5hm-f6gf `sha-rst` was removed from crates.io for malicious code

Not scored Published

A malicious Rust crate exfiltrated credentials, requiring users to remove the compromised dependency from their projects.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is GHSA-vgr2-r5hm-f6gf?

GHSA-vgr2-r5hm-f6gf is a vulnerability in sha-rst, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This crate was used as a dependency by finch_cli_rust 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!

Which versions are affected by GHSA-vgr2-r5hm-f6gf?

3 open source packages ship an affected version, including sha-rst.

PackageAffectedFixed in
sha-rst crates.ioAll versionsNone
sha-rst crates.ioAll versionsNone
sha-rst crates.ioFrom 0.0.0-0None

How do I fix GHSA-vgr2-r5hm-f6gf?

No fix has been published for GHSA-vgr2-r5hm-f6gf yet. Limit exposure of the affected software until one is available.

Is GHSA-vgr2-r5hm-f6gf being exploited?

There is no known exploitation of GHSA-vgr2-r5hm-f6gf in the wild and no public exploit code.

Sources

Also known as RUSTSEC-2025-0151.

Is GHSA-vgr2-r5hm-f6gf in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free