mal-2026-5396
Vulnerability from ossf_malicious_packages
-= 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.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"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"
},
{
"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"
}
],
"indicators": {
"domains": [
"api.github.com"
],
"evidence_files": [
{
"path": "index.js",
"sha256": "6ab26203ebbdf33214d81e6913f03fa1fac43bc1cd12466c02517ad5ed7ce64c",
"tlsh": "028265c83bc1f0705233f0b77a1fa196e1695c89a34d8848f356f498fd68318d59ab68"
},
{
"path": "package.json",
"sha256": "4ccbd0448debf1b9c022585600faa7b397b00215942d28f533389d91247e8dab",
"tlsh": "bcf0467985a608bf0ed427a18929184ab3e2891fcc587c4922e7051c8acf4f322fd21e"
}
],
"package_integrity": [
{
"filename": "createsql-1.0.3.tgz",
"hashes": {
"sha1": "2f967b3d2e4e1b21a3d460bc6bf5b3c9f968256f",
"sha512_sri": "sha512-tF0OynCg1RhUjI9CGgsGkbvQ4l2bIT+TvZTVBjNnuC5h/bf+mM7R2tphlv9maDK3zg1RPpEOwOuYr/l/mf9HiA=="
}
}
]
}
},
"package": {
"ecosystem": "npm",
"name": "@sqlite-node/createsql"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"versions": [
"1.0.3",
"1.0.6",
"1.1.5",
"1.1.1",
"1.0.2",
"1.0.4",
"1.0.8",
"1.0.9",
"1.0.7",
"1.1.4",
"1.0.5",
"1.1.0",
"1.1.3",
"1.1.2"
]
}
],
"aliases": [
"GHSA-9w2p-6gjc-vrqv"
],
"credits": [
{
"contact": [
"inspector-research@amazon.com"
],
"name": "Amazon Inspector",
"type": "FINDER"
}
],
"database_specific": {
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-004946",
"import_time": "2026-06-09T16:59:43.724564749Z",
"modified_time": "2026-06-09T15:59:00Z",
"sha256": "6f6f2c4e3192b71fc68681fbb8c8216a5e581e9f2baaa13954172249a8ddf5b6",
"source": "amazon-inspector",
"versions": [
"1.0.3"
]
},
{
"id": "IN-MAL-2026-005889",
"import_time": "2026-06-12T19:43:44.327602718Z",
"modified_time": "2026-06-12T19:04:18Z",
"sha256": "c1749978f045ac3589f811f488178b066b29e175aa8fa6243be49627d446b7a9",
"source": "amazon-inspector",
"versions": [
"1.0.6"
]
},
{
"id": "IN-MAL-2026-005900",
"import_time": "2026-06-12T19:43:45.643960202Z",
"modified_time": "2026-06-12T19:04:33Z",
"sha256": "3dd1545d5bdf54cb38cd591cc5455c1fa7051e38b9f29e85a22e4f9afa49eb7e",
"source": "amazon-inspector",
"versions": [
"1.1.5"
]
},
{
"id": "IN-MAL-2026-005896",
"import_time": "2026-06-12T19:43:45.093624351Z",
"modified_time": "2026-06-12T19:04:26Z",
"sha256": "44490681f99cdda4535173f1c7db705850cc89f654c3365e4c9d5d4447c08298",
"source": "amazon-inspector",
"versions": [
"1.1.1"
]
},
{
"id": "IN-MAL-2026-005886",
"import_time": "2026-06-12T19:43:44.001281126Z",
"modified_time": "2026-06-12T19:04:13Z",
"sha256": "47bb76a880c9424b21c6d9023cc2033c66beab75fc76d4cb22b5d3dc54326ca7",
"source": "amazon-inspector",
"versions": [
"1.0.2"
]
},
{
"id": "IN-MAL-2026-005887",
"import_time": "2026-06-12T19:43:44.099950322Z",
"modified_time": "2026-06-12T19:04:14Z",
"sha256": "a799aae0210ee9037432fee197f202506a56c365abb4e28695e6f6472f9686ab",
"source": "amazon-inspector",
"versions": [
"1.0.4"
]
},
{
"id": "IN-MAL-2026-005891",
"import_time": "2026-06-12T19:43:44.513036446Z",
"modified_time": "2026-06-12T19:04:21Z",
"sha256": "eaf0406705f87276ae5209363bc44a95985934426e8ffc5f71e5ca9b816ad6fe",
"source": "amazon-inspector",
"versions": [
"1.0.8"
]
},
{
"id": "IN-MAL-2026-005893",
"import_time": "2026-06-12T19:43:44.728324996Z",
"modified_time": "2026-06-12T19:04:23Z",
"sha256": "77c56d23f8cc94724d28dbe88d44cb44658792526d7a977b1d6d8d54d2a69227",
"source": "amazon-inspector",
"versions": [
"1.0.9"
]
},
{
"id": "IN-MAL-2026-005890",
"import_time": "2026-06-12T19:43:44.42799474Z",
"modified_time": "2026-06-12T19:04:19Z",
"sha256": "b4807311f692e35d5f09e064b3c8bc652197f325705e33aec4ab07fa0fa6d0cd",
"source": "amazon-inspector",
"versions": [
"1.0.7"
]
},
{
"id": "IN-MAL-2026-005899",
"import_time": "2026-06-12T19:43:45.468920707Z",
"modified_time": "2026-06-12T19:04:31Z",
"sha256": "c99cc07d5718829e19100c5156b6d76e8073fa5dd428a5ae0c80b7ab3b3b7809",
"source": "amazon-inspector",
"versions": [
"1.1.4"
]
},
{
"id": "IN-MAL-2026-005888",
"import_time": "2026-06-12T19:43:44.232399139Z",
"modified_time": "2026-06-12T19:04:16Z",
"sha256": "078930d9b8f1718837ead49232668ade00d770619460d9ee78de9e460789f54e",
"source": "amazon-inspector",
"versions": [
"1.0.5"
]
},
{
"id": "IN-MAL-2026-005892",
"import_time": "2026-06-12T19:43:44.60927511Z",
"modified_time": "2026-06-12T19:04:22Z",
"sha256": "60d575bb7702c7cc2be1b0ccb5e8dde19db7772e32c0338ae6e49cce8f5dd4c9",
"source": "amazon-inspector",
"versions": [
"1.0.8"
]
},
{
"id": "IN-MAL-2026-005895",
"import_time": "2026-06-12T19:43:44.943048112Z",
"modified_time": "2026-06-12T19:04:24Z",
"sha256": "67f0d97e2d687bcc5dde8fdb908c863d0b5a326507679bb124e4e5deb2c669c2",
"source": "amazon-inspector",
"versions": [
"1.1.0"
]
},
{
"id": "IN-MAL-2026-005894",
"import_time": "2026-06-12T19:43:44.82483361Z",
"modified_time": "2026-06-12T19:04:23Z",
"sha256": "7d85c0d58c39173befc77731755ebb3e74f4a19e6001ebf45af36180df7ecd0c",
"source": "amazon-inspector",
"versions": [
"1.0.9"
]
},
{
"id": "IN-MAL-2026-005901",
"import_time": "2026-06-12T19:43:45.725211564Z",
"modified_time": "2026-06-12T19:04:33Z",
"sha256": "03285123df190ccc95b10483103eafcffc4115a10957d54495c56b6e64fd3ff6",
"source": "amazon-inspector",
"versions": [
"1.1.5"
]
},
{
"id": "IN-MAL-2026-005898",
"import_time": "2026-06-12T19:43:45.32927894Z",
"modified_time": "2026-06-12T19:04:29Z",
"sha256": "1cd197fed242f2f78820ae2d71c9d85222434732888f987e971e59282e2f5004",
"source": "amazon-inspector",
"versions": [
"1.1.3"
]
},
{
"id": "IN-MAL-2026-005897",
"import_time": "2026-06-12T19:43:45.222591386Z",
"modified_time": "2026-06-12T19:04:28Z",
"sha256": "d94eff1a40e4f15f06c0d89ef9bb6e1ff9446d038f81d49da16c155b1060d0c5",
"source": "amazon-inspector",
"versions": [
"1.1.2"
]
},
{
"id": "GHSA-9w2p-6gjc-vrqv",
"import_time": "2026-07-03T16:45:59.76167074Z",
"modified_time": "2026-07-03T15:59:09Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "84ca8fe36bdf66dfe770fa3a87a63ec8927a78152f2dd84515d6e1804ab59fa8",
"source": "ghsa-malware"
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6f6f2c4e3192b71fc68681fbb8c8216a5e581e9f2baaa13954172249a8ddf5b6)\nThe 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.\n\n## Source: ghsa-malware (84ca8fe36bdf66dfe770fa3a87a63ec8927a78152f2dd84515d6e1804ab59fa8)\nAny 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.\n",
"id": "MAL-2026-5396",
"modified": "2026-07-03T16:47:39Z",
"published": "2026-06-09T15:59:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.3"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.6"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.1.5"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.1.1"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.2"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.4"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.8"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.9"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.7"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.1.4"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.0.5"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.1.0"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.1.3"
},
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/@sqlite-node/createsql/v/1.1.2"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-9w2p-6gjc-vrqv"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in @sqlite-node/createsql (npm)"
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.