# GHSA-g38r-8gmr-ghrf: `mysten-metrics` was removed from crates.io for malicious code

- Severity: Critical (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-04-22T12:00:00.000Z
- Modified: 2026-05-06T06:56:26.201Z
- Also known as: RUSTSEC-2026-0107
- Weaknesses: CWE-506

## Description

`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.

(As written by GitHub Advisory Database.)

## Affected

- mysten-metrics (crates.io): all versions; from 0.0.0-0

## References

- <https://github.com/MystenLabs/sui> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0107.html> (advisory, web)
- <https://crates.io/crates/mysten-metrics> (package)

## Sources

- GitHub Advisory Database: [GHSA-g38r-8gmr-ghrf](https://github.com/advisories/GHSA-g38r-8gmr-ghrf), CC-BY-4.0, modified 2026-05-06
- RustSec Advisory Database: [RUSTSEC-2026-0107](https://rustsec.org/advisories/RUSTSEC-2026-0107.html), CC0-1.0, modified 2026-05-06

---

Page: https://cve.day/GHSA-g38r-8gmr-ghrf · Whole record: https://cve.day/GHSA-g38r-8gmr-ghrf.json · Rebuilt by cve.day 2026-11-25T22:56:43.340Z
