@sqlite-node/createsql (npm) · Malicious Code
Affects @sqlite-node/createsqlSource GCVE Database
Malicious package : remove @sqlite-node/createsql and rotate any secrets on hosts that installed it.
Data as of 12 Jul 2026, 09:18 UTC
Malicious package
Published to npm · OSV MAL-2026-5396
What to do
Remove @sqlite-node/createsql from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@sqlite-node/createsql | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- npmjs.com/package/@sqlite-node/createsql/v/1.0.3 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.6 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.5 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.1 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.2 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.4 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.8 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.9 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.7 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.4 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.5 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.0 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.3 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.2 (opens in a new tab)
- github.com/advisories/GHSA-9w2p-6gjc-vrqv (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.0.1 (opens in a new tab)
- npmjs.com/package/@sqlite-node/createsql/v/1.1.7 (opens in a new tab)