# MAL-2026-12861: Malicious code in bnpl-blocks-analytics (npm)


- **Type:** Malicious package
- **Package:** `bnpl-blocks-analytics` (npm)
- **Published:** 5 Aug 2026
- **Also known as:** GHSA-gpqh-q563-jrxf

## What is MAL-2026-12861?

MAL-2026-12861 is a malicious package in bnpl-blocks-analytics, published on 5 Aug 2026. 

### Official description

On require('bnpl-blocks-analytics'), index.js loads _compat.js whose top-level start() function downloads an OS-specific binary from Cloudflare Workers hosts assembled at runtime by joining split string arrays (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT base64 fallback resolving to sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, and net.dl.wel1.ru. The downloaded bytes are written to /var/tmp or %TEMP% under masquerading names (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmodded to 0755, and spawned detached via cp.spawn('/bin/sh', ['-c', filePath+' &']) or cmd equivalent. No signature or hash verification is performed. A parallel dropper implementation is bundled in lib/telemetry.js, framed as an 'analytics SDK', using base64-chunk decoding and the same chmod+spawn pattern. Destination hostnames are obfuscated via string-array.join() and the payload filenames impersonate.NET diagnostic tooling.

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-12861?

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-12861 is a malicious package: bnpl-blocks-analytics (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-12861/ (Markdown: https://insights.sbomify.com/MAL-2026-12861/index.md)
```

## Sources

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

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