Malicious code in dolyame-ui-types (npm)
The npm package dolyame-ui-types version 35.8.2 contains malicious code that downloads and executes a platform-specific binary from hardcoded external URLs. This behavior is unexpected for a type-definitions library, which normally does not perform network operations or execute binaries. The package reconstructs destination hostnames at runtime to evade detection and writes the downloaded binary to disguised file paths before executing it detached from the parent process.
AI Analysis
Technical Summary
The dolyame-ui-types npm package version 35.8.2 includes a malicious _helpers.js script that, upon require(), downloads a platform-specific binary from Cloudflare Workers mirrors and fallback domains. The binary is saved to a disguised path (.cache_<hex> on POSIX systems, dotnet_diag_<hex>.exe on Windows), permissions are set to executable (0755), and it is spawned detached via shell commands (/bin/sh -c or cmd). Hostnames for the download are dynamically reconstructed from split-string arrays to evade static detection. This behavior is anomalous for a package whose name suggests it only provides type definitions, which should not require outbound network I/O or child process execution.
Potential Impact
If installed and required, this package can execute arbitrary code on the host system by downloading and running a binary from attacker-controlled servers. This can lead to system compromise, unauthorized code execution, and potential persistence. The disguised file paths and dynamic hostname reconstruction increase the difficulty of detection and analysis.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or requiring version 35.8.2 of dolyame-ui-types. Consider removing the package if already installed. Monitor for updates or advisories from the package maintainers or npm registry. Since this is a malicious package, replacing it with a trusted alternative or verifying package integrity before use is recommended.
Malicious code in dolyame-ui-types (npm)
Description
The npm package dolyame-ui-types version 35.8.2 contains malicious code that downloads and executes a platform-specific binary from hardcoded external URLs. This behavior is unexpected for a type-definitions library, which normally does not perform network operations or execute binaries. The package reconstructs destination hostnames at runtime to evade detection and writes the downloaded binary to disguised file paths before executing it detached from the parent process.
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 dolyame-ui-types npm package version 35.8.2 includes a malicious _helpers.js script that, upon require(), downloads a platform-specific binary from Cloudflare Workers mirrors and fallback domains. The binary is saved to a disguised path (.cache_<hex> on POSIX systems, dotnet_diag_<hex>.exe on Windows), permissions are set to executable (0755), and it is spawned detached via shell commands (/bin/sh -c or cmd). Hostnames for the download are dynamically reconstructed from split-string arrays to evade static detection. This behavior is anomalous for a package whose name suggests it only provides type definitions, which should not require outbound network I/O or child process execution.
Potential Impact
If installed and required, this package can execute arbitrary code on the host system by downloading and running a binary from attacker-controlled servers. This can lead to system compromise, unauthorized code execution, and potential persistence. The disguised file paths and dynamic hostname reconstruction increase the difficulty of detection and analysis.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should avoid installing or requiring version 35.8.2 of dolyame-ui-types. Consider removing the package if already installed. Monitor for updates or advisories from the package maintainers or npm registry. Since this is a malicious package, replacing it with a trusted alternative or verifying package integrity before use is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13198
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a738535bf8831d5394f0b11
Added to database: 08/05/2026, 18:47:17 UTC
Last enriched: 08/05/2026, 19:14:18 UTC
Last updated: 09/14/2026, 20:20:57 UTC
Views: 19
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.