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

@hash-validator/v2npm

Advisory published Updated

@hash-validator/v2 is a confirmed malicious npm package (MAL-2025-47916) that executes malicious code on install (malicious versions 1.22.1, 1.22.2, 1.22.4…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in @hash-validator/v2 (npm)

MAL-2025-47916
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @hash-validator/v2

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

9 flagged
1.22.11.22.21.22.41.22.51.22.71.22.81.22.91.22.101.22.11

Indicators of compromise (SHA-256)

be7ccca438d061fd1d98fb1061421f517bccb37ba164e017caf7b8f8db366e2e
3954d380ae7d9add7c5483e32fc7fde7725cd392b7bce2e2be66f926fcd78f9e
b9e7f9e58caeb06abb13652bf2272170e95ec6c232af3f795f2096941860c937
309238b49db3c8b577825117b98afd571a682a3700a673622924efd4007bca51
33893342b4dc9ce72f079ef50085b1769c6b863cb91c1bcc92c65447c67cdbfd

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for @hash-validator/v2 (9 malicious versions).

  2. If you installed it — respond

    Remove @hash-validator/v2 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 @hash-validator/v2 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. @hash-validator/v2 on npm has been identified as a malicious package (versions 1.22.1, 1.22.2, 1.22.4, 1.22.5, 1.22.7, 1.22.8, 1.22.9, 1.22.10, and 1 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-c4vv-764j-g33qRLMA-2025-05240RLUA-2025-05655RLUA-2025-06026RLUA-2026-04734

References

Credits

  • Amazon Inspector · finder
  • ReversingLabs · finder

Detect & block this

O3 blocks @hash-validator/v2-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

@hash-validator/v2 (npm) malicious package — MAL-2025-47916 | O3 Security