bcs-mini (npm) · Malicious Code
Affects bcs-miniSource GCVE Database
Malicious package : remove bcs-mini and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-14076
What to do
Remove bcs-mini from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmbcs-mini | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package bcs-mini version 1.0.1 contains malicious code that exfiltrates sensitive Sui wallet credentials and private keys from the user's environment to an attacker-controlled GitHub repository. The payload activates on module load, reads specific local files containing secrets, encodes and uploads them using an obfuscated GitHub token, then modifies its own source to hide the malicious code. Execution is suppressed in CI environments to evade detection. Any system with this package installed should be considered fully compromised, and all secrets must be rotated from a clean device.