Malicious code in docsmate-docsmate-core (npm)
The npm package docsmate-docsmate-core version 35.9.3 contains malicious code that, upon import, downloads and executes an OS/architecture-specific binary from obfuscated Cloudflare Workers hostnames and fallback DNS-TXT resolver domains. The binary is saved under a disguised name mimicking a Microsoft.NET diagnostic tool and executed detached from the main process. This behavior is unexpected for a platform/core types library and indicates malicious intent to run unauthorized code on the host system.
AI Analysis
Technical Summary
The docsmate-docsmate-core npm package (version 35.9.3) includes code that dynamically constructs Cloudflare Workers hostnames and fallback DNS-TXT resolver domains to download an OS/arch-specific binary over HTTPS. This binary is saved to temporary directories with names designed to impersonate legitimate Microsoft.NET diagnostic tools and is executed detached from the main process using shell commands. The package does not contain native source code justifying this behavior, and destination hosts are string-obfuscated to evade static analysis. Environment variables can disable execution, and a stamp file prevents repeated runs.
Potential Impact
This malicious behavior allows the package to execute arbitrary native code on the host system without user consent, potentially leading to unauthorized system access, persistence, or further compromise. The disguised binary and obfuscated network destinations complicate detection and analysis. There are no known exploits in the wild reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid using version 35.9.3 of docsmate-docsmate-core and remove it from their environments if present. Monitor for suspicious processes or files matching the described patterns. Check vendor advisories or npm security advisories for updates or official guidance.
Malicious code in docsmate-docsmate-core (npm)
Description
The npm package docsmate-docsmate-core version 35.9.3 contains malicious code that, upon import, downloads and executes an OS/architecture-specific binary from obfuscated Cloudflare Workers hostnames and fallback DNS-TXT resolver domains. The binary is saved under a disguised name mimicking a Microsoft.NET diagnostic tool and executed detached from the main process. This behavior is unexpected for a platform/core types library and indicates malicious intent to run unauthorized code on the host system.
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 docsmate-docsmate-core npm package (version 35.9.3) includes code that dynamically constructs Cloudflare Workers hostnames and fallback DNS-TXT resolver domains to download an OS/arch-specific binary over HTTPS. This binary is saved to temporary directories with names designed to impersonate legitimate Microsoft.NET diagnostic tools and is executed detached from the main process using shell commands. The package does not contain native source code justifying this behavior, and destination hosts are string-obfuscated to evade static analysis. Environment variables can disable execution, and a stamp file prevents repeated runs.
Potential Impact
This malicious behavior allows the package to execute arbitrary native code on the host system without user consent, potentially leading to unauthorized system access, persistence, or further compromise. The disguised binary and obfuscated network destinations complicate detection and analysis. There are no known exploits in the wild reported yet.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid using version 35.9.3 of docsmate-docsmate-core and remove it from their environments if present. Monitor for suspicious processes or files matching the described patterns. Check vendor advisories or npm security advisories for updates or official guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13281
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6a73852ebf8831d5394f05c9
Added to database: 08/05/2026, 18:47:10 UTC
Last enriched: 08/05/2026, 21:47:59 UTC
Last updated: 09/15/2026, 15:51:17 UTC
Views: 23
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.