Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

The devplatform-nx-husky npm package is a malicious typosquatting package that masquerades as part of the nx and husky ecosystems. It contains no legitimate functionality and, upon being required, dynamically fetches and executes a payload from Cloudflare Workers or, if that fails, via a DNS TXT record covert channel. The payload is written to temporary storage with an inconspicuous name, given executable permissions, and executed detached from the parent process. The package uses runtime string assembly to evade static detection and includes a second dropper disguised as an analytics SDK.

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
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a735738bf8831d53914c2bc

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

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

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

Views: 2

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