Malicious code in @sqlite-access/nodesql (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5454044dfacdd12da8025ba7a7c73260f16c64b29dbd25ebda52af4d03e8450c) The package presents a three-way identity mismatch: the scoped name @sqlite-access/nodesql implies a SQL-access library, the README markets a 'bare-stream' streaming utility, and the shipped index.js is a verbatim copy of the feross/buffer polyfill. Injected at the top of that otherwise-unmodified source is a single line, `var ins = import('@sqlite-access/createsql');`, which performs a fire-and-forget dynamic import of an unrelated lookalike scoped package. On require()/import of @sqlite-access/nodesql, that co-package's module top-level executes in the installer's process. The visible code is a decoy — the payload lives in the transitively loaded @sqlite-access/createsql module, and the wrapper's only functional effect is to pull that code into the consumer's runtime. The identity mismatch (name vs. README vs. code), the empty description, generic author metadata, and the injected dynamic import together constitute a wrapper/dropper pattern designed to smuggle attacker-controlled code into installer graphs via a plausible-looking utility dependency. ## Source: ghsa-malware (e91ce4fbb00fe250dfef19992c9735bf7c79601ce0faa62e77cef6e0e56bd6e2) 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.
AI Analysis
Technical Summary
The @sqlite-access/nodesql package (version 1.0.2) presents a three-way identity mismatch: its scoped name implies a SQL-access library, the README markets a streaming utility, and the shipped code is a copy of a buffer polyfill with an injected dynamic import statement. This import loads the unrelated @sqlite-access/createsql package, which executes malicious code at the top level in the installer's process. This wrapper/dropper pattern is designed to smuggle attacker-controlled code into dependency graphs under the guise of a plausible utility package. The package's metadata is generic and misleading, further indicating malicious intent. The presence of this package on a system implies full compromise.
Potential Impact
Systems with @sqlite-access/nodesql version 1.0.2 installed or running are fully compromised due to execution of attacker-controlled code. This may lead to unauthorized access, data exfiltration, and control over the affected system. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious software introduced by the attacker.
Mitigation Recommendations
Remove the @sqlite-access/nodesql package version 1.0.2 immediately from all systems. Rotate all secrets, keys, and credentials that were stored or used on affected systems from a different, secure computer. Because the package executes malicious code during installation and runtime, assume full system compromise and perform a thorough incident response and system remediation. No official patch or fix is available; the package itself is malicious and should be avoided entirely.
Malicious code in @sqlite-access/nodesql (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (5454044dfacdd12da8025ba7a7c73260f16c64b29dbd25ebda52af4d03e8450c) The package presents a three-way identity mismatch: the scoped name @sqlite-access/nodesql implies a SQL-access library, the README markets a 'bare-stream' streaming utility, and the shipped index.js is a verbatim copy of the feross/buffer polyfill. Injected at the top of that otherwise-unmodified source is a single line, `var ins = import('@sqlite-access/createsql');`, which performs a fire-and-forget dynamic import of an unrelated lookalike scoped package. On require()/import of @sqlite-access/nodesql, that co-package's module top-level executes in the installer's process. The visible code is a decoy — the payload lives in the transitively loaded @sqlite-access/createsql module, and the wrapper's only functional effect is to pull that code into the consumer's runtime. The identity mismatch (name vs. README vs. code), the empty description, generic author metadata, and the injected dynamic import together constitute a wrapper/dropper pattern designed to smuggle attacker-controlled code into installer graphs via a plausible-looking utility dependency. ## Source: ghsa-malware (e91ce4fbb00fe250dfef19992c9735bf7c79601ce0faa62e77cef6e0e56bd6e2) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The @sqlite-access/nodesql package (version 1.0.2) presents a three-way identity mismatch: its scoped name implies a SQL-access library, the README markets a streaming utility, and the shipped code is a copy of a buffer polyfill with an injected dynamic import statement. This import loads the unrelated @sqlite-access/createsql package, which executes malicious code at the top level in the installer's process. This wrapper/dropper pattern is designed to smuggle attacker-controlled code into dependency graphs under the guise of a plausible utility package. The package's metadata is generic and misleading, further indicating malicious intent. The presence of this package on a system implies full compromise.
Potential Impact
Systems with @sqlite-access/nodesql version 1.0.2 installed or running are fully compromised due to execution of attacker-controlled code. This may lead to unauthorized access, data exfiltration, and control over the affected system. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment. Removing the package alone does not guarantee removal of all malicious software introduced by the attacker.
Mitigation Recommendations
Remove the @sqlite-access/nodesql package version 1.0.2 immediately from all systems. Rotate all secrets, keys, and credentials that were stored or used on affected systems from a different, secure computer. Because the package executes malicious code during installation and runtime, assume full system compromise and perform a thorough incident response and system remediation. No official patch or fix is available; the package itself is malicious and should be avoided entirely.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6914
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-m2mh-6v6x-qh4f"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba5068715ace4357ebd0
Added to database: 07/10/2026, 09:24:32 UTC
Last enriched: 07/10/2026, 09:41:07 UTC
Last updated: 07/30/2026, 02:46:24 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.