MAL-2026-14109
Dashboard / Malicious Package / MAL-2026-14109
MAL-2026-14109
Summary: Malicious code in leb128x (npm)
Details: Source: amazon-inspector (fb3862797564b06cd20320cecbdadcdd30bd5506e9afc09ed1f2ce225c22e5c8) 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.
References: https://github.com/advisories/GHSA-p98p-7p39-8v79, https://www.npmjs.com/package/leb128x/v/1.0.1, https://www.npmjs.com/package/leb128x/v/1.0.0
Affected packages
Package
Name: leb128x
Purl: pkg:npm/leb128x
Affected ranges
Type: SEMVER
Events:
