Skip to main content
MalwarePublished Updated

bcs-mini (npm) · Malicious Code

Affects bcs-miniSource GCVE Database

0

Malicious package : remove bcs-mini and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:18 UTC

Classification

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

ProductAffectedFixed in
npmbcs-miniAffected
  • =1.0.1
  • =1.0.0
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.

References

Community reviews

Loading reviews…