CRITICAL npm Malware

Malicious code in devplatform-nx-husky (npm)

MAL-2026-12724 · GHSA-3q8c-jjq8-86cf

Published · Modified

Dependency scanning

Check whether devplatform-nx-husky is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (0c4cd991fb1b5e2308797829d38de8ba8b673c91a889e800621d01faef34610d)

devplatform-nx-husky is a typosquat blending the nx and husky ecosystem terms; its exported class is an inert no-op and the package has no legitimate functionality. On require(), vendor.js selects a per-platform payload path and fetches an executable from one of four Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev). If HTTPS delivery fails, it falls back to a DNS TXT covert channel under *.dl.wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), reading a chunk count from a c. TXT record and reassembling base64 TXT chunks into the payload. The bytes are written to /var/tmp (or %TEMP% on Windows) under an inconspicuous name, chmod 0755, and spawned detached via /bin/sh -c or cmd /c start. Destination hostnames and the child_process/chmodSync API names are reassembled at runtime from split-string arrays (e.g. ["oob-worke","r.cf102-baf.","work","ers.dev"].join(""), require("child"+"process"), fs["chmod"+"Sync"]) to evade static detection. A second copy of the fetch-decode-chmod-spawn dropper is bundled in lib/telemetry.js under an 'Analytics SDK' cover story.

Source: ghsa-malware (bbf7609632af8a7f80ad4e0c4ba1cf57436d4d55d3f60377d6ea91e2fa1ed2ac)

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes