# MAL-2026-12713: Malicious code in devplatform-humanize-network-error (npm)


- **Type:** Malicious package
- **Package:** `devplatform-humanize-network-error` (npm)
- **Published:** 5 Aug 2026
- **Also known as:** GHSA-f2ff-g693-65xc

## What is MAL-2026-12713?

MAL-2026-12713 is a malicious package in devplatform-humanize-network-error, published on 5 Aug 2026. 

### Official description

devplatform-humanize-network-error@35.3.8 advertises itself as a network-error humanizing utility, but on `require()` its index.js unconditionally loads _adapter.js, which fetches a platform-specific native binary over HTTPS from Cloudflare Workers hosts assembled at runtime from string fragments (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), writes it to /tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows, chmods it 0755, and spawns it detached via `/bin/sh -c` or `cmd.exe`. No hash or signature verification is performed and the payload is unrelated to the package's stated purpose. If the HTTPS fetch returns less than 1000 bytes, a fallback DNS-TXT covert channel reassembles a base64-encoded payload from TXT records under sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru (queried as c.<domain> plus per-index sub-labels) and executes it identically. Destination hostnames are reconstructed from `.join("")` fragments and dropped artifacts are named to masquerade as telemetry/diagnostic files (.analytics_state,.cache_<hex>, dotnet_diag_<hex>.exe), with comments framing the drop as analytics. A sibling lib/telemetry.js (~80 KB) shipped in the same tarball replicates the same HTTPS+DNS discovery, detached shell spawn, chmod 0755, and base64 chunk reassembly primitives but is not currently referenced by the entry graph.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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

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-12713 is a malicious package: devplatform-humanize-network-error (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-12713/ (Markdown: https://insights.sbomify.com/MAL-2026-12713/index.md)
```

## Sources

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

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