Malicious code in devplatform-cli-plugin-generator (npm)
The devplatform-cli-plugin-generator npm package version 35.3.5 contains malicious code that downloads and executes platform-specific binaries from non-publisher hosts without integrity verification. The malicious payload is obfuscated and disguises itself as telemetry functionality, reconstructing hostnames and API names to evade analysis. It writes executables to temporary directories and executes them detached from the main process.
AI Analysis
Technical Summary
The devplatform-cli-plugin-generator package (version 35.3.5) includes malicious code in its index.js and lib/telemetry.js files. Upon requiring the package, it reconstructs Cloudflare Workers hostnames and a DNS-TXT fallback domain to download platform-specific binaries from unauthorized hosts. These binaries are saved under misleading filenames in temporary directories, permissions are set to executable, and they are spawned detached from the main process. The telemetry.js file bundles similar dropper functionality with additional obfuscation techniques, including dynamic require calls and base64 chunk assembly. The obfuscation and use of split-string hostname reconstruction are inconsistent with legitimate telemetry implementations, indicating malicious intent.
Potential Impact
The malicious package can execute arbitrary platform-specific binaries on the host system without user consent or verification. This can lead to unauthorized code execution, potential system compromise, and persistence through background detached processes. The lack of hash or signature verification increases the risk of supply chain attacks and malware delivery via this npm package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using devplatform-cli-plugin-generator version 35.3.5. Remove the package from affected environments and replace it with a trusted alternative. Monitor for any unexpected processes spawned from temporary directories. Check vendor advisories or npm security advisories for updates or fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Malicious code in devplatform-cli-plugin-generator (npm)
Description
The devplatform-cli-plugin-generator npm package version 35.3.5 contains malicious code that downloads and executes platform-specific binaries from non-publisher hosts without integrity verification. The malicious payload is obfuscated and disguises itself as telemetry functionality, reconstructing hostnames and API names to evade analysis. It writes executables to temporary directories and executes them detached from the main process.
Affected software
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
Technical Analysis
The devplatform-cli-plugin-generator package (version 35.3.5) includes malicious code in its index.js and lib/telemetry.js files. Upon requiring the package, it reconstructs Cloudflare Workers hostnames and a DNS-TXT fallback domain to download platform-specific binaries from unauthorized hosts. These binaries are saved under misleading filenames in temporary directories, permissions are set to executable, and they are spawned detached from the main process. The telemetry.js file bundles similar dropper functionality with additional obfuscation techniques, including dynamic require calls and base64 chunk assembly. The obfuscation and use of split-string hostname reconstruction are inconsistent with legitimate telemetry implementations, indicating malicious intent.
Potential Impact
The malicious package can execute arbitrary platform-specific binaries on the host system without user consent or verification. This can lead to unauthorized code execution, potential system compromise, and persistence through background detached processes. The lack of hash or signature verification increases the risk of supply chain attacks and malware delivery via this npm package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using devplatform-cli-plugin-generator version 35.3.5. Remove the package from affected environments and replace it with a trusted alternative. Monitor for any unexpected processes spawned from temporary directories. Check vendor advisories or npm security advisories for updates or fixes. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12701
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735737bf8831d5391496ac
Added to database: 08/05/2026, 15:31:03 UTC
Last enriched: 08/05/2026, 16:30:31 UTC
Last updated: 08/05/2026, 16:30:31 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.