Malicious code in devplatform-spa-feature-toggle (npm)
The npm package devplatform-spa-feature-toggle version 35.8.4 contains malicious code that, upon require(), loads a script which fetches and executes an opaque payload from multiple suspicious external hosts. The payload is saved under decoy filenames in temporary directories and executed without integrity verification. The package uses environment variables and marker files to evade detection. This behavior is not part of the legitimate publisher infrastructure and represents a supply chain compromise.
AI Analysis
Technical Summary
The devplatform-spa-feature-toggle npm package version 35.8.4 includes malicious code that, when required, loads a bridge script selecting an OS-specific payload path. It fetches an executable payload from a set of Cloudflare Workers hosts constructed dynamically at runtime, with fallback to other suspicious domains via DNS-TXT chunked-base64. The payload is written to temporary directories under decoy names, permissions are set to executable, and it is spawned detached with ignored stdio. The package attempts to evade telemetry and tracking via environment variables and marker files. The fetched payload is opaque and executed without any integrity checks. The destination hosts are unrelated to the package publisher, indicating a malicious supply chain compromise.
Potential Impact
This malicious package can execute arbitrary code on the host system without user consent or verification, potentially leading to full system compromise, data theft, or persistence. The opaque payload and lack of integrity verification increase risk as the payload could change or be updated by the attacker. The use of decoy filenames and telemetry evasion techniques complicate detection and forensic analysis.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 35.8.4 of devplatform-spa-feature-toggle from their environments. Avoid using this package version and verify package integrity before installation. Monitor for updates or advisories from the package maintainers or npm registry. Consider scanning existing systems for presence of the malicious payload files and related artifacts.
Malicious code in devplatform-spa-feature-toggle (npm)
Description
The npm package devplatform-spa-feature-toggle version 35.8.4 contains malicious code that, upon require(), loads a script which fetches and executes an opaque payload from multiple suspicious external hosts. The payload is saved under decoy filenames in temporary directories and executed without integrity verification. The package uses environment variables and marker files to evade detection. This behavior is not part of the legitimate publisher infrastructure and represents a supply chain compromise.
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-feature-toggle npm package version 35.8.4 includes malicious code that, when required, loads a bridge script selecting an OS-specific payload path. It fetches an executable payload from a set of Cloudflare Workers hosts constructed dynamically at runtime, with fallback to other suspicious domains via DNS-TXT chunked-base64. The payload is written to temporary directories under decoy names, permissions are set to executable, and it is spawned detached with ignored stdio. The package attempts to evade telemetry and tracking via environment variables and marker files. The fetched payload is opaque and executed without any integrity checks. The destination hosts are unrelated to the package publisher, indicating a malicious supply chain compromise.
Potential Impact
This malicious package can execute arbitrary code on the host system without user consent or verification, potentially leading to full system compromise, data theft, or persistence. The opaque payload and lack of integrity verification increase risk as the payload could change or be updated by the attacker. The use of decoy filenames and telemetry evasion techniques complicate detection and forensic analysis.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 35.8.4 of devplatform-spa-feature-toggle from their environments. Avoid using this package version and verify package integrity before installation. Monitor for updates or advisories from the package maintainers or npm registry. Consider scanning existing systems for presence of the malicious payload files and related artifacts.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12758
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735739bf8831d53914f6c8
Added to database: 08/05/2026, 15:31:05 UTC
Last enriched: 08/05/2026, 16:39:29 UTC
Last updated: 08/05/2026, 16:39:29 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.