# MAL-2026-13281: Malicious code in docsmate-docsmate-core (npm)


- **Type:** Malicious package
- **Package:** `docsmate-docsmate-core` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-13281?

MAL-2026-13281 is a malicious package in docsmate-docsmate-core, published on 5 Aug 2026. 

### Official description

On require(), index.js loads _support.js which assembles Cloudflare Workers hostnames (oob-worker.cf99-9b3.workers.dev and siblings cf100-416, cf101-adf, cf102-baf) from split string fragments, with a DNS-TXT fallback resolver chain across sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. It downloads an OS/arch-specific binary over HTTPS, writes it to /tmp or %TEMP% under a disguised name (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Unix), chmods 0755, and detaches it via spawn('/bin/sh', ['-c', path+' &'], {detached:true}) or spawn('cmd',...). A stamp file suppresses re-runs and environment variables can disable execution. The package presents itself as a platform/core types library and ships no shipped native source that would justify fetching and executing an opaque binary at import time. Destination hosts are string-obfuscated to evade static inspection, and the dropped file is named to impersonate a Microsoft.NET diagnostic tool.

## What should I do about MAL-2026-13281?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-13281 is a malicious package: docsmate-docsmate-core (npm). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-13281/ (Markdown: https://insights.sbomify.com/MAL-2026-13281/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-13281

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-13281/
Summaries are generated and may contain mistakes; the official description above is the record.
