Malicious code in eacq-cdk (npm)
The npm package eacq-cdk contained malicious code that executes on require, fetching and executing platform-specific payloads from attacker-controlled Cloudflare Workers and DNS infrastructure. Any installation of this package grants full host code execution to the attacker.
- Disclosed
- Last updated
- Blast radius
- Any project installing eacq-cdk gains full host code execution on first require.
- Ecosystems
- Attack vectors
- Affected entities
- eacq-cdknpm package containing malicious initialization code
The npm package eacq-cdk was found to contain malicious code in its _init.js file that executes automatically when the package is required. The malicious code selects a platform-specific payload path and attempts to fetch an executable over HTTPS from attacker-controlled Cloudflare Workers hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev). The hostnames are obfuscated by splitting them across character-shard arrays to defeat static string detection.\n\nIf HTTPS retrieval fails, the loader falls back to base64-encoded payload delivery via DNS TXT queries under *.dl.wel1.ru. The fetched executable is written to a hidden filename in /tmp (or Windows Temp), made executable with chmod 0755, and spawned detached via spawn('/bin/sh',...) or spawn('cmd',...) depending on the platform. The malicious behavior is framed as telemetry or analytics functionality.\n\nThe destinations and hostnames are unrelated to any legitimate publisher, indicating this is a supply chain compromise. Any project that installs this package grants full host code execution to the operator of the attacker-controlled endpoints upon first require of the package.\n\nThe incident was identified and credited to the OpenSSF malicious-packages repository.
Indicators of compromise
- Packages
- eacq-cdk
- Domains
- oob-worker.cf101-adf.workers.dev
- oob-worker.cf103-070.workers.dev
- oob-worker.cf100-416.workers.dev
- dl.wel1.ru
Remediation
- Immediately uninstall eacq-cdk from all projects and environments
- Audit npm package.json and lock files for any installations of eacq-cdk
- Review system logs and process execution history on any systems where eacq-cdk was installed for signs of unauthorized code execution
- Regenerate any credentials or secrets that may have been exposed on affected systems
- Update to a clean version of any legitimate package that eacq-cdk may have been impersonating, if applicable
- Implement package verification and scanning in your npm supply chain to detect malicious packages before installation
Sources
- GitHub Advisory GHSA-8v88-w292-98xq · GitHub Advisory Database
Cite this entry
"Malicious code in eacq-cdk (npm)." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed August 7, 2026; last updated August 7, 2026. https://supplychainattack.org/incident/malicious-code-in-eacq-cdk-npm-z9akzt
Suggest a correction
Found an error or have a newer source? Corrections to factual errors take priority over new entries.
Related incidents
- containedcritical
Malware in disksweep
The npm package disksweep was found to contain malware, resulting in full system compromise of any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.
npmCompromised package - activecritical
Malware in agentsync-pkg
Malware discovered in the npm package agentsync-pkg. Any computer with this package installed or running should be considered fully compromised. All secrets and keys must be rotated immediately from a different computer.
npmCompromised package - containedcritical
Malware in envfile-sync-cli
Malware was discovered in the npm package envfile-sync-cli, providing full system compromise to any computer with the package installed or running. All secrets and keys on affected systems should be rotated immediately from a different computer.
npmCompromised package - activecritical
Malware in @zizie071/libsignal-node
The npm package @zizie071/libsignal-node contains malware that grants full system compromise to attackers. Any computer with this package installed should be considered fully compromised and all secrets and keys rotated immediately from a different machine.
npmCompromised package