RUSTSEC-2026-0469: `env-test-guard` was removed from crates.io for malicious code
Published 2026-11-09 · Updated 2026-11-10
Summary
The env-test-guard crate contained malicious code designed to exfiltrate environment credentials to an arbitrary URL. All engineering teams using crates.io dependencies should review their projects for this package.
Who is affected
Deployments including any version of the env-test-guard crate are affected if the malicious code executes in an environment containing sensitive credentials. The malicious functionality attempts to transmit environment variables to an external attacker-controlled destination.
Exploitability
The CVSS vector is not provided, the EPSS is not yet available, and CISA KEV status is no. There is no evidence of actual usage reported for the crate.
Remediation
- Remove the env-test-guard crate from your Cargo.toml and project dependencies.
- Rotate any environment credentials that may have been exposed.
How to check your project
- Check project Cargo.lock and Cargo.toml files for any reference to the env-test-guard package.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | env-test-guard |
>= 0.0.0-0 (no fix published) | not published | - |
FAQ
What is env-test-guard?
env-test-guard is a malicious crate on crates.io that was removed due to credential exfiltration behavior.
Are there any fixed versions available?
No fixed version is published.
Was this crate actively exploited in the wild?
There is no evidence of actual usage or active exploitation documented in CISA KEV.
Original advisory description
References
- PACKAGE https://crates.io/crates/env-test-guard
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0469.html
Source records: RUSTSEC-2026-0469 (OSV.dev).