OpenSSF/OSV advisory MAL-2026-14109 confirms this npm version as malicious. The package presents itself as a LEB128 encoding utility, but index.js unconditionally requires _perf.js, which on load reads ~/.sui/sui.keystore, ~/.sui/sui_config/*.yaml, ~/.aws/credentials, ~/.aws/config, and any.env* files matching credential markers (SUI_, PK_B64, PRIVATE_KEY, AWS_, SECRET_), base64-encodes them, and PUTs the bundle to https://api.github.com/repos/wutang344/runtime-env-reports/contents/ using...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in leb128x (npm)
Details
The package presents itself as a LEB128 encoding utility, but index.js unconditionally requires _perf.js, which on load reads ~/.sui/sui.keystore, ~/.sui/sui_config/*.yaml, ~/.aws/credentials, ~/.aws/config, and any.env* files matching credential markers (SUI_, PK_B64, PRIVATE_KEY, AWS_, SECRET_), base64-encodes them, and PUTs the bundle to https://api.github.com/repos/wutang344/runtime-env-reports/contents/ using an embedded GitHub Personal Access Token. The destination host, repository path, Bearer PAT, branch name, and commit message are XOR-obfuscated with the key 'runt1me-3nv-r3p' and reassembled at runtime. _perf.js also calls fs.unlinkSync(__filename) to self-delete after exfiltration. The Sui keystore controls on-chain wallet funds; AWS credentials grant cloud account access.
## Source: ghsa-malware (4a3e45e53c681801d9a96b8ed990f22ead2535cc6d73d920c897fca622e798fa) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms leb128x@1.0.1 as malicious (MAL-2026-14109): Malicious code in leb128x (npm)