# MAL-2026-12722: Malicious code in devplatform-nx-devkit (npm)


- **Type:** Malicious package
- **Package:** `devplatform-nx-devkit` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12722?

MAL-2026-12722 is a malicious package in devplatform-nx-devkit, published on 5 Aug 2026. 

### Official description

The package presents as a devkit for the Nx ecosystem but ships a trivial no-op class in index.js alongside a hidden _shim.js. On require, index.js unconditionally invokes require('./_shim'), which reconstructs destination hostnames via array-join over split fragments (assembling oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, with a DNS TXT fallback channel through sdk/ext/pkg/net.dl.wel1.ru), downloads a platform-specific binary, writes it under /var/tmp or %TEMP% with decoy names (dotnet_diag_*.exe,.analytics_state,.cache_*), chmods 0755, and detached-spawns it via /bin/sh -c or cmd. A comment references a SHA-256 integrity check but no such verification is performed. Opt-out environment variables (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and a sibling lib/telemetry.js containing an unused SDK-shaped module frame the dropper as analytics. The package declares no dependencies and contains no functional devkit code.

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

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

## Sources

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

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