Skip to content
OpenAdvisories
Malicious MAL-2026-13716 GHSA-f348-mwv9-7p8h

@sqlite-prime/nodesql

npm package · versions 1.0.4, 1.0.6, 1.0.3

Reported Aug 10, 2026 · Updated Aug 11, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

Source: amazon-inspector (cd5b84b0145aa2612302c7153b5848582cdda2f6c88c802dfc0618cd376dd617)
@sqlite-prime/nodesql@1.0.6 ships a verbatim copy of the well-known `buffer` library as its main entry (`index.js`) with a single injected top-level statement `var ins = import('@sqlite-prime/createsql');` that dynamically loads the sibling scoped package `@sqlite-prime/createsql` (declared as a dependency, `^1.0.1`) whenever a consumer `require()`s this module. The sibling package's code is not shipped in this tarball, is unpinned, and is unrelated to the advertised buffer polyfill functionality. Package identity is inconsistent across metadata: `package.json` names the package `@sqlite-prime/nodesql`, the README titles the project `bare-stream` and instructs `npm i @sql-access/nods`, the LICENSE header is copied from the `type-is` project (Jonathan Ong / Douglas Christopher Wilson), and the code is copied from Feross Aboukhadijeh's `buffer`. This is the canonical loader/staging shape: a benign-looking copy of a popular library with an injected import that pulls in and executes an external, unrelated package at load time.

Source: ghsa-malware (d2a2059831cb64f71960161799b8a83a07d508d2d6846641e868cf9519b6fd0a)
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.