CRITICAL npm Malware

Malicious code in @sqlite-labs/nodesql (npm)

MAL-2026-13714 · GHSA-86f7-qh62-pq7c

Published · Modified

Dependency scanning

Check whether @sqlite-labs/nodesql is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description


__

Source: amazon-inspector (77614b62a827121762f2140a37b26e96408f18c0ccd122069c2ae311918541ef)

@sqlite-labs/nodesql@1.0.5 ships an index.js that is a copy of the feross/buffer library with a single injected top-of-file statement var ins = require('@sqlite-labs/createsql');. The imported binding ins is never referenced anywhere else in the module; its sole effect is to trigger execution of the sibling package @sqlite-labs/createsql whenever a consumer performs require('@sqlite-labs/nodesql') or imports it. Package metadata reinforces the lure shape: description is empty, keywords are the generic node/sql, homepage points at github.com/guilderguzman/sql-link, and the README is titled bare-stream and instructs the reader to npm i @sql-access/nods — a different scope and name than the published package. The scope @sqlite-labs resembles established SQLite-ecosystem names but is not affiliated with them. Installing and importing this package causes attacker-controlled code in @sqlite-labs/createsql to run in the consumer's process at load time; no lifecycle hook is required.

Source: ghsa-malware (f65b25d073ba8ebd2e2939ef74c84104486404c6b973550898fb5a54b97be63d)

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes