MAL-2026-6063

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sort-btree/MAL-2026-6063.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6063
Aliases
  • GHSA-wwvg-mj5j-mqx8
Published
2026-06-17T12:57:21Z
Modified
2026-07-09T16:32:01.519292457Z
Summary
Malicious code in sort-btree (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (c21e3fbfbd2c75d226e7f427d760d771d29d6f612eaaa98b5b6daed7bc164035)

Pattern matches fired on minified files extended/b+tree.min.js and extended/bulkLoad.min.d.js based on keyword co-occurrence (require("childprocess"), GET/POST tokens, and the word 'hostname') within single-line minified output. The package presents itself as a B+ tree data structure library, where these tokens may correspond to benign symbol names or unrelated code paths in minified output rather than an exfiltration channel. No traced execution path confirms outbound network activity, environment scraping, lifecycle-hook execution, or attacker-controlled destinations. There is no hardcoded C2 endpoint, no install/lifecycle script, and no credential-path access visible in the available evidence. Routing to human review so a reviewer can de-minify the bundle and confirm whether the childprocess and HTTP-related tokens reflect actual runtime behavior or merely incidental keyword proximity in compressed output.

Source: ghsa-malware (6c3b0d783c53decf1a240f02276991c7c00a8b72f0d3988a7e86be90464da38d)

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": [
        {
            "source": "ghsa-malware",
            "sha256": "6c3b0d783c53decf1a240f02276991c7c00a8b72f0d3988a7e86be90464da38d",
            "import_time": "2026-06-17T13:31:49.244760509Z",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-wwvg-mj5j-mqx8",
            "modified_time": "2026-06-17T12:57:22Z"
        },
        {
            "id": "IN-MAL-2026-009175",
            "sha256": "c21e3fbfbd2c75d226e7f427d760d771d29d6f612eaaa98b5b6daed7bc164035",
            "modified_time": "2026-07-09T15:39:18Z",
            "versions": [
                "2.1.6"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-07-09T16:20:48.262440601Z"
        },
        {
            "source": "amazon-inspector",
            "sha256": "d75fea163f11c5cbe7c85c1eba35c77e7481658bba381b13fe62e3414f361240",
            "import_time": "2026-07-09T16:20:48.189287176Z",
            "modified_time": "2026-07-09T15:39:10Z",
            "id": "IN-MAL-2026-009174",
            "versions": [
                "2.2.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / sort-btree

Package

Affected ranges

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

Affected versions

2.*
2.1.6
2.2.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "tlsh": "884207c83ba87e7107c661ee916938038699ac157b1db001fa5ade8f324d7849163ffd",
            "sha256": "18bf8c1d0985628166456645c78dec250b545e191e52298565eeff3dee3095cf",
            "path": "extended/b+tree.min.js"
        },
        {
            "tlsh": "13a12bce9b7922bb0fe6144eac19200341bccc417ba5e5d1f849da8f36a93c15593f56",
            "sha256": "4b1f11e4a56b91a24474c6f42059115178831c32d08acc2f8091bb651325ac38",
            "path": "extended/bulkLoad.min.d.js"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/sort-btree/MAL-2026-6063.json"