MAL-2026-14076

    Dashboard / Malicious Package / MAL-2026-14076

    MAL-2026-14076

    Published: 14 Aug 2026Last Modified: 18 Aug 2026Aliases: 
    GHSA-9q3f-qc6p-62mm

    Summary: Malicious code in bcs-mini (npm)

    Details: Source: amazon-inspector (90e476c27d0fcb2d394107a3fa8131c7b278152340ef508f1a13658e19cbbed5) bcs-mini presents itself as a BCS codec but contains an install/require-time payload in index.js that steals Sui wallet material. On module load, a self-invoked IIFE reads ~/.sui/sui.keystore, files under ~/.sui/sui_config/, and local.env* files matching SUI_/PK_B64/PRIVATE_KEY markers, base64-encodes their contents, and PUTs them to a hardcoded attacker-controlled GitHub repository via api.github.com/repos/<owner>/<repo>/contents/fingerprints/<ts>-<pid>.json. The destination host, owner, repo, and Bearer token are hidden as XOR-obfuscated character arrays reassembled at runtime using the key 'bcs-c0mpact-v10'. After exfiltration, the code overwrites index.js on disk to remove the /* compat-probe:start */... /* compat-probe:end */ region so post-install inspection shows only a benign codec. A CI-environment check gates execution to reduce detection in build systems. The embedded GitHub Bearer token is the credential that authenticates the upload to the attacker's repository. Source: ghsa-malware (2cabaabc178202b26609f4cd403279782d153548af197b164715fd8f795f41eb) 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.

    Affected packages

    Package

    Name: bcs-mini

    Purl: pkg:npm/bcs-mini

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.1
    1.0.0
    MAL-2026-14076 | CVE-DB