VDB
KO

MAL-2026-5396

Malicious code in @sqlite-node/createsql (npm)

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / @sqlite-node/createsql
Introduced in: 0

No fixed version published yet for @sqlite-node/createsql (npm). Pin to a known-safe version or switch to an alternative.

References