NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

evt-dispatchernpm

Advisory published Updated

evt-dispatcher is a confirmed malicious npm package (MAL-2026-20421) that executes malicious code on install (malicious versions 1.0.2, 1.0.3, 1.0.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in evt-dispatcher (npm)

MAL-2026-20421
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall evt-dispatcher

What this malware does

Package presents as a ~10-line event emitter but index.js unconditionally loads a platform-selected native addon (native.napi.node on Linux/macOS, native_win.node on Windows) inside four repeated try/catch blocks, so merely require()ing the package runs the native code. The addon references the strings %s/.napi_cache, /tmp/.%u, %s.nc%lu.js, and node "%s", and imports fopen64/fread/fwrite/chmod/fork/setsid/execlp/_exit; the Windows build mirrors this via node.exe and CreateProcessA. A 1,328,481-byte sibling file .napi_cache is shipped at the package root with no printable strings — an opaque payload the loader decodes, writes to /tmp/.<n>.nc<n>.js, and executes with node. The addon also contains an evasion harness that checks for CI runners (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER), containers (/proc/1/cgroup, /proc/1/cmdline, dockerinit, /proc/meminfo, /proc/cpuinfo), and debuggers (TracerPid: in /proc/self/status, wireshark/httpdebug in /proc/self/maps, IsDebuggerPresent/CheckRemoteDebuggerPresent/CreateToolhelp32Snapshot on Windows) to gate execution so the dropper stays dormant in automated analysis environments and fires only on developer workstations. None of this behavior is required by, or related to, the advertised event-emitter API.

Malicious versions

5 flagged
1.0.21.0.31.0.41.0.51.0.6

Indicators of compromise (SHA-256)

1651e57ad7d57928d036520e53a98e0c6d1782349849ef77ea10b0d0c3a1c9e5
3a77fa7dd4f3e60b14eafd6db3a21f082f3a304d4ae2dc9752f04225671e8d5e
6606862f65d553a5686c7918df7a10dcd7af8062e262236db4814bf20eb673c5
be108d02b7664da83f1f86a03ba9be247f385bd1a7d7dd82b9bc6cf96f658213
fe178ae49d7280173364bc1cf09daa2472fb91e99e6775a647d6fbcdad0d61f6

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for evt-dispatcher (5 malicious versions).

  2. If you installed it — respond

    Remove evt-dispatcher from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If evt-dispatcher was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. evt-dispatcher on npm has been identified as a malicious package (versions 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023075IN-MAL-2026-023073IN-MAL-2026-023071IN-MAL-2026-023072IN-MAL-2026-023074

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks evt-dispatcher-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.

Explore

evt-dispatcher (npm) malicious package — MAL-2026-20421 | O3 Security