MAL-2026-10423: Malicious code in supertokens-web (npm)
The npm package 'supertokens-web' version 1.16.0 is a malicious package impersonating the legitimate 'supertokens-web-js' authentication SDK. Upon being required, it downloads and executes an unverified binary from a non-publisher Vercel-hosted URL, placing it in hidden user directories and running it silently. The package uses obfuscation techniques to hide the malicious payload's URL and filenames, deceiving users who mistype the dependency name. This behavior results in unauthorized code execution on the affected system.
AI Analysis
Technical Summary
The 'supertokens-web' npm package (version 1.16.0) is a malicious package that masquerades as the legitimate 'supertokens-web-js' SDK by copying its README and re-exporting its main module. When required, it dynamically reconstructs obfuscated URL and filename strings to fetch a binary payload from a Vercel-hosted domain. This binary is saved to a hidden per-user directory (%LOCALAPPDATA%/Programs/WinMetrics on Windows or ~/.local/share/WinMetrics on Linux) as 'WinService.exe' or 'WinMetrics', given executable permissions on Linux, and executed detached with no stdio. This results in silent execution of unverified code on the user's machine, posing a significant security risk.
Potential Impact
This malicious package enables silent execution of untrusted binaries on the affected system, potentially leading to unauthorized code execution, persistence, and further compromise. Users who mistakenly install or require this package instead of the legitimate SDK are at risk of running malicious code without their knowledge.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or using the 'supertokens-web' package version 1.16.0. Verify package names carefully to avoid typosquatting attacks and prefer installing the legitimate 'supertokens-web-js' package from trusted sources. Monitor for and remove any instances of this malicious package and the dropped binaries from affected systems.
MAL-2026-10423: Malicious code in supertokens-web (npm)
Description
The npm package 'supertokens-web' version 1.16.0 is a malicious package impersonating the legitimate 'supertokens-web-js' authentication SDK. Upon being required, it downloads and executes an unverified binary from a non-publisher Vercel-hosted URL, placing it in hidden user directories and running it silently. The package uses obfuscation techniques to hide the malicious payload's URL and filenames, deceiving users who mistype the dependency name. This behavior results in unauthorized code execution on the affected system.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'supertokens-web' npm package (version 1.16.0) is a malicious package that masquerades as the legitimate 'supertokens-web-js' SDK by copying its README and re-exporting its main module. When required, it dynamically reconstructs obfuscated URL and filename strings to fetch a binary payload from a Vercel-hosted domain. This binary is saved to a hidden per-user directory (%LOCALAPPDATA%/Programs/WinMetrics on Windows or ~/.local/share/WinMetrics on Linux) as 'WinService.exe' or 'WinMetrics', given executable permissions on Linux, and executed detached with no stdio. This results in silent execution of unverified code on the user's machine, posing a significant security risk.
Potential Impact
This malicious package enables silent execution of untrusted binaries on the affected system, potentially leading to unauthorized code execution, persistence, and further compromise. Users who mistakenly install or require this package instead of the legitimate SDK are at risk of running malicious code without their knowledge.
Mitigation Recommendations
No official patch or remediation is currently available. Users should avoid installing or using the 'supertokens-web' package version 1.16.0. Verify package names carefully to avoid typosquatting attacks and prefer installing the legitimate 'supertokens-web-js' package from trusted sources. Monitor for and remove any instances of this malicious package and the dropped binaries from affected systems.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10423
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ad9c68715ace438f3ce0
Added to database: 07/13/2026, 09:19:24 UTC
Last enriched: 07/13/2026, 09:26:40 UTC
Last updated: 07/13/2026, 09:26:40 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.