NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

jsonwebjstokennpm

Advisory published Updated

jsonwebjstoken is a confirmed malicious npm package (MAL-2025-47319) that executes malicious code on install (malicious versions 9.0.2, 9.0.3, 9.0.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in jsonwebjstoken (npm)

MAL-2025-47319
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall jsonwebjstoken

What this malware does

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.

Malicious versions

5 flagged
9.0.29.0.39.0.49.0.59.0.6

Indicators of compromise (SHA-256)

d5866f0ff5443038e8141f9674f6d4d83ef512aba824b8a430cbd459f9dfba71
9234641f4ccd9f2e771be253c42cc5b6de5239078c6d69f67c69acdf54043e85
d0c8e9be52661c4f3d567a1543cf0f75337c53c10fe8fd085be7cc5315804d35
2aea1b642150e0beacafc3bbb675e8857e403dae184dd5a5d1afd3cea5637024
0f91426ea03071f89c60e3f121267b8a189dca4e76492af9e1e8b1bfa1f5cce8

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for jsonwebjstoken (5 malicious versions).

  2. If you installed it — respond

    Remove jsonwebjstoken from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If jsonwebjstoken was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. jsonwebjstoken on npm has been identified as a malicious package (versions 9.0.2, 9.0.3, 9.0.4, 9.0.5, 9.0.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-wxc7-cg7f-7f7hRLMA-2025-05050RLUA-2026-01380

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks jsonwebjstoken-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

jsonwebjstoken (npm) malicious package — MAL-2025-47319 | O3 Security