---
title: "GHSA-3mmg-7c2q-8938: `sha-rust` was removed from crates.io for malicious code"
url: https://erroneo.us/security/ghsa/GHSA-3mmg-7c2q-8938/
description: "GHSA-3mmg-7c2q-8938 (critical, crates.io (Rust)): sha-rust was removed from crates.io for malicious code. It appeared to be attempting to steal credentials…"
type: advisory
section: "Security Digest"
date_published: 2026-02-06
date_modified: 2026-02-06
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-3mmg-7c2q-8938"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-3mmg-7c2q-8938: `sha-rust` was removed from crates.io for malicious code

## Affected packages

- crates.io (Rust) `sha-rust` >= 0 → fixed: none listed

## Details

It appeared to be attempting to steal credentials from local files.

## Sources

- [GitHub Advisory GHSA-3mmg-7c2q-8938](https://github.com/advisories/GHSA-3mmg-7c2q-8938)
- [blog.rust-lang.org](https://blog.rust-lang.org/2025/12/05/crates.io-malicious-crates-finch-rust-and-sha-rust)
- [rustsec.org](https://rustsec.org/advisories/RUSTSEC-2025-0146.html)

---
Source page: https://erroneo.us/security/ghsa/GHSA-3mmg-7c2q-8938/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
