Malicious code in devplatform-spa-plugin-history (npm)
The npm package devplatform-spa-plugin-history version 35.1.4 contains malicious code that, when imported, downloads and executes an attacker-controlled native binary on the host machine. This binary is fetched from Cloudflare Workers hosts and fallback DNS-TXT channels, saved under disguised filenames in temporary directories, and executed detached from the main process. The package uses obfuscation techniques to evade static analysis and facilitate the execution of this unauthorized code.
AI Analysis
Technical Summary
The devplatform-spa-plugin-history npm package version 35.1.4 includes malicious functionality embedded in its index.js file. Upon requiring the package, it loads _bridge.js which constructs platform-specific hostnames using string obfuscation and downloads an opaque binary payload over HTTPS from Cloudflare Workers domains with a DNS-TXT fallback mechanism. The payload is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned as a detached process via a shell command. Additional obfuscation is present in sibling modules to evade static analysis. This results in execution of attacker-controlled native code on the machine that installs or imports the package.
Potential Impact
An attacker can execute arbitrary native code on the host system simply by importing the affected package version, potentially leading to full system compromise, data theft, or further malicious activity. The execution is stealthy due to obfuscation and use of temporary disguised files, increasing the risk of undetected compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing devplatform-spa-plugin-history version 35.1.4. Remove any existing installations of this package from environments. Monitor for suspicious activity related to this package and its downloaded binaries. Check vendor or repository advisories for updates or removal notices. Since this is a malicious package, consider using trusted package sources and scanning dependencies for malicious content.
Malicious code in devplatform-spa-plugin-history (npm)
Description
The npm package devplatform-spa-plugin-history version 35.1.4 contains malicious code that, when imported, downloads and executes an attacker-controlled native binary on the host machine. This binary is fetched from Cloudflare Workers hosts and fallback DNS-TXT channels, saved under disguised filenames in temporary directories, and executed detached from the main process. The package uses obfuscation techniques to evade static analysis and facilitate the execution of this unauthorized code.
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-spa-plugin-history npm package version 35.1.4 includes malicious functionality embedded in its index.js file. Upon requiring the package, it loads _bridge.js which constructs platform-specific hostnames using string obfuscation and downloads an opaque binary payload over HTTPS from Cloudflare Workers domains with a DNS-TXT fallback mechanism. The payload is saved to temporary directories under disguised filenames, permissions are set to executable, and it is spawned as a detached process via a shell command. Additional obfuscation is present in sibling modules to evade static analysis. This results in execution of attacker-controlled native code on the machine that installs or imports the package.
Potential Impact
An attacker can execute arbitrary native code on the host system simply by importing the affected package version, potentially leading to full system compromise, data theft, or further malicious activity. The execution is stealthy due to obfuscation and use of temporary disguised files, increasing the risk of undetected compromise.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or importing devplatform-spa-plugin-history version 35.1.4. Remove any existing installations of this package from environments. Monitor for suspicious activity related to this package and its downloaded binaries. Check vendor or repository advisories for updates or removal notices. Since this is a malicious package, consider using trusted package sources and scanning dependencies for malicious content.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12767
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d5391524fa
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:43:26 UTC
Last updated: 08/05/2026, 16:43:26 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.