# MAL-2026-16352: Malicious code in @baanx/blockchain-config (npm)


- **Type:** Malicious package
- **Package:** `@baanx/blockchain-config` (npm)
- **Published:** 21 Sep 2026
- **Also known as:** GHSA-f67m-pjx9-96cv

## What is MAL-2026-16352?

MAL-2026-16352 is a malicious package in @baanx/blockchain-config, published on 21 Sep 2026. 

### Official description

The package runs a bootstrap from both its install lifecycle script (`node index.js`) and its main module that invokes an obfuscated probe. The probe reads `os.userInfo().username`, `os.hostname()`, and the basename of `process.cwd()`, concatenates them with a static tag (`bxcfg`) and a timestamp, and performs a `dns.resolve4` lookup against `<tag>.<user>.<host>.<cwd>.<ts>.oob.algamil7x.xyz`, exfiltrating installer identity over DNS to a non-first-party domain unrelated to the claimed baanx publisher. The exfil host and the `os`/`dns`/`userInfo`/`hostname`/`cwd`/`resolve4` API references are hidden in `String.fromCharCode`/hex-decoded byte arrays in `probe/impl.js` and sibling files `e9c3a6.js` / `f0d4b7.js`, and the `os` and `dns` modules are loaded through `module.constructor._load` with decoded name arrays to defeat static analysis. Behavior fires automatically on `npm install` and on `require('@baanx/blockchain-config')`.

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

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-16352 is a malicious package: @baanx/blockchain-config (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-16352/ (Markdown: https://insights.sbomify.com/MAL-2026-16352/index.md)
```

## Sources

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

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