MAL-2026-14196 Malicious code in tfjs-custom-module (npm)
Malicious package
Published
MAL-2026-14196 is a malicious package: tfjs-custom-module (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-14196/ (Markdown: https://insights.sbomify.com/MAL-2026-14196/index.md)
- Package
- tfjs-custom-module
- Registry
- npm
What is MAL-2026-14196?
MAL-2026-14196 is a malicious package in tfjs-custom-module, published on 19 Aug 2026.
Official description
tfjs-custom-module is a typosquat of the tensorflow/tfjs package. Its package.json declares a postinstall lifecycle script that runs automatically on npm install. The script collects installer host identifiers — os.hostname(), process.platform, process.arch, process.version, package name, and the npm lifecycle event — and POSTs them as JSON via https.request to the hardcoded external host 8xq4kw5d.instances.poc.jchunt.top at path /tfjs-custom-module. The endpoint is not the installer's infrastructure and the beacon is not opt-in. This is host-reconnaissance exfiltration to an author-controlled destination running under a look-alike canary domain, regardless of any self-labeling as security research.
What should I do about MAL-2026-14196?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.