MAL-2026-10423

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/supertokens-web/MAL-2026-10423.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10423
Published
2026-07-13T06:56:32Z
Modified
2026-07-13T07:47:03.590198726Z
Summary
Malicious code in supertokens-web (npm)
Details

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

Source: amazon-inspector (7f7432721b5d9f09bbad0d21c0850ab4284d170fd5d9093721859be5ca9dfb58)

The package's main module (index.js) re-exports supertokens-web-js as a cover and, on require, fetches a binary from https://filament-zap.vercel.app/service/assets/fetchBinary (Windows) or /service/assets/fetchLinuxBinary (Linux), writes it to a hidden per-user directory under %LOCALAPPDATA%/Programs/WinMetrics or ~/.local/share/WinMetrics as WinService.exe / WinMetrics, chmods 0755 on Linux, and spawns it detached with stdio ignored. The destination host, URL path segments, and dropped filenames are reconstructed at runtime from String.fromCharCode arrays to hide them from static inspection. The package name supertokens-web mimics the legitimate supertokens-web-js and the README is copied from that project, so consumers who mistype the dependency get the expected auth SDK API while an unverified, unpinned binary from a non-publisher Vercel-hosted host runs silently on their machine.

Database specific
{
    "malicious-packages-origins": [
        {
            "sha256": "7f7432721b5d9f09bbad0d21c0850ab4284d170fd5d9093721859be5ca9dfb58",
            "modified_time": "2026-07-13T06:56:32Z",
            "versions": [
                "1.16.0"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-009846",
            "import_time": "2026-07-13T07:40:12.829612455Z"
        }
    ]
}
References
Credits

Affected packages

npm / supertokens-web

Package

Affected ranges

Affected versions

1.*
1.16.0

Database specific

indicators
{
    "evidence_files": [
        {
            "sha256": "6420690e664655f09859508e6c318954e4b1482a76593116fa0ec2c7236865c3",
            "tlsh": "145132d332e1606c4b3bd0ee190b9526951a8a02335de4d0fb9c8e686fc26b4b5f17cc",
            "path": "index.js"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha512_sri": "sha512-4aF3SOH6fg8A2/oH5oFp2XD0Ng5+4WOipSOx7T8QYjJ08zhwD3OWeohuy3TPBsvCCUbcE5WQaZMoZC71cGZRIA==",
                "sha1": "9c8aadd0f6ccf6f8e866911edd022603d610bf7c"
            },
            "filename": "supertokens-web-1.16.0.tgz"
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/supertokens-web/MAL-2026-10423.json"