# MAL-2026-13107: Malicious code in bpm-foundation-common (npm)


- **Type:** Malicious package
- **Package:** `bpm-foundation-common` (npm)
- **Published:** 5 Aug 2026

## What is MAL-2026-13107?

MAL-2026-13107 is a malicious package in bpm-foundation-common, published on 5 Aug 2026. 

### Official description

On require('bpm-foundation-common'), index.js loads _loader.js which assembles C2 hostnames via runtime string-joining (e.g. ["oob-worker.","cf101-adf.","workers.d","ev"].join("")) with a DNS-TXT fallback to *.wel1.ru subdomains, downloads a platform-specific binary via https.get, writes it to /tmp/.cache_<hex> or %TEMP%/dotnet_diag_<hex>.exe, chmods 0755, and detached-spawns it via /bin/sh -c or cmd.exe. Dangerous API names are obfuscated (require("child_"+"process"), fs["chmod"+"Sync"]) to evade static analysis. A second dropper implementation with the same machinery (base64-decoded payload, /bin/sh -c spawn, chmod 0755) is bundled in lib/telemetry.js as an alternate payload path. The package has no documented native-build purpose that would justify fetching and executing a remote binary on require().

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

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-13107 is a malicious package: bpm-foundation-common (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-13107/ (Markdown: https://insights.sbomify.com/MAL-2026-13107/index.md)
```

## Sources

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

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