MAL-2026-14247 Malicious code in magika-js (npm)
Malicious package
Published
MAL-2026-14247 is a malicious package: magika-js (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-14247/ (Markdown: https://insights.sbomify.com/MAL-2026-14247/index.md)
- Package
- magika-js
- Registry
- npm
What is MAL-2026-14247?
MAL-2026-14247 is a malicious package in magika-js, published on 19 Aug 2026.
Official description
magika-js is a typosquat of Google's magika library. The postinstall lifecycle script collects installer host identifiers (hostname, platform, arch, node version, package name, npm lifecycle event, timestamp) and POSTs them as JSON to the hardcoded endpoint https://ucjtw03t.instances.poc.jchunt.top/magika-js. The beacon fires automatically on npm install with no opt-in and no documented purpose served by the transmission, sending installer machine data to a non-publisher domain. A source.txt pointer to github.com/google/magika reinforces the impersonation of Google's project.
What should I do about MAL-2026-14247?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.