Rust advisories / mysten-metrics
Vulnerability CriticalRUSTSEC-2026-0107 · mysten-metrics
RUSTSEC-2026-0107: `mysten-metrics` was removed from crates.io for malicious code
Short answerA security vulnerability in the mysten-metrics crate: `mysten-metrics` was removed from crates.io for malicious code. GitHub rates it Critical. No fixed version: replace the crate or remove the affected code path.
| Crate | mysten-metrics |
|---|---|
| Type | Vulnerability (malicious) |
| Affected versions | Every version. |
| Fixed in | none |
| Severity | Critical (GitHub rating) |
| Published | 2026-04-22 |
| Last changed | 2026-05-06 |
| Also known as | GHSA-g38r-8gmr-ghrf |
What to do
- Find who pulls it in:
cargo tree -i mysten-metrics. - Avoid the affected API, or replace the crate.
Details from the advisory
mysten-metrics included a build script that attempted to exfiltrate data from the build machine.
The malicious crate had 1 version published on 2026-04-20 and had no evidence of actual usage. This crate had no dependencies on crates.io.
References
- Package: crates.io/crates/mysten-metrics
- Advisory: rustsec.org/advisories/RUSTSEC-2026-0107.html
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for mysten-metrics
Up next
Same cratemysten-metrics: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?