MAL-2026-10627: Malicious code in @sqlite-frame/nodesql (npm)
The npm package @sqlite-frame/nodesql versions 1.0.2 and 1.0.3 contains malicious code that injects a dynamic import of a sibling package (@sqlite-frame/createsql) upon being required. This causes the sibling package's code to execute in the consumer's environment without user awareness. The package masquerades as a different library (bare-stream) and misleads users with incorrect installation instructions and author metadata, acting as a lure and wrapper around a cloned Buffer library with added malicious behavior.
AI Analysis
Technical Summary
The @sqlite-frame/nodesql npm package versions 1.0.2 and 1.0.3 is a malicious package that includes a near-verbatim copy of the feross/buffer library but injects a top-level dynamic import statement for the sibling package @sqlite-frame/createsql. This import causes the sibling package's code to execute automatically when @sqlite-frame/nodesql is required, without user consent or awareness. The package's README and metadata are deceptive, presenting it as a different library (bare-stream) and providing misleading installation instructions. This behavior effectively smuggles additional malicious code into the dependency graph, making it a lure/wrapper package designed to execute unauthorized code.
Potential Impact
The malicious dynamic import causes unauthorized code execution within the consumer's Node.js process, potentially leading to compromise of the environment where the package is installed. The deception in package naming, metadata, and documentation increases the risk of inadvertent installation and execution of malicious code. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should avoid installing @sqlite-frame/nodesql versions 1.0.2 and 1.0.3. Remove these versions from any projects and dependency graphs. Verify the authenticity of npm packages before installation, especially those with suspicious or inconsistent metadata. Consider using trusted package sources and tools that detect malicious packages.
MAL-2026-10627: Malicious code in @sqlite-frame/nodesql (npm)
Description
The npm package @sqlite-frame/nodesql versions 1.0.2 and 1.0.3 contains malicious code that injects a dynamic import of a sibling package (@sqlite-frame/createsql) upon being required. This causes the sibling package's code to execute in the consumer's environment without user awareness. The package masquerades as a different library (bare-stream) and misleads users with incorrect installation instructions and author metadata, acting as a lure and wrapper around a cloned Buffer library with added malicious behavior.
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-frame/nodesql npm package versions 1.0.2 and 1.0.3 is a malicious package that includes a near-verbatim copy of the feross/buffer library but injects a top-level dynamic import statement for the sibling package @sqlite-frame/createsql. This import causes the sibling package's code to execute automatically when @sqlite-frame/nodesql is required, without user consent or awareness. The package's README and metadata are deceptive, presenting it as a different library (bare-stream) and providing misleading installation instructions. This behavior effectively smuggles additional malicious code into the dependency graph, making it a lure/wrapper package designed to execute unauthorized code.
Potential Impact
The malicious dynamic import causes unauthorized code execution within the consumer's Node.js process, potentially leading to compromise of the environment where the package is installed. The deception in package naming, metadata, and documentation increases the risk of inadvertent installation and execution of malicious code. No known exploits in the wild have been reported at this time.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. Users should avoid installing @sqlite-frame/nodesql versions 1.0.2 and 1.0.3. Remove these versions from any projects and dependency graphs. Verify the authenticity of npm packages before installation, especially those with suspicious or inconsistent metadata. Consider using trusted package sources and tools that detect malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10627
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577ef668715ace43b41c76
Added to database: 07/15/2026, 12:37:10 UTC
Last enriched: 07/15/2026, 12:59:28 UTC
Last updated: 07/16/2026, 03:45:25 UTC
Views: 12
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.