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-06-11T08:01:33.811875576Z
Summary
Malicious code in xnder-sdk (npm)
Details

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

Source: amazon-inspector (0cac2bcdbeb978a93be7021106fbfcab7795f51b434141160391cb89df0a87ab)

The package contains scripts/script.js with heavy obfuscation patterns (string-array shift loops, hex-encoded indices, while(!![]) anti-analysis constructs) typical of payload-hiding wrappers. An obfuscated script in a package's scripts/ directory has no legitimate purpose for an SDK — well-intentioned install/setup logic is shipped readable. Combined with the package name shape (a generic 'sdk' suffix without a corresponding identifiable publisher), this matches the profile of a package using obfuscation to conceal install-time or load-time behavior from reviewers.

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",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-10T07:48:35.922851632Z",
            "sha256": "4dfcb759dd36ce1ba707484f0a2735cafb5b97844e860ffc8646f93be9731b90",
            "source": "ghsa-malware",
            "modified_time": "2026-06-10T06:43:01Z"
        },
        {
            "id": "IN-MAL-2026-005602",
            "import_time": "2026-06-11T07:49:31.630748483Z",
            "sha256": "0cac2bcdbeb978a93be7021106fbfcab7795f51b434141160391cb89df0a87ab",
            "source": "amazon-inspector",
            "modified_time": "2026-06-11T06:03:06Z",
            "versions": [
                "11.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / xnder-sdk

Package

Affected ranges

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

Affected versions

11.*
11.0.2

Database specific

cwes
[
    {
        "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"
    }
]
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"