leb128x
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-p98p-7p39-8v79
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in leb128x (npm)
---
_-= Per source details. Do not edit below this line.=-_
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0