Skip to main content

Malicious code in devplatform-nx-husky (npm)

0
High
Published: 08/05/2026 (08/05/2026, 13:48:19 UTC)
Source: GCVE Database
Product: devplatform-nx-husky

Description

--- _-= Per source details. Do not edit below this line.=-_ ## 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.<domain> 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.

Affected software

npmghsa
devplatform-nx-husky
Affected versions
=35.7.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 16:34:27 UTC

Technical Analysis

devplatform-nx-husky is a malicious npm package designed as a typosquat blending terms from the nx and husky ecosystems. Its main exported class performs no operation, serving as a decoy. When required, it dynamically selects a platform-specific payload path and fetches an executable payload from one of four Cloudflare Workers subdomains. If HTTPS delivery fails, it falls back to a covert DNS TXT channel under the dl.wel1.ru domain, reconstructing the payload from base64-encoded TXT record chunks. The payload is saved to a temporary directory with an inconspicuous filename, permissions are set to executable (chmod 0755), and it is spawned detached using shell commands. To evade static detection, critical strings such as hostnames and API names (child_process, chmodSync) are assembled at runtime from split string arrays. Additionally, a second copy of the dropper is embedded in lib/telemetry.js under the guise of an 'Analytics SDK'. The package has no legitimate functionality and is intended to deliver and execute malicious code on the host system.

Potential Impact

This malicious package can execute arbitrary code on the host system by downloading and running payloads from remote servers or covert DNS channels. This can lead to system compromise, unauthorized code execution, persistence, and potentially further malicious activities depending on the payload delivered. The use of runtime string assembly and covert channels complicates detection and mitigation.

Mitigation Recommendations

No official patch or remediation is currently documented for this package. Users and organizations should avoid installing or using devplatform-nx-husky version =35.7.7. Remove any instances of this package from projects and dependency trees. Employ supply chain security best practices such as verifying package authenticity, using trusted sources, and monitoring for typosquatting packages. Since no vendor advisory or patch is available, patch status is not yet confirmed — check vendor advisories or trusted security sources for updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12724
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735738bf8831d53914c2bc

Added to database: 08/05/2026, 15:31:04 UTC

Last enriched: 08/05/2026, 16:34:27 UTC

Last updated: 09/07/2026, 22:29:26 UTC

Views: 19

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses