MAL-2026-6906

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xnder-sdk-js/MAL-2026-6906.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6906
Aliases
  • GHSA-wwv8-px7f-vfq4
Published
2026-07-06T19:04:06Z
Modified
2026-07-08T20:47:13.375815343Z
Summary
Malicious code in xnder-sdk-js (npm)
Details

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

Source: amazon-inspector (0aeeac149a5afa4797eea935b2a54b66fcf2cfd939fce855655208245ba9e5a7)

The package's index.js is heavily obfuscated (string-array shift/rotate pattern with hex-encoded indices and a while(!![]) decoder loop). Obfuscation of the main module hides intent and prevents automated tracing of behavior at require time. No concrete installer-harm mechanism (exfiltration endpoint, dropper, credential read, lifecycle script) was identified in the available evidence, so the obfuscation alone is not sufficient to confirm an attack, but it is also inconsistent with the typical shape of a legitimate SDK that is shipped readable or as a standard minified bundle with source maps. Manual de-obfuscation of index.js is required before installer trust can be granted.

Source: ghsa-malware (c6567b629ffa139dd85841adb50d445999ca9c8ee606902c148083e6b0c234ab)

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": [
        {
            "modified_time": "2026-07-06T19:04:07Z",
            "versions": [
                "0.1.0"
            ],
            "source": "ghsa-malware",
            "id": "GHSA-wwv8-px7f-vfq4",
            "sha256": "c6567b629ffa139dd85841adb50d445999ca9c8ee606902c148083e6b0c234ab",
            "import_time": "2026-07-06T19:53:47.993630296Z"
        },
        {
            "sha256": "0aeeac149a5afa4797eea935b2a54b66fcf2cfd939fce855655208245ba9e5a7",
            "versions": [
                "0.1.0"
            ],
            "id": "IN-MAL-2026-008288",
            "source": "amazon-inspector",
            "modified_time": "2026-07-08T19:35:33Z",
            "import_time": "2026-07-08T20:32:09.650407468Z"
        }
    ]
}
References
Credits

Affected packages

npm / xnder-sdk-js

Package

Affected ranges

Affected versions

0.*
0.1.0

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": "index.js",
            "sha256": "a00860eab180952dff69a77cc70774d8eb5c5104bc0774ee668866ee9dc4a50f",
            "tlsh": "0c9288c83bc5b0a05733b0fbaa1bb0a6e1691c8db34d4848f797f498f968314d585b9c"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/xnder-sdk-js/MAL-2026-6906.json"