Skip to main content
MalwarePublished Updated

fastify-addon (npm) · Malicious Code

Affects fastify-addonSource GCVE Database

0

Malicious package : remove fastify-addon and rotate any secrets on hosts that installed it.

Data as of 15 Jul 2026, 12:50 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5566

What to do

Remove fastify-addon from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmfastify-addonAffected
  • =5.1.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The fastify-addon npm package is a malicious typosquatting package impersonating the legitimate fastify-plugin. It fetches attacker-controlled JavaScript code from a mutable third-party JSON paste service and executes it via eval at runtime. This allows arbitrary code execution with full access to the host environment, including credentials and filesystem. Any system requiring this package is considered fully compromised. Immediate removal and secret/key rotation are strongly advised.

References

Community reviews

Loading reviews…