Skip to content
OpenAdvisories
Unscored RUSTSEC-2026-0469

`env-test-guard` was removed from crates.io for malicious code

Published Nov 9, 2026 · Updated Nov 10, 2026 · Assigned by RUSTSEC

Description

`env-test-guard` attempted to exfiltrate credentials from the environment to an
arbitrary URL.

The malicious crate had 2 versions published on 2026-03-24 and 2026-03-25,
approximately 8 months before removal, and had no evidence of actual usage.
This crate had no dependencies on crates.io.

Thanks to [Bitbison](https://bitbison.io/) for the report.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io env-test-guard >= 0.0.0-0 — RUSTSEC-2026-0469

References