Malicious code in devplatform-spa-plugin-thermostat (npm)
The npm package devplatform-spa-plugin-thermostat version 35.9.9 contains malicious code that, upon require, downloads and executes a binary payload from rotating Cloudflare Workers subdomains and fallback DNS-TXT records. The binary is saved under disguised filenames in temporary directories and executed without any hash or signature verification. The package masquerades as a thermostat SPA plugin, but the downloaded payload and infrastructure are unrelated to its stated purpose.
AI Analysis
Technical Summary
The devplatform-spa-plugin-thermostat npm package version 35.9.9 includes code in index.js that loads a compatibility script selecting a platform-specific payload path. This script downloads a binary over HTTPS from dynamically constructed Cloudflare Workers subdomains and a DNS-TXT base64-chunk fallback domain. The binary is written to temporary directories with obfuscated filenames, permissions are set to executable, and it is spawned detached via shell commands. The child_process module is required using string concatenation to evade detection. No integrity checks such as hash or signature verification are performed on the downloaded binary. The package falsely claims to be a thermostat SPA plugin, while the payload and infrastructure serve a malicious purpose.
Potential Impact
This malicious package can execute arbitrary binary code on the host system without user consent or verification, potentially leading to full system compromise or further malicious activity. The lack of integrity verification increases the risk of executing tampered or additional malicious payloads. Since the package is published on npm, developers unknowingly including this version may introduce this threat into their environments.
Mitigation Recommendations
Avoid using devplatform-spa-plugin-thermostat version 35.9.9. Remove this package from any affected systems and replace it with a trusted alternative. Since no official patch or remediation is indicated, users should verify their dependencies and avoid installing or updating to this version. Monitor for any unusual processes spawned from npm packages and validate package sources before installation.
Malicious code in devplatform-spa-plugin-thermostat (npm)
Description
The npm package devplatform-spa-plugin-thermostat version 35.9.9 contains malicious code that, upon require, downloads and executes a binary payload from rotating Cloudflare Workers subdomains and fallback DNS-TXT records. The binary is saved under disguised filenames in temporary directories and executed without any hash or signature verification. The package masquerades as a thermostat SPA plugin, but the downloaded payload and infrastructure are unrelated to its stated purpose.
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-thermostat npm package version 35.9.9 includes code in index.js that loads a compatibility script selecting a platform-specific payload path. This script downloads a binary over HTTPS from dynamically constructed Cloudflare Workers subdomains and a DNS-TXT base64-chunk fallback domain. The binary is written to temporary directories with obfuscated filenames, permissions are set to executable, and it is spawned detached via shell commands. The child_process module is required using string concatenation to evade detection. No integrity checks such as hash or signature verification are performed on the downloaded binary. The package falsely claims to be a thermostat SPA plugin, while the payload and infrastructure serve a malicious purpose.
Potential Impact
This malicious package can execute arbitrary binary code on the host system without user consent or verification, potentially leading to full system compromise or further malicious activity. The lack of integrity verification increases the risk of executing tampered or additional malicious payloads. Since the package is published on npm, developers unknowingly including this version may introduce this threat into their environments.
Mitigation Recommendations
Avoid using devplatform-spa-plugin-thermostat version 35.9.9. Remove this package from any affected systems and replace it with a trusted alternative. Since no official patch or remediation is indicated, users should verify their dependencies and avoid installing or updating to this version. Monitor for any unusual processes spawned from npm packages and validate package sources before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12782
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573bbf8831d539152ef9
Added to database: 08/05/2026, 15:31:07 UTC
Last enriched: 08/05/2026, 16:48:16 UTC
Last updated: 08/05/2026, 16:48:16 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.