Skip to main content
MalwarePublished Updated

envfile-sync-cli (npm) · Malicious Code

Affects envfile-sync-cliSource GCVE Database

0

Malicious package : remove envfile-sync-cli and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 15:55 UTC

Classification

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

ProductAffectedFixed in
npmenvfile-sync-cliAffected
  • =2.0.0
  • =3.0.0
  • =1.0.2
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.

References

Community reviews

Loading reviews…