Malicious code in devplatform-di (npm)
The devplatform-di npm package version 35.5.5 contains malicious code that downloads and executes platform-specific binaries from obfuscated and suspicious hosts. The package uses runtime string assembly and base64 decoding to evade detection, writing executables to temporary directories and executing them detached from the main process. It masquerades as a simple dependency-injection stub but performs unauthorized code execution.
AI Analysis
Technical Summary
The devplatform-di package (version 35.5.5) includes malicious functionality where its index.js loads a _compat.js script that fetches platform-specific executables from obfuscated hosts using string-split obfuscation and DNS TXT record fallbacks. These executables are saved to temporary directories with misleading filenames, permissioned to be executable, and launched detached via shell commands. The package also contains telemetry code that similarly uses obfuscated child_process calls and base64-decoded buffers to spawn shell commands. The package falsely presents itself as a trivial dependency-injection utility but in reality executes unauthorized native binaries, posing a supply chain risk.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running executables from attacker-controlled domains. This can lead to full system compromise, unauthorized data access, or further malware deployment. The obfuscation techniques hinder detection by static analysis tools, increasing the risk of unnoticed exploitation in environments that use this package.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately remove version 35.5.5 of devplatform-di from their projects and dependency trees. It is recommended to audit dependencies for similar malicious behavior and avoid using this package. Monitor for updates from trusted sources or advisories for any official remediation.
Malicious code in devplatform-di (npm)
Description
The devplatform-di npm package version 35.5.5 contains malicious code that downloads and executes platform-specific binaries from obfuscated and suspicious hosts. The package uses runtime string assembly and base64 decoding to evade detection, writing executables to temporary directories and executing them detached from the main process. It masquerades as a simple dependency-injection stub but performs unauthorized code execution.
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-di package (version 35.5.5) includes malicious functionality where its index.js loads a _compat.js script that fetches platform-specific executables from obfuscated hosts using string-split obfuscation and DNS TXT record fallbacks. These executables are saved to temporary directories with misleading filenames, permissioned to be executable, and launched detached via shell commands. The package also contains telemetry code that similarly uses obfuscated child_process calls and base64-decoded buffers to spawn shell commands. The package falsely presents itself as a trivial dependency-injection utility but in reality executes unauthorized native binaries, posing a supply chain risk.
Potential Impact
This malicious package can execute arbitrary native code on the host system by downloading and running executables from attacker-controlled domains. This can lead to full system compromise, unauthorized data access, or further malware deployment. The obfuscation techniques hinder detection by static analysis tools, increasing the risk of unnoticed exploitation in environments that use this package.
Mitigation Recommendations
No official patch or remediation is currently documented for this malicious package. Users should immediately remove version 35.5.5 of devplatform-di from their projects and dependency trees. It is recommended to audit dependencies for similar malicious behavior and avoid using this package. Monitor for updates from trusted sources or advisories for any official remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-12709
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a735737bf8831d53914962c
Added to database: 08/05/2026, 15:31:03 UTC
Last enriched: 08/05/2026, 16:30:10 UTC
Last updated: 08/05/2026, 16:30: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.