# MAL-2026-12758: Malicious code in devplatform-spa-feature-toggle (npm)


- **Type:** Malicious package
- **Package:** `devplatform-spa-feature-toggle` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-12758?

MAL-2026-12758 is a malicious package in devplatform-spa-feature-toggle, published on 5 Aug 2026. 

### Official description

On require() of the package, index.js loads _bridge.js, which selects a per-OS payload path, fetches an executable from a list of Cloudflare Workers hosts assembled via runtime string-splitting (e.g. ["oob-worker.cf101-adf.workers",".de","v"].join("")) with a DNS-TXT chunked-base64 fallback to hosts such as sdk.dl.wel1.ru, writes the payload to /var/tmp or %TEMP% under decoy names like.cache_<hex> or dotnet_diag_<hex>.exe, chmods it 0755, and spawns it detached via /bin/sh -c or cmd with stdio ignored. Additional cover-story markers include a.analytics_state marker file and DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK env gates. The destination hosts are not the package's publisher infrastructure and the fetched bytes are opaque and executed without integrity verification.

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

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

## Sources

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

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