MAL-2026-10577

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sqlite-clone/nodesql/MAL-2026-10577.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10577
Aliases
  • GHSA-x8m3-m829-mhc4
Published
2026-07-14T10:35:01Z
Modified
2026-07-14T13:49:26Z
Summary
Malicious code in @sqlite-clone/nodesql (npm)
Details

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

Source: amazon-inspector (aa13a1a0a588b94fe6f577ccd3fad94566f8db8d44848aa6421285795f15298d)

The package is published as @sqlite-clone/nodesql but its shipped index.js is a verbatim copy of the well-known feross/buffer polyfill with a single injected top-level statement: var ins = import('@sqlite-panel/createsql');. This dynamic import fires whenever a consumer requires or imports the package, transitively loading and executing whatever code the sibling scoped package @sqlite-panel/createsql ships. The package name, keywords ('node','sql'), README (titled 'bare-stream' and instructing users to npm i @sql-access/nods), and actual code body (buffer polyfill) do not agree with each other, and the declared dependency lives under a third, unrelated scope — a lure/cover-story shape rather than a legitimate library. The buffer-polyfill body serves as camouflage: the tarball has no direct network I/O of its own; the entire supply-chain effect is delivered through the transitively pulled attacker-controlled dependency.

Source: ghsa-malware (985672f13ce54593863a51a4aa24b8eabb3a47e3cc65149c57061969d9621e45)

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-x8m3-m829-mhc4",
            "import_time": "2026-07-14T10:52:39.058695475Z",
            "modified_time": "2026-07-14T10:35:02Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "985672f13ce54593863a51a4aa24b8eabb3a47e3cc65149c57061969d9621e45",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-010494",
            "import_time": "2026-07-14T13:35:48.525453974Z",
            "modified_time": "2026-07-14T12:48:05Z",
            "sha256": "aa13a1a0a588b94fe6f577ccd3fad94566f8db8d44848aa6421285795f15298d",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @sqlite-clone/nodesql

Package

Name
@sqlite-clone/nodesql
View open source insights on deps.dev
Purl
pkg:npm/%40sqlite-clone/nodesql

Affected ranges

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

Affected versions

1.*
1.0.2

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": "b37d188ab0be6683161c95e9dfd1752d1346337843576e86dc36ec7c18183b73",
            "tlsh": "e03364026f52511b4377b33d984f950efb769436422ac8c8b49c94902fb4964cabbef9"
        },
        {
            "path": "README.md",
            "sha256": "3e41caa00cca47d4f2c1009c8e122d20885857da6587bac53b89f26c6d0bb61f",
            "tlsh": "f3d0229f2807030e2f433cc110e04e29b695788cce089859b800872389a0230235820c"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sqlite-clone/nodesql/MAL-2026-10577.json"