Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

jsontoken-extendnpm

jsontoken-extend is a confirmed malicious npm package (MAL-2026-4592) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in jsontoken-extend (npm)

MAL-2026-4592
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall jsontoken-extend

What this malware does

On require()/import of jsontoken-extend, sign.js executes a top-level IIFE that base64-decodes a hardcoded string to https://www.jsonkeeper.com/b/XAMRK, fetches the JSON body, and passes data.content directly to eval(). jsonkeeper.com is an anonymous, mutable paste service — the author can change the executed payload at any time without republishing the package, giving arbitrary remote code execution on every consumer at import time. A second base64-encoded URL (https://www.jsonkeeper.com/b/W80UP) is staged but commented out, indicating multiple prepared payloads. The package name and public API (sign/verify/decode plus JsonWebTokenError/NotBeforeError/TokenExpiredError) mirror the popular jsonwebtoken library exactly, and it even declares jsonwebtoken as a dependency to pass through legitimate-looking calls — a typosquat lure to attract developers searching for the real JWT library. Base64-wrapping the C2 URLs is a deliberate static-analysis evasion. Three independent block signals are present: import-time fetch+eval from an anonymous mutable host, typosquat naming/API mirroring with malicious payload, and obfuscated C2 URL constants.

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

14 flagged
1.0.01.0.11.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.0.101.0.111.0.121.0.13

Indicators of compromise (SHA-256)

166f0f03fe28af87dca30356e92bd090fdf203f729aa761976487a818212e830
8907906fb6b1164ec1dc6d4ddf86f76c0ddbe872cae57a5655b72450b08049dc
a6ee9c49ff4f24ff70f0f61fd7de9e1a73b10b57f3bbafe4fda47cb01cf92ebf
59a8a8ab722d33bdd2ea25422aaf7e607a1b1a881446c3561ec8225fb9187742
2f3566df1a83addfc5b772c56cfe997bcdb881d49c26580103f9f2ad48b24894
c56d8cc26cf15186317bfa213696cc9d476306f590cf2710883f24671fdf3357
f4197bc2551778a0c0d93263900f2915b4feb64a81c6ff3530b69df4734efae0
04f3036cd8e9f7f4d8d0b434a60101e29ab8d0f089f386d703f0b166b780a616
ba4d467bbd66c8fcba322be93b211b29e5dc339250399ea140c40f4950f91d69

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for jsontoken-extend (14 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging jsontoken-extend across your stack and pipelines.

  2. If you installed it — respond

    jsontoken-extend is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If jsontoken-extend was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks jsontoken-extend before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. jsontoken-extend on npm has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, and 6 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-004715IN-MAL-2026-004716IN-MAL-2026-004700IN-MAL-2026-004699IN-MAL-2026-006072IN-MAL-2026-006071GHSA-v985-2jx7-c35gRLMA-2026-05131RLUA-2026-05563

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks jsontoken-extend-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

jsontoken-extend (npm) malicious package — MAL-2026-4592 | O3 Security