Advisory

MAL-2026-10578

Also known as: GHSA-pgxx-98xj-2gvg

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in @sqlite-group/sql-creator (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (4d3bd76c01604d26251c1650c71f8a99ad32c5389c4e42795477ae660be33a2a)
The package is published under a scope that impersonates SQLite (@sqlite-group) and declares itself as "cloud definitions for node", but the shipped index.js is a near-verbatim copy of the feross/buffer library with a single injected top-level statement: var ins = import('@sqlite-group/schema-generator');. This dynamic import fires on any require/import of the package, handing control to whatever top-level module code the sibling @sqlite-group/schema-generator ships. The cover-story mismatch (scope name suggesting SQLite tooling + description claiming cloud definitions + actual code being a Buffer polyfill + one injected loader line) is consistent with a dependency-confusion / namespace-piggyback loader stub whose sole purpose is to pull an attacker-controlled sibling into the installer's process on load. Installer harm is the code execution surface exposed by the sibling dependency, delivered transitively when this package is required.

Source: ghsa-malware (f3e579a4512657fc706009a1d42288324dd5a9f02062bfaea96d716670adcc39)
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.

Severity

Not rated by the source.

Dates

Published
2026-07-14 10:35 UTC
Modified
2026-07-14 13:49 UTC

Affected packages and fixes

@sqlite-group/sql-creator

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences