Malicious code in devplatform-hooks (npm)
The devplatform-hooks npm package version 35.2.1 contains malicious code that, upon installation or import, downloads and executes a platform-specific payload. It uses obfuscated Cloudflare Workers URLs and a fallback DNS-TXT covert channel to fetch a binary, which is saved under disguised filenames and executed detached from the parent process. This behavior effectively makes the package a remote code execution dropper.
AI Analysis
Technical Summary
The devplatform-hooks package (npm ecosystem) at version 35.2.1 includes code in index.js that loads _init.js, which dynamically constructs obfuscated URLs hosted on Cloudflare Workers to fetch an executable payload. If the HTTPS fetch fails, it uses a DNS-TXT record covert channel querying specific domains to retrieve base64-encoded binary chunks, which are concatenated and decoded. The binary is saved to temporary directories with disguised names and executed detached using platform-specific shell commands, enabling remote code execution triggered by simply installing or importing the package.
Potential Impact
This malicious package enables remote code execution on any system that installs or imports devplatform-hooks version 35.2.1. The attacker can execute arbitrary code with the privileges of the user running the package, potentially leading to full system compromise, data theft, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or importing devplatform-hooks version 35.2.1. Remove any installations of this package and audit systems for signs of compromise. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removals. Since this is a malicious package, consider blocking it in your package management policies.
Malicious code in devplatform-hooks (npm)
Description
The devplatform-hooks npm package version 35.2.1 contains malicious code that, upon installation or import, downloads and executes a platform-specific payload. It uses obfuscated Cloudflare Workers URLs and a fallback DNS-TXT covert channel to fetch a binary, which is saved under disguised filenames and executed detached from the parent process. This behavior effectively makes the package a remote code execution dropper.
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-hooks package (npm ecosystem) at version 35.2.1 includes code in index.js that loads _init.js, which dynamically constructs obfuscated URLs hosted on Cloudflare Workers to fetch an executable payload. If the HTTPS fetch fails, it uses a DNS-TXT record covert channel querying specific domains to retrieve base64-encoded binary chunks, which are concatenated and decoded. The binary is saved to temporary directories with disguised names and executed detached using platform-specific shell commands, enabling remote code execution triggered by simply installing or importing the package.
Potential Impact
This malicious package enables remote code execution on any system that installs or imports devplatform-hooks version 35.2.1. The attacker can execute arbitrary code with the privileges of the user running the package, potentially leading to full system compromise, data theft, or further malware deployment.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately avoid installing or importing devplatform-hooks version 35.2.1. Remove any installations of this package and audit systems for signs of compromise. Monitor for updates from the package maintainers or npm security advisories for any official fixes or removals. Since this is a malicious package, consider blocking it in your package management policies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12711
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735737bf8831d5391495a9
Added to database: 08/05/2026, 15:31:03 UTC
Last enriched: 08/05/2026, 16:29:58 UTC
Last updated: 08/05/2026, 16:29:58 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.