mal-2026-10423
Vulnerability from ossf_malicious_packages
-= 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.
Source: ghsa-malware (959164a926eac39697d7ef06b83515205cc8ff81150871ab4207084071e51cf8)
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.
{
"affected": [
{
"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"
}
],
"indicators": {
"evidence_files": [
{
"path": "index.js",
"sha256": "6420690e664655f09859508e6c318954e4b1482a76593116fa0ec2c7236865c3",
"tlsh": "145132d332e1606c4b3bd0ee190b9526951a8a02335de4d0fb9c8e686fc26b4b5f17cc"
}
],
"package_integrity": [
{
"filename": "supertokens-web-1.16.0.tgz",
"hashes": {
"sha1": "9c8aadd0f6ccf6f8e866911edd022603d610bf7c",
"sha512_sri": "sha512-4aF3SOH6fg8A2/oH5oFp2XD0Ng5+4WOipSOx7T8QYjJ08zhwD3OWeohuy3TPBsvCCUbcE5WQaZMoZC71cGZRIA=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "supertokens-web"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.16.0"
]
}
],
"aliases": [
"GHSA-m7xr-6cvv-jm79"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-009846",
"import_time": "2026-07-13T07:40:12.829612455Z",
"modified_time": "2026-07-13T06:56:32Z",
"sha256": "7f7432721b5d9f09bbad0d21c0850ab4284d170fd5d9093721859be5ca9dfb58",
"source": "amazon-inspector",
"versions": [
"1.16.0"
]
},
{
"id": "GHSA-m7xr-6cvv-jm79",
"import_time": "2026-07-27T09:43:03.821619994Z",
"modified_time": "2026-07-27T00:59:05Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "959164a926eac39697d7ef06b83515205cc8ff81150871ab4207084071e51cf8",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7f7432721b5d9f09bbad0d21c0850ab4284d170fd5d9093721859be5ca9dfb58)\nThe package\u0027s 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.\n\n## Source: ghsa-malware (959164a926eac39697d7ef06b83515205cc8ff81150871ab4207084071e51cf8)\nAny 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.\n",
"id": "MAL-2026-10423",
"modified": "2026-07-27T09:45:43Z",
"published": "2026-07-13T06:56:32Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/supertokens-web/v/1.16.0"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-m7xr-6cvv-jm79"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in supertokens-web (npm)"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.