Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

worker-buildnpm

worker-build is a confirmed malicious npm package (MAL-2026-5677) that steals credentials and exfiltrates sensitive data (malicious versions 9.0.0, 9.0.1, 9.0.2). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in worker-build (npm)

MAL-2026-5677
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall worker-build

What this malware does

package.json declares "postinstall": "node main.js", so installation of [email protected] unconditionally executes main.js on npm install. main.js collects host identity (os.hostname(), os.userInfo().username, os.homedir(), process.cwd(), process.argv), reads the consumer's package.json, runs git config --get remote.origin.url, and iterates a hardcoded list of credential-shaped environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN, NPM_TOKEN, GITHUB_TOKEN, GITLAB_TOKEN, API_KEY, SECRET_KEY, PASSWORD, TOKEN, DATABASE_URL, MONGODB_URI, REDIS_URL), capturing the first 50 characters of each populated value. The collected JSON payload is POSTed in cleartext to http://jh4wt1kccd0ul174qgmge9n8izozcu0j.oastify.com/exfil and /api/exfil, with an additional DNS lookup against the same host as a side-channel beacon. The package name mimics legitimate Cloudflare Workers build tooling, positioning the package for dependency-confusion against installers that misresolve an internal name to the public registry.

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.

The OpenSSF Package Analysis project identified 'worker-build' @ 9.0.1 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Malicious versions

3 flagged
9.0.09.0.19.0.2

Indicators of compromise (SHA-256)

b5005e4bec545b403f3be10160a08d634d34b5d8ab8e76a185a4a5ba34706719
0e11b6161f4fe3c591bddadbf275003eaac33a1478cda408ac51d85230292e6d
ed7e7167b2760d9163594db0ea3686c528f7ca22506e601a92ca29c00305763a
2e93efdba4287480cd7e19a76b82fc17c7b7c9bd446fdc35d0ac2bfab1f628df
a892ca3bcb5d51836331d615b67961e072978278e62fe19c607d657a965b9461
e555cbcd27cd1fa002e3c810ce10c6befa419e66a928b8f769df7d31d9995825

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for worker-build (3 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging worker-build across your stack and pipelines.

  2. If you installed it — respond

    worker-build is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If worker-build was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks worker-build before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. worker-build on npm has been identified as a malicious package (versions 9.0.0, 9.0.1, 9.0.2 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-006152IN-MAL-2026-006153GHSA-7wpx-89q3-rcf4IN-MAL-2026-008946IN-MAL-2026-008978

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks worker-build-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

worker-build (npm) malicious package — MAL-2026-5677 | O3 Security