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-pvm (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 13:50:22 UTC)
Source: GCVE Database
Product: devplatform-nx-pvm

Description

The npm package devplatform-nx-pvm version 35.2.9 contains malicious code that automatically downloads and executes a platform-specific binary from attacker-controlled hosts. The package disguises this behavior by fetching binaries over HTTPS, writing them to temporary directories with obfuscated filenames, setting executable permissions, and spawning them detached from the main process. If HTTPS fetches fail, it uses a covert DNS TXT channel to retrieve and execute the payload. The package also uses environment variable checks to evade detection. Simply installing and importing this package triggers execution of attacker-controlled code.

Affected software

npmghsa
devplatform-nx-pvm
Affected versions
=35.2.9

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:31:26 UTC

Technical Analysis

The devplatform-nx-pvm npm package (version 35.2.9) includes a malicious module (_compat.js) that, upon require(), fetches a platform-specific binary from hardcoded attacker-controlled HTTPS hosts. It writes the binary to temporary storage with disguised filenames, sets executable permissions, and executes it detached via shell commands. To evade static detection, the C2 hostnames are constructed dynamically from split strings. If HTTPS retrieval fails, the code falls back to a covert DNS TXT channel to download base64-encoded payload chunks, which it concatenates, decodes, and executes. The package checks for telemetry opt-out environment variables to avoid execution in some environments. The main index.js unconditionally requires this malicious module, causing automatic execution of the attacker binary on installation and import.

Potential Impact

This malicious package leads to automatic execution of attacker-controlled binaries on any system that installs and imports devplatform-nx-pvm version 35.2.9. This can result in full compromise of the affected system, unauthorized code execution, potential data theft, persistence, and further malicious activity. The stealth techniques used (dynamic hostname assembly, fallback covert DNS channel, telemetry opt-out checks) increase the difficulty of detection and mitigation.

Mitigation Recommendations

No official patch or remediation is indicated in the provided data. Users should immediately remove and avoid installing devplatform-nx-pvm version 35.2.9. Audit existing projects for this package and replace it with trusted alternatives. Monitor for suspicious network activity related to the described C2 hosts. Since no vendor advisory or patch is available, patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates. Consider restricting network access to the described domains and implement supply chain security measures to prevent installation of malicious packages.

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

Threat ID: 6a735738bf8831d53914a444

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

Last enriched: 08/05/2026, 16:31:26 UTC

Last updated: 08/05/2026, 16:31:26 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