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

jsonrecapnpm

Advisory published Updated

jsonrecap is a confirmed malicious npm package (MAL-2025-192812) that executes malicious code on install (malicious version 3.1.8). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in jsonrecap (npm)

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

What this malware does

The package jsonrecap was found to contain malicious code.

Malicious versions

1 flagged
3.1.8

Indicators of compromise (SHA-256)

0f2988a1bf0dbfd6ff12cb50f4278ad710593f273f8e6e8b594f6d95081ca1aa
a7e3ea65451f642ffd038933f2ca3b5dab39d6ee6979b4783353af6250dc22e9
a41d1fcb63a586513d9cca8b1183243004470500c8db731516479b0a771a3dbb

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for jsonrecap (version 3.1.8).

  2. If you installed it — respond

    Remove jsonrecap 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 jsonrecap 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. jsonrecap on npm has been identified as a malicious package (version 3.1.8 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2025-06378RLUA-2026-01378

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks jsonrecap-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

jsonrecap (npm) malicious package — MAL-2025-192812 | O3 Security