MAL-2026-14109

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/leb128x/MAL-2026-14109.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14109
Aliases
  • GHSA-p98p-7p39-8v79
Published
2026-08-17T16:24:09Z
Modified
2026-08-18T21:45:20.142898264Z
Summary
Malicious code in leb128x (npm)
Details

-= 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/suiconfig/.yaml, ~/.aws/credentials, ~/.aws/config, and any.env files matching credential markers (SUI_, PKB64, PRIVATEKEY, 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-18T00:20:04.636240319Z",
            "sha256": "4a3e45e53c681801d9a96b8ed990f22ead2535cc6d73d920c897fca622e798fa",
            "modified_time": "2026-08-17T16:24:09Z",
            "source": "ghsa-malware",
            "id": "GHSA-p98p-7p39-8v79",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ]
        },
        {
            "import_time": "2026-08-18T20:42:27.949756249Z",
            "sha256": "fb3862797564b06cd20320cecbdadcdd30bd5506e9afc09ed1f2ce225c22e5c8",
            "modified_time": "2026-08-18T20:28:25Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017989",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "import_time": "2026-08-18T21:42:02.15492176Z",
            "sha256": "03bc0a6feaa854b66aa531d6caaca67ce31853d2f805d936370a6978caf45cd8",
            "modified_time": "2026-08-18T21:18:36Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018111",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / leb128x

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0
1.0.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/leb128x/MAL-2026-14109.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "b0775b7e4a8fc3d2f3f80341dd6ff506653f66c880105253081a2ccb0c13a710",
            "path": "_perf.js",
            "tlsh": "1a51a6e72789823582d5d795c0da9f03e7b2c7d03b2b64c3d99c1c876423814aa76d2d"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]