MAL-2026-5491

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xnder-sdk/MAL-2026-5491.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5491
Aliases
  • GHSA-5vr8-6v9x-3vxm
Published
2026-06-10T06:43:00Z
Modified
2026-07-08T20:47:14Z
Summary
Malicious code in xnder-sdk (npm)
Details

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

Source: amazon-inspector (7d6bc17ad9fb1a8705ba5311c309bd7a54178d893f44c0c5ea2b19172171eb58)

The package ships scripts/script.js containing heavy obfuscation patterns (string-array shift rotation, hex-encoded numeric literals, while(!![]) control-flow flattening). Obfuscated code in install-time scripts is uncharacteristic of legitimate SDK distributions, which typically ship readable JavaScript or, at most, minified bundles. The obfuscation prevents straightforward verification of what the script does on installer machines. Without de-obfuscating the script and confirming whether it performs network I/O, credential reads, or code execution at install or require time, the specific installer-side behavior cannot be characterized.

Source: ghsa-malware (4dfcb759dd36ce1ba707484f0a2735cafb5b97844e860ffc8646f93be9731b90)

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": [
        {
            "id": "GHSA-5vr8-6v9x-3vxm",
            "import_time": "2026-06-10T07:48:35.922851632Z",
            "modified_time": "2026-06-10T06:43:01Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "4dfcb759dd36ce1ba707484f0a2735cafb5b97844e860ffc8646f93be9731b90",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-005602",
            "import_time": "2026-06-11T07:49:31.630748483Z",
            "modified_time": "2026-06-11T06:03:06Z",
            "sha256": "0cac2bcdbeb978a93be7021106fbfcab7795f51b434141160391cb89df0a87ab",
            "source": "amazon-inspector",
            "versions": [
                "11.0.2"
            ]
        },
        {
            "id": "IN-MAL-2026-008289",
            "import_time": "2026-07-08T20:32:09.747213Z",
            "modified_time": "2026-07-08T19:35:42Z",
            "sha256": "7d6bc17ad9fb1a8705ba5311c309bd7a54178d893f44c0c5ea2b19172171eb58",
            "source": "amazon-inspector",
            "versions": [
                "11.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / xnder-sdk

Package

Affected ranges

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

Affected versions

11.*
11.0.2
11.0.3

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "scripts/script.js",
            "sha256": "0e22eb35e246639f1a8df859f9fab2077236bb29cd00bbf0a84421e972316c90",
            "tlsh": "558275cc3fc1f0605673f0fb7a1b70a6e17a5c8ca3998849f356b0a8f928314d492768"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xnder-sdk/MAL-2026-5491.json"