MAL-2026-10578

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sqlite-group/sql-creator/MAL-2026-10578.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10578
Aliases
  • GHSA-pgxx-98xj-2gvg
Published
2026-07-14T10:35:02Z
Modified
2026-07-14T13:49:27Z
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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-pgxx-98xj-2gvg",
            "import_time": "2026-07-14T10:52:39.047173492Z",
            "modified_time": "2026-07-14T10:35:02Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "f3e579a4512657fc706009a1d42288324dd5a9f02062bfaea96d716670adcc39",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-010486",
            "import_time": "2026-07-14T13:35:47.498602215Z",
            "modified_time": "2026-07-14T12:46:56Z",
            "sha256": "4d3bd76c01604d26251c1650c71f8a99ad32c5389c4e42795477ae660be33a2a",
            "source": "amazon-inspector",
            "versions": [
                "1.0.7"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @sqlite-group/sql-creator

Package

Name
@sqlite-group/sql-creator
View open source insights on deps.dev
Purl
pkg:npm/%40sqlite-group/sql-creator

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.7

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "bda99a87d959361da6c87d9e3a2ae125e484e23ecb948485d68546e7b01f4b97",
            "tlsh": "793364026f52511b4377b33d984f950efb769436422ac8c8b49c94902fb4964cabbef9"
        },
        {
            "path": "package.json",
            "sha256": "11832f9b907dc06fe2c491dc0ed87d85a326e8e9cc0d300a3830ac585e4a562e",
            "tlsh": "81019e75c9318b270ed516958d641546b2715d0b8c0c7c6e33c7410dcb4f67b22fd29c"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sqlite-group/sql-creator/MAL-2026-10578.json"