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

react-hook-form-5npm

Advisory published Updated

react-hook-form-5 is a confirmed malicious npm package (MAL-2025-192366) that executes malicious code on install (malicious version 90.9.0). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in react-hook-form-5 (npm)

MAL-2025-192366
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall react-hook-form-5

What this malware does

The package react-hook-form-5 was found to contain malicious code.

The OpenSSF Package Analysis project identified 'react-hook-form-5' @ 90.9.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

1 flagged
90.9.0

Indicators of compromise (SHA-256)

16859ad1dd7dccbd28650fc9bcfb6adf8c12eb7ea09b4cf1bb3381532d3dcad1
f1aa38d2e5718b378c2958a34a971314652bafc4462818307ae8e36df83f6cc7

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for react-hook-form-5 (version 90.9.0).

  2. If you installed it — respond

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

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks react-hook-form-5-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

react-hook-form-5 (npm) malicious package — MAL-2025-192366 | O3 Security