Malicious code in devplatform-spa-plugin-devtools (npm)
The npm package devplatform-spa-plugin-devtools version 35.5.6 contains malicious code that, upon requiring its main entry, executes an initialization routine which downloads and runs an unsigned binary payload from external, non-publisher-controlled hosts. The payload is fetched via HTTPS or reconstructed from DNS TXT records, saved to disguised paths on the local system, and executed without signature verification. Execution is conditionally skipped in certain telemetry-disabled or uninstall environments, indicating evasion techniques. This behavior poses a risk of unauthorized code execution on systems using this package version.
AI Analysis
Technical Summary
The devplatform-spa-plugin-devtools npm package version 35.5.6 includes malicious code in its _support.js file. When the package is required, it runs an init() routine that constructs destination hostnames from split string fragments and fetches an unsigned binary payload either via HTTPS or by concatenating base64 fragments from DNS TXT records. The payload is saved to disguised executable files in temporary directories and executed detached from the main process without any hash or signature verification. The code includes evasion mechanisms to avoid execution in developer, CI, or analyst environments by checking environment variables and npm lifecycle events. The use of DNS TXT records and host-string splitting are deliberate obfuscation techniques to evade detection by static analysis tools.
Potential Impact
This malicious behavior allows arbitrary unsigned binary code to be downloaded and executed on the host system, potentially leading to full system compromise, unauthorized access, data theft, or further malware deployment. The evasion techniques reduce the likelihood of detection during development or automated analysis, increasing the risk of persistent undetected infection in environments using this package version.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove devplatform-spa-plugin-devtools version 35.5.6 from their environments and avoid installing or requiring this package. Verify the integrity and provenance of npm packages before use. Monitor for any suspicious processes or files matching the described patterns (e.g., dotnet_diag_<hex>.exe or .cache_<hex> in temporary directories). Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Malicious code in devplatform-spa-plugin-devtools (npm)
Description
The npm package devplatform-spa-plugin-devtools version 35.5.6 contains malicious code that, upon requiring its main entry, executes an initialization routine which downloads and runs an unsigned binary payload from external, non-publisher-controlled hosts. The payload is fetched via HTTPS or reconstructed from DNS TXT records, saved to disguised paths on the local system, and executed without signature verification. Execution is conditionally skipped in certain telemetry-disabled or uninstall environments, indicating evasion techniques. This behavior poses a risk of unauthorized code execution on systems using this package version.
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-devtools npm package version 35.5.6 includes malicious code in its _support.js file. When the package is required, it runs an init() routine that constructs destination hostnames from split string fragments and fetches an unsigned binary payload either via HTTPS or by concatenating base64 fragments from DNS TXT records. The payload is saved to disguised executable files in temporary directories and executed detached from the main process without any hash or signature verification. The code includes evasion mechanisms to avoid execution in developer, CI, or analyst environments by checking environment variables and npm lifecycle events. The use of DNS TXT records and host-string splitting are deliberate obfuscation techniques to evade detection by static analysis tools.
Potential Impact
This malicious behavior allows arbitrary unsigned binary code to be downloaded and executed on the host system, potentially leading to full system compromise, unauthorized access, data theft, or further malware deployment. The evasion techniques reduce the likelihood of detection during development or automated analysis, increasing the risk of persistent undetected infection in environments using this package version.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package version. Users should immediately remove devplatform-spa-plugin-devtools version 35.5.6 from their environments and avoid installing or requiring this package. Verify the integrity and provenance of npm packages before use. Monitor for any suspicious processes or files matching the described patterns (e.g., dotnet_diag_<hex>.exe or .cache_<hex> in temporary directories). Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12764
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a73573abf8831d539152648
Added to database: 08/05/2026, 15:31:06 UTC
Last enriched: 08/05/2026, 16:44:04 UTC
Last updated: 08/05/2026, 16:44:04 UTC
Views: 3
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.