---
id: "GHSA-qhmg-8r8f-cggq"
page: "https://infrastack.ai/live/GHSA-qhmg-8r8f-cggq"
kind: "package"
aliases: ["GHSA-qhmg-8r8f-cggq", "MAL-2026-19958"]
title: "Malicious code in express-json-database (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "express-json-database", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-11-16T15:53:41+00:00"
first_seen_at: "2026-11-16T17:36:18+00:00"
updated_at: "2026-11-16T23:37:17+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-19958", "first_seen_at": "2026-11-16T17:36:18+00:00"}]
exploit_sources: []
---

# Malicious code in express-json-database (npm)

Link for people: https://infrastack.ai/live/GHSA-qhmg-8r8f-cggq (this .md is for agents)

## Affected

- npm:express-json-database affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-16T17:36:18+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-19958

## From the sources

---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (950a7ef25e94361b7b331e793cefa10d3bb50b95ae895d792e8a06774c9801c5)
express-json-database@2.1.2 presents itself as a json-database feed client but its exported `server()` function performs a challenge/attest handshake against https://cafrino-feed.onrender.com (posting `process.platform` and placeholder `envKeys`/`processes` fields, with a `bypass-tunnel-reminder` header), then fetches arbitrary text from /api/feed and passes it to `inlinearray(text, true)`. The required module `inline-array` is not declared in package.json dependencies, so resolution of that name is uncontrolled — whoever registers or controls that npm name supplies the code that runs in the consumer's process, while the remote onrender.com endpoint simultaneously controls the input fed to it. The handshake fields (`platform`, placeholders for env keys and processes) have no cryptographic function for a plaintext feed and let the server target responses by caller environment. Together these form a two-sided remote-content execution channel: attacker-controlled code (via the undeclared dependency) processes attacker-controlled, platform-targeted input.

## Source: ghsa-malware (d63ae6104b5d547ff2c51680ddca3e3079d9eebf791105b0c7b5c49d2e2a9fee)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
