Skip to main content
VulnerabilityPublished Updated

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

Affects env-test-guardSource GCVE Database

0
Severity
High

Rated High by Threat Radar's AI analysis

Data as of 10 Nov 2026, 13:33 UTC

What to do

Affected software

ProductAffectedFixed in
crates.ioenv-test-guardpkg:cargo/env-test-guardOther threatsAffected
  • >=0.0.0-0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The crate has been removed from crates.io, preventing further downloads. Users should ensure they do not use or depend on `env-test-guard`.

Description

`env-test-guard` was a malicious Rust crate published on crates.io that attempted to exfiltrate environment credentials to an arbitrary URL. It had two versions published in March 2026 and was removed approximately eight months later. There is no evidence that it was actually used in the wild.

References

Community reviews

Loading reviews…