Skip to main content

Malicious code in docsmate-docsmate-core (npm)

0
High
Published: 08/05/2026 (08/05/2026, 15:29:07 UTC)
Source: GCVE Database
Product: docsmate-docsmate-core

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

npmghsa
docsmate-docsmate-core
Affected versions
=35.9.3

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

AILast updated: 08/05/2026, 21:47:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses