envfile-sync-cli (npm) · Malicious Code
Affects envfile-sync-cliSource GCVE Database
Malicious package : remove envfile-sync-cli and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:55 UTC
Malicious package
Published to npm · OSV MAL-2026-6590
What to do
Remove envfile-sync-cli 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 |
|---|---|---|
| npmenvfile-sync-cli | 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 envfile-sync-cli contains a malicious native Windows binary that is loaded silently on import. This binary is redundant with existing JavaScript code and is concealed by misleading documentation and branding that impersonates a different package. The package ships attacker-controlled native code disguised to evade detection, indicating a supply chain compromise via a typosquatting attack.