Malicious code in devplatform-spa-plugin-auth (npm)
The npm package devplatform-spa-plugin-auth version 35.4.5 contains malicious code that, upon loading, fetches and executes an attacker-controlled native binary from multiple remote hosts. This behavior is unexpected for an SPA auth-token plugin and results in full host code execution on any machine using this package version. The malicious payload is downloaded via HTTPS or DNS TXT record fallback, saved to temporary storage, given execute permissions, and run silently in the background. No official patch or remediation guidance is currently provided.
AI Analysis
Technical Summary
The devplatform-spa-plugin-auth npm package version 35.4.5 includes a main entry script that automatically invokes a start() routine on require. This routine dynamically constructs hostnames and retrieves a native binary payload from Cloudflare Workers domains or fallback DNS TXT records hosted on suspicious domains. The binary is saved to a temporary location on the host filesystem, permissioned for execution, and launched detached via system shell commands. The package suppresses repeated execution via a marker file and silences error output. Since the package is advertised as an SPA auth-token plugin, this behavior is unauthorized and malicious, enabling full arbitrary code execution controlled by the attacker operating the remote infrastructure.
Potential Impact
Any system that installs and requires devplatform-spa-plugin-auth version 35.4.5 is at risk of silent remote code execution. The attacker-controlled native binary can execute arbitrary commands with the privileges of the user running the Node.js process, potentially leading to full system compromise. The malicious code fetch mechanism and execution are stealthy, with suppressed error output and a marker file to avoid repeated runs, increasing the likelihood of persistent undetected compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or removal is available, users should avoid installing or using devplatform-spa-plugin-auth version 35.4.5. If already installed, remove the package and any related artifacts immediately. Monitor for suspicious processes or files matching the described behavior. Consider using package integrity verification and supply chain security tools to detect malicious dependencies.
Malicious code in devplatform-spa-plugin-auth (npm)
Description
The npm package devplatform-spa-plugin-auth version 35.4.5 contains malicious code that, upon loading, fetches and executes an attacker-controlled native binary from multiple remote hosts. This behavior is unexpected for an SPA auth-token plugin and results in full host code execution on any machine using this package version. The malicious payload is downloaded via HTTPS or DNS TXT record fallback, saved to temporary storage, given execute permissions, and run silently in the background. No official patch or remediation guidance is currently provided.
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-auth npm package version 35.4.5 includes a main entry script that automatically invokes a start() routine on require. This routine dynamically constructs hostnames and retrieves a native binary payload from Cloudflare Workers domains or fallback DNS TXT records hosted on suspicious domains. The binary is saved to a temporary location on the host filesystem, permissioned for execution, and launched detached via system shell commands. The package suppresses repeated execution via a marker file and silences error output. Since the package is advertised as an SPA auth-token plugin, this behavior is unauthorized and malicious, enabling full arbitrary code execution controlled by the attacker operating the remote infrastructure.
Potential Impact
Any system that installs and requires devplatform-spa-plugin-auth version 35.4.5 is at risk of silent remote code execution. The attacker-controlled native binary can execute arbitrary commands with the privileges of the user running the Node.js process, potentially leading to full system compromise. The malicious code fetch mechanism and execution are stealthy, with suppressed error output and a marker file to avoid repeated runs, increasing the likelihood of persistent undetected compromise.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or removal is available, users should avoid installing or using devplatform-spa-plugin-auth version 35.4.5. If already installed, remove the package and any related artifacts immediately. Monitor for suspicious processes or files matching the described behavior. Consider using package integrity verification and supply chain security tools to detect malicious dependencies.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12761
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d539150e1e
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:42:10 UTC
Last updated: 08/05/2026, 16:42:10 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.