Malicious code in @sqlite-frame/nodesql (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-10627
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (0b24506932cbd3f2258f2448b83918ba2acee09cd896467780f8b1dc18b9eb42) index.js is a near-verbatim copy of the upstream feross/buffer library with a single injected top-level statement `var ins = import('@sqlite-frame/createsql');` placed immediately after 'use strict'. On any `require('@sqlite-frame/nodesql')`, Node dynamically imports the sibling scoped package @sqlite-frame/createsql (declared as a runtime dependency), causing that package's code to execute in the consumer's process without user awareness. The README compounds the deception: it presents the package as `bare-stream` and instructs `npm i @sql-access/nods`, while the tarball is actually published as @sqlite-frame/nodesql and ships a Buffer clone rather than a streaming library. Author metadata and the repository `guilderguzman/sql-link` do not match the advertised identity. This is a lure/wrapper whose only added behavior over the upstream library it copies is to smuggle a sibling package into the dependency graph and auto-load it on import. ## Source: ghsa-malware (05b26ce7b19d0fdc8b846970970de2af18dabe7705165910a9b538758b883fd3) 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.
- Source published
- 15 Jul 2026 01:12:34 UTC
- Source modified
- 27 Jul 2026 10:08:13 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.