MAL-2026-5396

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sqlite-node/createsql/MAL-2026-5396.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5396
Aliases
  • GHSA-9w2p-6gjc-vrqv
Published
2026-06-09T15:59:00Z
Modified
2026-07-03T17:01:40.862238648Z
Summary
Malicious code in @sqlite-node/createsql (npm)
Details

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

Source: amazon-inspector (6f6f2c4e3192b71fc68681fbb8c8216a5e581e9f2baaa13954172249a8ddf5b6)

The package advertises itself as a SQLite toolkit but ships no SQLite functionality. Its main entry (index.js) is a single heavily obfuscated module (obfuscator.io string-array with RC4+base64 decoders, control-flow flattening, 233-entry rotated string array). After deobfuscation, a top-level IIFE runs at require() time: it builds a 4-octet IP address via repeated string concatenation, performs an HTTP GET to that hardcoded remote host, writes the response bytes to a file in an OS directory via fs.writeFileSync, then invokes child_process.exec on the dropped file with windowsHide: true to hide the console window. Empty uncaughtException / unhandledRejection handlers and surrounding try/catch swallow errors to avoid drawing attention. Package metadata further reinforces the lure shape: the @sqlite-node scope and createsql name imply an official SQLite toolkit, but the repository field points at an unrelated guilderguzman/array-utl_nodelump project and the package contains no SQLite implementation. Any project that runs npm install @sqlite-node/createsql and then imports the package will have arbitrary attacker-controlled code fetched and executed on the developer/CI machine.

Source: ghsa-malware (84ca8fe36bdf66dfe770fa3a87a63ec8927a78152f2dd84515d6e1804ab59fa8)

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": [
        {
            "versions": [
                "1.0.3"
            ],
            "sha256": "6f6f2c4e3192b71fc68681fbb8c8216a5e581e9f2baaa13954172249a8ddf5b6",
            "source": "amazon-inspector",
            "modified_time": "2026-06-09T15:59:00Z",
            "import_time": "2026-06-09T16:59:43.724564749Z",
            "id": "IN-MAL-2026-004946"
        },
        {
            "versions": [
                "1.0.6"
            ],
            "sha256": "c1749978f045ac3589f811f488178b066b29e175aa8fa6243be49627d446b7a9",
            "source": "amazon-inspector",
            "modified_time": "2026-06-12T19:04:18Z",
            "import_time": "2026-06-12T19:43:44.327602718Z",
            "id": "IN-MAL-2026-005889"
        },
        {
            "versions": [
                "1.1.5"
            ],
            "sha256": "3dd1545d5bdf54cb38cd591cc5455c1fa7051e38b9f29e85a22e4f9afa49eb7e",
            "modified_time": "2026-06-12T19:04:33Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:45.643960202Z",
            "id": "IN-MAL-2026-005900"
        },
        {
            "versions": [
                "1.1.1"
            ],
            "sha256": "44490681f99cdda4535173f1c7db705850cc89f654c3365e4c9d5d4447c08298",
            "source": "amazon-inspector",
            "modified_time": "2026-06-12T19:04:26Z",
            "import_time": "2026-06-12T19:43:45.093624351Z",
            "id": "IN-MAL-2026-005896"
        },
        {
            "versions": [
                "1.0.2"
            ],
            "sha256": "47bb76a880c9424b21c6d9023cc2033c66beab75fc76d4cb22b5d3dc54326ca7",
            "modified_time": "2026-06-12T19:04:13Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005886",
            "import_time": "2026-06-12T19:43:44.001281126Z"
        },
        {
            "versions": [
                "1.0.4"
            ],
            "sha256": "a799aae0210ee9037432fee197f202506a56c365abb4e28695e6f6472f9686ab",
            "source": "amazon-inspector",
            "modified_time": "2026-06-12T19:04:14Z",
            "import_time": "2026-06-12T19:43:44.099950322Z",
            "id": "IN-MAL-2026-005887"
        },
        {
            "versions": [
                "1.0.8"
            ],
            "sha256": "eaf0406705f87276ae5209363bc44a95985934426e8ffc5f71e5ca9b816ad6fe",
            "source": "amazon-inspector",
            "modified_time": "2026-06-12T19:04:21Z",
            "import_time": "2026-06-12T19:43:44.513036446Z",
            "id": "IN-MAL-2026-005891"
        },
        {
            "versions": [
                "1.0.9"
            ],
            "sha256": "77c56d23f8cc94724d28dbe88d44cb44658792526d7a977b1d6d8d54d2a69227",
            "modified_time": "2026-06-12T19:04:23Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005893",
            "import_time": "2026-06-12T19:43:44.728324996Z"
        },
        {
            "versions": [
                "1.0.7"
            ],
            "sha256": "b4807311f692e35d5f09e064b3c8bc652197f325705e33aec4ab07fa0fa6d0cd",
            "source": "amazon-inspector",
            "modified_time": "2026-06-12T19:04:19Z",
            "import_time": "2026-06-12T19:43:44.42799474Z",
            "id": "IN-MAL-2026-005890"
        },
        {
            "versions": [
                "1.1.4"
            ],
            "sha256": "c99cc07d5718829e19100c5156b6d76e8073fa5dd428a5ae0c80b7ab3b3b7809",
            "modified_time": "2026-06-12T19:04:31Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-005899",
            "import_time": "2026-06-12T19:43:45.468920707Z"
        },
        {
            "versions": [
                "1.0.5"
            ],
            "sha256": "078930d9b8f1718837ead49232668ade00d770619460d9ee78de9e460789f54e",
            "modified_time": "2026-06-12T19:04:16Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:44.232399139Z",
            "id": "IN-MAL-2026-005888"
        },
        {
            "versions": [
                "1.0.8"
            ],
            "sha256": "60d575bb7702c7cc2be1b0ccb5e8dde19db7772e32c0338ae6e49cce8f5dd4c9",
            "modified_time": "2026-06-12T19:04:22Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:44.60927511Z",
            "id": "IN-MAL-2026-005892"
        },
        {
            "versions": [
                "1.1.0"
            ],
            "sha256": "67f0d97e2d687bcc5dde8fdb908c863d0b5a326507679bb124e4e5deb2c669c2",
            "source": "amazon-inspector",
            "modified_time": "2026-06-12T19:04:24Z",
            "import_time": "2026-06-12T19:43:44.943048112Z",
            "id": "IN-MAL-2026-005895"
        },
        {
            "versions": [
                "1.0.9"
            ],
            "sha256": "7d85c0d58c39173befc77731755ebb3e74f4a19e6001ebf45af36180df7ecd0c",
            "modified_time": "2026-06-12T19:04:23Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:44.82483361Z",
            "id": "IN-MAL-2026-005894"
        },
        {
            "versions": [
                "1.1.5"
            ],
            "sha256": "03285123df190ccc95b10483103eafcffc4115a10957d54495c56b6e64fd3ff6",
            "modified_time": "2026-06-12T19:04:33Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:45.725211564Z",
            "id": "IN-MAL-2026-005901"
        },
        {
            "versions": [
                "1.1.3"
            ],
            "sha256": "1cd197fed242f2f78820ae2d71c9d85222434732888f987e971e59282e2f5004",
            "modified_time": "2026-06-12T19:04:29Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:45.32927894Z",
            "id": "IN-MAL-2026-005898"
        },
        {
            "versions": [
                "1.1.2"
            ],
            "sha256": "d94eff1a40e4f15f06c0d89ef9bb6e1ff9446d038f81d49da16c155b1060d0c5",
            "modified_time": "2026-06-12T19:04:28Z",
            "source": "amazon-inspector",
            "import_time": "2026-06-12T19:43:45.222591386Z",
            "id": "IN-MAL-2026-005897"
        },
        {
            "sha256": "84ca8fe36bdf66dfe770fa3a87a63ec8927a78152f2dd84515d6e1804ab59fa8",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "modified_time": "2026-07-03T15:59:09Z",
            "source": "ghsa-malware",
            "import_time": "2026-07-03T16:45:59.76167074Z",
            "id": "GHSA-9w2p-6gjc-vrqv"
        }
    ]
}
References
Credits

Affected packages

npm / @sqlite-node/createsql

Package

Name
@sqlite-node/createsql
View open source insights on deps.dev
Purl
pkg:npm/%40sqlite-node%2Fcreatesql

Affected ranges

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

Affected versions

1.*
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "createsql-1.0.3.tgz",
            "hashes": {
                "sha512_sri": "sha512-tF0OynCg1RhUjI9CGgsGkbvQ4l2bIT+TvZTVBjNnuC5h/bf+mM7R2tphlv9maDK3zg1RPpEOwOuYr/l/mf9HiA==",
                "sha1": "2f967b3d2e4e1b21a3d460bc6bf5b3c9f968256f"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "6ab26203ebbdf33214d81e6913f03fa1fac43bc1cd12466c02517ad5ed7ce64c",
            "path": "index.js",
            "tlsh": "028265c83bc1f0705233f0b77a1fa196e1695c89a34d8848f356f498fd68318d59ab68"
        },
        {
            "sha256": "4ccbd0448debf1b9c022585600faa7b397b00215942d28f533389d91247e8dab",
            "path": "package.json",
            "tlsh": "bcf0467985a608bf0ed427a18929184ab3e2891fcc587c4922e7051c8acf4f322fd21e"
        }
    ],
    "domains": [
        "api.github.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@sqlite-node/createsql/MAL-2026-5396.json"
cwes
[
    {
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "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",
        "cweId": "CWE-506"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]