Malicious code in @sqlite-node/createsql (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6f6f2c4e3192b71fc68681fbb8c8216a5e581e9f2baaa13954172249a8ddf5b6) The package advertises itself as a SQLite toolkit but ships no SQLite functionality. Its main entry (index.js) is a single heavily obfuscated module (obfuscator.io string-array with RC4+base64 decoders, control-flow flattening, 233-entry rotated string array). After deobfuscation, a top-level IIFE runs at require() time: it builds a 4-octet IP address via repeated string concatenation, performs an HTTP GET to that hardcoded remote host, writes the response bytes to a file in an OS directory via fs.writeFileSync, then invokes child_process.exec on the dropped file with `windowsHide: true` to hide the console window. Empty `uncaughtException` / `unhandledRejection` handlers and surrounding try/catch swallow errors to avoid drawing attention. Package metadata further reinforces the lure shape: the `@sqlite-node` scope and `createsql` name imply an official SQLite toolkit, but the repository field points at an unrelated `guilderguzman/array-utl_nodelump` project and the package contains no SQLite implementation. Any project that runs `npm install @sqlite-node/createsql` and then imports the package will have arbitrary attacker-controlled code fetched and executed on the developer/CI machine. ## Source: ghsa-malware (84ca8fe36bdf66dfe770fa3a87a63ec8927a78152f2dd84515d6e1804ab59fa8) 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-node/createsql npm package (versions >=1.0.1 <=1.1.7) is a malicious package that masquerades as a SQLite toolkit but contains no legitimate SQLite code. Its main module is heavily obfuscated and, upon import, constructs a hardcoded IP address and performs an HTTP GET request to download a payload. This payload is saved to disk and executed with hidden console windows, while error handling suppresses any exceptions to avoid detection. The package metadata misleads users by implying official SQLite functionality, but the repository points to an unrelated project. Any system that installs and imports this package risks arbitrary code execution controlled by an attacker, leading to full system compromise.
Potential Impact
Systems that install and run this package are fully compromised, as the package downloads and executes arbitrary code from a remote attacker-controlled server. This can lead to unauthorized access, data theft, and persistent malware presence. 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 artifacts or backdoors.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove the @sqlite-node/createsql package from all affected systems. Treat any system that has installed or run this package as fully compromised. Rotate all secrets and keys that were stored or accessible on the affected machines from a different, secure system. Conduct a thorough investigation and remediation of the affected environment to identify and remove any additional malware or persistence mechanisms.
Malicious code in @sqlite-node/createsql (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6f6f2c4e3192b71fc68681fbb8c8216a5e581e9f2baaa13954172249a8ddf5b6) The package advertises itself as a SQLite toolkit but ships no SQLite functionality. Its main entry (index.js) is a single heavily obfuscated module (obfuscator.io string-array with RC4+base64 decoders, control-flow flattening, 233-entry rotated string array). After deobfuscation, a top-level IIFE runs at require() time: it builds a 4-octet IP address via repeated string concatenation, performs an HTTP GET to that hardcoded remote host, writes the response bytes to a file in an OS directory via fs.writeFileSync, then invokes child_process.exec on the dropped file with `windowsHide: true` to hide the console window. Empty `uncaughtException` / `unhandledRejection` handlers and surrounding try/catch swallow errors to avoid drawing attention. Package metadata further reinforces the lure shape: the `@sqlite-node` scope and `createsql` name imply an official SQLite toolkit, but the repository field points at an unrelated `guilderguzman/array-utl_nodelump` project and the package contains no SQLite implementation. Any project that runs `npm install @sqlite-node/createsql` and then imports the package will have arbitrary attacker-controlled code fetched and executed on the developer/CI machine. ## Source: ghsa-malware (84ca8fe36bdf66dfe770fa3a87a63ec8927a78152f2dd84515d6e1804ab59fa8) 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-node/createsql npm package (versions >=1.0.1 <=1.1.7) is a malicious package that masquerades as a SQLite toolkit but contains no legitimate SQLite code. Its main module is heavily obfuscated and, upon import, constructs a hardcoded IP address and performs an HTTP GET request to download a payload. This payload is saved to disk and executed with hidden console windows, while error handling suppresses any exceptions to avoid detection. The package metadata misleads users by implying official SQLite functionality, but the repository points to an unrelated project. Any system that installs and imports this package risks arbitrary code execution controlled by an attacker, leading to full system compromise.
Potential Impact
Systems that install and run this package are fully compromised, as the package downloads and executes arbitrary code from a remote attacker-controlled server. This can lead to unauthorized access, data theft, and persistent malware presence. 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 artifacts or backdoors.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove the @sqlite-node/createsql package from all affected systems. Treat any system that has installed or run this package as fully compromised. Rotate all secrets and keys that were stored or accessible on the affected machines from a different, secure system. Conduct a thorough investigation and remediation of the affected environment to identify and remove any additional malware or persistence mechanisms.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5396
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-9w2p-6gjc-vrqv"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a483ca027e9c79719d7f9dd
Added to database: 07/03/2026, 22:50:08 UTC
Last enriched: 07/11/2026, 12:37:43 UTC
Last updated: 07/28/2026, 10:35:10 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.
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.