LWA-2026-10633 MAL-2026-13450 ↗ confirmed malware

move-bcs-codec@1.0.0

Malicious code in move-bcs-codec (npm)

T1059.007 · JavaScriptT1552.001 · Credentials In FilesT1552.004 · Private KeysT1005 · Data from Local SystemT1082 · System Information DiscoveryT1041 · Exfiltration Over C2 ChannelT1567 · Exfiltration Over Web Service

Analysis

The postinstall hook (install.js) of this package steals Sui wallet keys and environment secrets and exfiltrates them to a remote GitHub repository. On install it reads ~/.sui/sui.keystore (Sui private keys), ~/.sui/sui_config/client.yaml and sui_config.yaml, and scans the current directory and home directory for .env files containing SUI_, PK_B64, or PRIVATE_KEY. All found files are base64-encoded, gzipped, and uploaded via the GitHub API (api[.]github[.]com) to the repository butongwan/sui-research-notes on the 'reports' branch under the path fingerprints/<timestamp>-<pid>.json.gz, authenticated with a hardcoded GitHub personal access token. The upload is silent (errors swallowed) and runs automatically on install.

analyzed by
Leitwacht
first seen
Aug 6, 2026, 04:43 PM
analyzed
Aug 6, 2026, 04:43 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.