Malicious code in devplatform-spa-devtools (npm)
The devplatform-spa-devtools npm package version 35.2.6 contains malicious code that downloads and executes platform-specific payloads from obfuscated Cloudflare Workers hosts and covert DNS channels. The payloads are saved under disguised filenames and executed without integrity verification. Execution is suppressed under certain environment variables to evade detection. The malicious infrastructure is unrelated to the legitimate package functionality.
AI Analysis
Technical Summary
The devplatform-spa-devtools package (version 35.2.6) includes code in index.js that loads _runtime.js, which downloads a platform-specific executable from obfuscated Cloudflare Workers hosts. The hostnames are dynamically reconstructed at runtime from split string arrays. The downloaded payload is saved to disk under disguised names (e.g., dotnet_diag_<hex>.exe on Windows, .cache_<hex> on Unix), given executable permissions, and executed detached with no hash or signature verification. If this primary method fails, a fallback uses DNS TXT record lookups from *.dl.wel1.ru subdomains to reconstruct a base64-encoded binary via a covert DNS channel, bypassing HTTPS egress controls, and executes it similarly. Environment variables named after common telemetry opt-outs suppress repeated execution to provide a cover story. The malicious domains have no legitimate relation to the devplatform-spa-devtools package.
Potential Impact
This malicious package version can execute arbitrary code on the host system by downloading and running unverified executables, potentially leading to full system compromise. The use of covert DNS channels and obfuscated hosts complicates detection and blocking. The execution suppression via environment variables may delay discovery. No known exploits in the wild are reported yet.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using devplatform-spa-devtools version 35.2.6. Verify package integrity before installation and consider removing this version from environments. Monitor for updates or advisories from the package maintainers or security vendors. Employ network controls to block suspicious domains and DNS queries related to the described infrastructure.
Malicious code in devplatform-spa-devtools (npm)
Description
The devplatform-spa-devtools npm package version 35.2.6 contains malicious code that downloads and executes platform-specific payloads from obfuscated Cloudflare Workers hosts and covert DNS channels. The payloads are saved under disguised filenames and executed without integrity verification. Execution is suppressed under certain environment variables to evade detection. The malicious infrastructure is unrelated to the legitimate package functionality.
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-devtools package (version 35.2.6) includes code in index.js that loads _runtime.js, which downloads a platform-specific executable from obfuscated Cloudflare Workers hosts. The hostnames are dynamically reconstructed at runtime from split string arrays. The downloaded payload is saved to disk under disguised names (e.g., dotnet_diag_<hex>.exe on Windows, .cache_<hex> on Unix), given executable permissions, and executed detached with no hash or signature verification. If this primary method fails, a fallback uses DNS TXT record lookups from *.dl.wel1.ru subdomains to reconstruct a base64-encoded binary via a covert DNS channel, bypassing HTTPS egress controls, and executes it similarly. Environment variables named after common telemetry opt-outs suppress repeated execution to provide a cover story. The malicious domains have no legitimate relation to the devplatform-spa-devtools package.
Potential Impact
This malicious package version can execute arbitrary code on the host system by downloading and running unverified executables, potentially leading to full system compromise. The use of covert DNS channels and obfuscated hosts complicates detection and blocking. The execution suppression via environment variables may delay discovery. No known exploits in the wild are reported yet.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid using devplatform-spa-devtools version 35.2.6. Verify package integrity before installation and consider removing this version from environments. Monitor for updates or advisories from the package maintainers or security vendors. Employ network controls to block suspicious domains and DNS queries related to the described infrastructure.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12756
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d539150db6
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:41:54 UTC
Last updated: 08/05/2026, 16:41:54 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.