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

stackpathsnpm

Advisory published Updated

stackpaths is a confirmed malicious npm package (MAL-2026-14565) that executes malicious code on install (malicious versions 3.1.0, 3.1.1, 3.1.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in stackpaths (npm)

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

What this malware does

The package was found to contain malicious code or consuming dependency that contains malicious code

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

4 flagged
3.1.03.1.13.1.23.1.3

Indicators of compromise (SHA-256)

a47a89c9250e68ea4aa51bff92f6e9282f14bc2b7b0c61de459b25b3e48627ad
9a27ce2899b65f55deaab5feaf1b3cfd2ae674a45fd3e87ab442c58d3d89ba79
9a5ee81d19ebddc392a2794754b68973744eafc7d97fbbc962a2514ef67bfda7
e1e75b641f23936f6791a3c34356dbb77295c905659b401025aebf02230e6fc6
fba12c7da6e83aee226407f25a75e1455f4893fe2021c161c86d37f161a7d967

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for stackpaths (4 malicious versions).

  2. If you installed it — respond

    Remove stackpaths 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 stackpaths 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. stackpaths on npm has been identified as a malicious package (versions 3.1.0, 3.1.1, 3.1.2, 3.1.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-6hcw-m358-fq4qIN-MAL-2026-019234IN-MAL-2026-019236IN-MAL-2026-019232IN-MAL-2026-019233

References

Credits

  • Amazon Inspector · finder

Detect & block this

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

stackpaths (npm) malicious package — MAL-2026-14565 | O3 Security