NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

@baanx/blockchain-confignpm

Advisory published Updated

@baanx/blockchain-config is a confirmed malicious npm package (MAL-2026-16352) that steals credentials and exfiltrates sensitive data (malicious versions 9.9.9, 9.9.11). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @baanx/blockchain-config (npm)

MAL-2026-16352
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @baanx/blockchain-config

What this malware does

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.

Malicious versions

2 flagged
9.9.99.9.11

Indicators of compromise (SHA-256)

0b6dec4d715e2863e7f55749d6d2a390926f3f2f1df62e4de223c6acc818632d
6efa71410686d3ace79a501e2afa27505312aab915fb79429b312f9456d272b0
c765c250998ba44368833c3113d4ad839396583414992a2eb1256601210c86e8

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for @baanx/blockchain-config (2 malicious versions).

  2. If you installed it — respond

    @baanx/blockchain-config is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If @baanx/blockchain-config was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. @baanx/blockchain-config on npm has been identified as a malicious package (versions 9.9.9, 9.9.11 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-020264GHSA-f67m-pjx9-96cvIN-MAL-2026-020702

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks @baanx/blockchain-config-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

@baanx/blockchain-config (npm) malicious package — MAL-2026-16352 | O3 Security