jsonfb (npm) · Malicious Code
Affects jsonfbSource GCVE Database
Malicious package : remove jsonfb and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 15:02 UTC
Malicious package
Published to npm · OSV MAL-2026-10437
What to do
Remove jsonfb 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
| Product | Affected | Fixed in |
|---|---|---|
| npmjsonfb | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The jsonfb npm package versions 1.0.7 through 1.1.1 contain malicious code that impersonates a JSON parsing helper but actually executes obfuscated remote code. It fetches base64-encoded JavaScript from remote URLs and executes it within a sandbox that exposes sensitive Node.js modules. The package also exfiltrates runtime data via HMAC-MD5 signed POST requests to attacker-controlled endpoints. This behavior effectively creates a live command-and-control dropper, compromising any system that installs or runs it.
References
- npmjs.com/package/jsonfb/v/1.1.0 (opens in a new tab)
- npmjs.com/package/jsonfb/v/1.1.0-beta.1 (opens in a new tab)
- npmjs.com/package/jsonfb/v/1.1.0-beta.2 (opens in a new tab)
- github.com/advisories/GHSA-86qc-ppwg-mgcj (opens in a new tab)
- npmjs.com/package/jsonfb/v/1.1.1 (opens in a new tab)
- npmjs.com/package/jsonfb/v/1.0.9 (opens in a new tab)
- npmjs.com/package/jsonfb/v/1.0.7 (opens in a new tab)
- npmjs.com/package/jsonfb/v/1.0.8 (opens in a new tab)
- aikido.dev/blog/npm-backdoor-lets-hackers-hijack-gambling-outcomes (opens in a new tab)