Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

envfile-sync-clinpm

Malicious code in envfile-sync-cli (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-6590
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall envfile-sync-cli

What this malware does

On every import of envfile-sync-cli, src/index.js calls process.dlopen on bin/native/parser.node — a 2.9MB Windows PE executable (sha256 b1aace6c70312a39ca39e6bba1d9abc6aaf9b23171089b1a548adc89f67f83c3) shipped in the tarball. The dlopen call uses the canonical load-for-side-effects shape (process.dlopen({ exports: {} }, p) with the exports object discarded), so the binary executes for its side effects rather than to provide a parser API. The native binary is functionally redundant: parse.js already implements the env-file parser in pure JavaScript, so there is no engineering reason for the.node file to exist. The package's documentation actively conceals this code: README states 'Zero dependencies. Installs instantly, nothing to audit' and 'No binary to install', the CHANGELOG only documents v1.0.0 (this version is 2.0.0), and the binary is referenced only obliquely via the bin/native/ entry in package.json's files array. The package is also a name/brand mismatch: package.json's name is envfile-sync-cli while the README, npm badge link (npmjs.com/package/envsync), bin alias (envsync), and CHANGELOG all brand the package as envsync — the standard typosquat delivery vehicle where the README impersonates a legitimate package so users trust it, while the published name differs and ships the hidden payload. The combination — undocumented native binary, silent dlopen at import time, redundant with shipped JS, README that explicitly denies the binary's existence, and brand impersonation of a different package — removes any plausible benign explanation and is consistent with smuggling attacker-controlled native code onto Windows installer machines.

Malicious versions

3 flagged
1.0.22.0.03.0.0

Indicators of compromise (SHA-256)

097a9a647e6d99cd53b881cae4fdd747d03b319388107c946c70b8804d3d917b
51eb2af138b221a6eb2501efddb654c6ee43dc751156b20ed3b31c937184a0f7
80994fef101428d1f5d5b331c1915027cf2731ac888b982736dd557c2778c684

Detection & response playbook

Typosquat
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for envfile-sync-cli (3 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging envfile-sync-cli across your stack and pipelines.

  2. If you installed it — respond

    envfile-sync-cli is a typosquat — you almost certainly intended a legitimately-named package. Remove envfile-sync-cli, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.

  3. Did it already run?

    If envfile-sync-cli was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks envfile-sync-cli before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. envfile-sync-cli on npm has been identified as a malicious package (versions 1.0.2, 2.0.0, 3.0.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-007775IN-MAL-2026-007773IN-MAL-2026-007774

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks envfile-sync-cli-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

envfile-sync-cli (npm) malicious package — MAL-2026-6590 | O3 Security