SEVERITY NOT PROVIDED

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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
`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.

References

Source records: RUSTSEC-2026-0469 (OSV.dev).