Skip to content

MAL-2026-10627 Malicious code in @sqlite-frame/nodesql (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= 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.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
sqlite-frame @sqlite-frame/nodesql(npm) = 1.0.2; = 1.0.3; All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
sqlite-frame @sqlite-frame/nodesql(npm) All versions No fix listed
sqlite-frame @sqlite-frame/nodesql(npm) = 1.0.3 No fix listed
sqlite-frame @sqlite-frame/nodesql(npm) = 1.0.2 No fix listed

References