Skip to content

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

Unknown
Published
Updated
Exploit status
No public exploit known

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 for the report.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
crates.io env-test-guard(crates.io) >= 0.0.0-0 No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
crates.io env-test-guard(crates.io) >= 0.0.0-0 No fix listed

References