Skip to main content

Malicious code in jsonfb (npm)

0
Critical
Published: 07/13/2026 (07/13/2026, 09:17:31 UTC)
Source: GCVE Database
Product: jsonfb

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.

Affected software

npmghsa
jsonfb
Affected versions
=1.1.0=1.1.0-beta.1=1.1.0-beta.2=1.1.1=1.0.9=1.0.7=1.0.8

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/12/2026, 15:02:39 UTC

Technical Analysis

The jsonfb package (versions 1.0.7, 1.0.8, 1.0.9, 1.1.0, 1.1.0-beta.1, 1.1.0-beta.2, and 1.1.1) masquerades as a JSON.parse bigint helper but contains heavily obfuscated code that loads remote JavaScript payloads via HTTP GET requests. These payloads are base64-decoded and executed inside a sandbox environment with access to critical Node.js modules such as fs, os, path, child_process, http, and require. The package also sends runtime state and sandbox output back to attacker-controlled servers using HMAC-MD5 signed POST requests. The obfuscation, author impersonation, typosquatting, and remote code execution with data exfiltration combine to form a fully functional command-and-control dropper.

Potential Impact

Any system with this package installed or running is considered fully compromised. The attacker gains remote code execution capabilities and can exfiltrate sensitive data. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.

Mitigation Recommendations

No official patch or fix is available. Immediate removal of the jsonfb package versions 1.0.7 through 1.1.1 is strongly recommended. All secrets and credentials on affected systems should be rotated from a different, secure machine. Due to the high likelihood of full system compromise, consider rebuilding the affected environment from a known good state.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-10437
Osv Schema Version
1.7.4
Aliases
["GHSA-86qc-ppwg-mgcj"]
Ecosystems
["npm"]

Threat ID: 6a577ed568715ace43b3f85f

Added to database: 07/15/2026, 12:36:37 UTC

Last enriched: 09/12/2026, 15:02:39 UTC

Last updated: 09/14/2026, 03:07:47 UTC

Views: 37

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses