Skip to main content
MalwarePublished Updated

@sql-access/nodesql (npm) · Malicious Code

Affects @sql-access/nodesqlSource GCVE Database

0

Malicious package : remove @sql-access/nodesql and rotate any secrets on hosts that installed it.

Data as of 11 Jul 2026, 13:16 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5394

What to do

Remove @sql-access/nodesql 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

ProductAffectedFixed in
npm@sql-access/nodesqlAffected
  • 1.0.5 – 1.1.8
13 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package @sql-access/nodesql is a malicious decoy package that misrepresents its functionality and silently executes attacker-controlled code. It masquerades as a SQL/Node utility but contains unrelated code copied from a Buffer polyfill and injects a dynamic import of a separate malicious package (@sqlite-node/createsql). Installing or requiring this package results in the execution of untrusted code, potentially compromising the host system. The package versions explicitly identified as affected include multiple 1.0.x and 1.1.x releases. Due to the nature of the attack, any system with this package installed should be considered fully compromised, and secrets should be rotated immediately. No official patch or remediation is provided, and removal alone may not fully restore system integrity.

References

Community reviews

Loading reviews…