Advisory

MAL-2026-13716

Also known as: GHSA-f348-mwv9-7p8h

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @sqlite-prime/nodesql (npm)

Details

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

Source: amazon-inspector (cd5b84b0145aa2612302c7153b5848582cdda2f6c88c802dfc0618cd376dd617)
@sqlite-prime/[email protected] 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.

Severity

Not rated by the source.

Dates

Published
2026-08-10 16:09 UTC
Modified
2026-08-11 12:30 UTC

Affected packages and fixes

@sqlite-prime/nodesql

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences