MAL-2026-12045
Malicious code in statist-browser-typed-client-hra.workplacer.events (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (c4cbfd025a99e15c1b81ff3a4bab4b52e4575f00b5328fe210fd8fb3fe9df9f8) On require of the package's main entry (index.js), _polyfill.js downloads a platform-specific binary from one of several hosts whose names are reconstructed at runtime by joining string fragments (resolving to oob-worker.cf102-baf.workers.dev and similar Cloudflare Workers subdomains), with a DNS TXT-record fallback resolving to *.dl.well1.site. The fetched bytes are written to /var/tmp/.cache_<rand> on Unix or %TEMP%\dotnet_diag_<rand>.exe on Windows, chmod 0755'd, and spawned detached via /bin/sh -c or cmd /c start. Host and API names (child_process, chmodSync) are split across array literals and reassembled at runtime to evade static analysis. A sibling file lib/telemetry.js, labeled as an Analytics SDK, ships the same dropper primitives (detached shell spawn of a written file, chmod 0755, base64 chunk assembly, DNS-based service discovery) as an alternate loader. The package advertises itself as an event-emitter client, and the fetched binaries have disguised names (cache file, dotnet_diag) unrelated to that stated purpose. The result is arbitrary remote code execution on any machine that installs or imports this package.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for statist-browser-typed-client-hra.workplacer.events (npm). Pin to a known-safe version or switch to an alternative.