MAL-2026-13945 Malicious code in core-js-buffer (npm)
Malicious package
Published
MAL-2026-13945 is a malicious package: core-js-buffer (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-13945/ (Markdown: https://insights.sbomify.com/MAL-2026-13945/index.md)
- Package
- core-js-buffer
- Registry
- npm
What is MAL-2026-13945?
MAL-2026-13945 is a malicious package in core-js-buffer, published on 13 Aug 2026.
Official description
The package's postinstall script (package.json declares "postinstall": "node init.js") performs two hostile actions at install time. First, init.js POSTs installer host and user identifiers — os.hostname(), os.userInfo().username, os.platform(), architecture, Node version, OS release, package name/version, and timestamp — to https://core-js-buffer.domaup-com.workers.dev/report with TLS verification disabled (rejectUnauthorized: false). Second, it fetches an AES-256-GCM encrypted blob from https://core-js-buffer.domaup-com.workers.dev/e, decrypts it with a key derived from a fixed seed, writes the resulting Python code under ~/.cache/core-js-buffer/modules/, and spawns a detached Python process to execute it. Execution is gated by a dev-machine check (presence of Desktop/Documents/Downloads directories) to skip CI/sandbox environments, throttled to at most once per day via a cached marker, and only runs if the decrypted payload contains the string 'TelemetrySender' — evasion controls consistent with a malicious dropper rather than declared telemetry. The package name mimics core-js, a widely used JavaScript polyfill library.
What should I do about MAL-2026-13945?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.