win-env-setup (npm) · Malicious Code
Affects win-env-setupSource GCVE Database
Malicious package : remove win-env-setup and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 15:08 UTC
Malicious package
Published to npm · OSV MAL-2026-7439
What to do
Remove win-env-setup from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmwin-env-setuppkg:npm/win-env-setupOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The win-env-setup npm package versions 3.0.5 and 3.0.6 contain malicious code. This threat involves a malicious package distributed via the npm ecosystem. No CVSS score or detailed technical description is provided. There is no information about patches or vendor advisories. No known exploits in the wild have been reported.