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

graphalgonpm

Advisory published Updated

graphalgo is a confirmed malicious npm package (MAL-2025-3687) that executes malicious code on install (malicious versions 2.2.5-pre, 2.2.6, 2.2.7…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in graphalgo (npm)

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

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

7 flagged
2.2.5-pre2.2.62.2.72.2.82.2.92.2.102.2.11

Indicators of compromise (SHA-256)

d5d170316b7d69234c298baf1d1364ae3207e2f0774c87782a648d4c492920bc
b946f4e925281acc3f50daca66b5540f2ddb12c9ac05f43e0867b053f8fe0a8a
73da2075158a51840a4ce21af7d0a6a66f41418afaf09adcdebe658fc1f318a8

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for graphalgo (7 malicious versions).

  2. If you installed it — respond

    Remove graphalgo 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 graphalgo 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. graphalgo on npm has been identified as a malicious package (versions 2.2.5-pre, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.2.11 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-5w3m-75fx-323pRLMA-2025-02781RLUA-2026-01956

References

Credits

  • ReversingLabs · finder

Detect & block this

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

graphalgo (npm) malicious package — MAL-2025-3687 | O3 Security