# MAL-2026-12729: Malicious code in devplatform-nx-svelte (npm)


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

## What is MAL-2026-12729?

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

### Official description

On require of the package, _compat.js constructs C2 hostnames by joining split string fragments to evade static inspection, downloads a platform-specific executable from Cloudflare Workers subdomains (oob-worker.cf1**-***.workers.dev), and falls back to a DNS-TXT covert channel that reassembles base64 chunks from TXT records at c.<subdomain>.dl.wel1.ru / N.<subdomain>.dl.wel1.ru across sdk/ext/pkg/net.dl.wel1.ru. The retrieved bytes are written to a temp path with a disguised name (e.g. dotnet_diag_*.exe,.cache_*), chmodded 755 on Unix, and spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. Cover-story naming (markerPath 'analytics_state', a DISABLE_TELEMETRY opt-out, and a no-op _l logger) frames the dropper as telemetry. The fetch targets are not the package's publisher, the payload is opaque, and there is no integrity verification. The package name resembles legitimate Nx/Svelte tooling but the shipped code performs unauthenticated remote code execution on every installer that imports it.

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

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

## Sources

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

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