dev-env-check (npm) · Malicious Code
Affects dev-env-checkSource GCVE Database
Malicious package : remove dev-env-check and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:50 UTC
Malicious package
Published to npm · OSV MAL-2026-14176
What to do
Remove dev-env-check 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 |
|---|---|---|
| npmdev-env-check | 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 npm package 'dev-env-check' version 1.0.3 contains malicious code that executes during installation on Windows systems. It uses a postinstall hook to run a PowerShell command that downloads and executes a file named msedge_update.exe from a suspicious external URL, impersonating a Microsoft Edge update. The malicious behavior is obfuscated using XOR encoding with misleading comments. The package falsely advertises itself as a development environment validator but performs unauthorized remote code execution.