express-json-databasenpm
Advisory published Updated
express-json-database is a confirmed malicious npm package (MAL-2026-19958) that executes malicious code on install (malicious versions 2.1.2, 2.1.3, 2.1.4). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in express-json-database (npm)
What this malware does
[email protected] 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.
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for express-json-database (3 malicious versions).
If you installed it — respond
Remove express-json-database from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If express-json-database was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks express-json-database-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.