MAL-2026-10132 Malicious code in react-jsonwebtoken (npm)
Malicious package
Published
MAL-2026-10132 is a malicious package: react-jsonwebtoken (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-10132/ (Markdown: https://insights.sbomify.com/MAL-2026-10132/index.md)
- Package
- react-jsonwebtoken
- Registry
- npm
What is MAL-2026-10132?
MAL-2026-10132 is a malicious package in react-jsonwebtoken, published on 10 Jul 2026.
Official description
Package name mimics the widely-used 'jsonwebtoken' library and falsely declares 'auth0' as author, while the repository URL points to the unrelated 'github.com/radix-ui/primitives'. On require(), decode.js unconditionally invokes a helper (getThirdCookie) that performs an HTTPS GET to https://jsonkeeper.com/b/E69V3 — an anonymous, mutable paste endpoint — and passes the response body into
new Function.constructor("require", errCode), then executes the resulting function with the host's require. This grants the remote content full Node.js capabilities on the consumer's machine as soon as any code loads the module. The code path is hidden behind a benign-sounding helper name and uses indirect Function construction to evade simple pattern matching. The combination of impersonated author metadata, name confusion with a top-100 auth library, and an obfuscated require-time remote-code loader is an unambiguous supply-chain attack.What should I do about MAL-2026-10132?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.