LWA-2026-11399 confirmed malware

leb128x@1.0.1

Malicious code in leb128x (npm)

T1552.001 · Credentials In FilesT1082 · System Information DiscoveryT1071.001 · Web ProtocolsT1041 · Exfiltration Over C2 ChannelT1059.007 · JavaScriptT1070.004 · File Deletion

Analysis

leb128x@1.0.1 is a trojanized clone of a legitimate ULEB128/BCS codec for Sui/Move. The main module requires a bundled file _perf.js, so importing the package triggers credential theft. _perf.js reads ~/.sui/sui.keystore (Sui private keys), ~/.sui/sui_config/*.yaml, ~/.aws/credentials, ~/.aws/config, and any .env file containing SUI_/PK_B64/PRIVATE_KEY/AWS_/SECRET_ markers, base64-encodes them, and exfiltrates them via the GitHub contents API (PUT to api[.]github[.]com/repos/wutang344/runtime-env-reports/contents/d/<timestamp>-<pid>.json, branch main) using an embedded GitHub personal access token (ghp_...). Pending exfil is staged in $TMPDIR/.perf-cache.json and the payload file deletes itself after a successful upload.

analyzed by
Leitwacht
first seen
Aug 17, 2026, 03:00 PM
analyzed
Aug 17, 2026, 03:02 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.