目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

@sqlite-prime/nodesql

MAL-2026-13716
2026-08-11 12:24:54
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @sqlite-prime/nodesql (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
270
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@sqlite-prime/nodesql*
npm@sqlite-prime/nodesql1.0.3
npm@sqlite-prime/nodesql1.0.4
npm@sqlite-prime/nodesql1.0.6
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-13716","published":"2026-08-10T16:09:09Z","modified":"2026-08-11T12:24:54.063261016Z","aliases":["GHSA-f348-mwv9-7p8h"],"summary":"Malicious code in @sqlite-prime/nodesql (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cd5b84b0145aa2612302c7153b5848582cdda2f6c88c802dfc0618cd376dd617)\n@sqlite-prime/nodesql@1.0.6 ships a verbatim copy of the well-known `buffer` library as its main entry (`index.js`) with a single injected top-level statement `var ins = import('@sqlite-prime/createsql');` that dynamically loads the sibling scoped package `@sqlite-prime/createsql` (declared as a dependency, `^1.0.1`) whenever a consumer `require()`s this module. The sibling package's code is not shipped in this tarball, is unpinned, and is unrelated to the advertised buffer polyfill functionality. Package identity is inconsistent across metadata: `package.json` names the package `@sqlite-prime/nodesql`, the README titles the project `bare-stream` and instructs `npm i @sql-access/nods`, the LICENSE header is copied from the `type-is` project (Jonathan Ong / Douglas Christopher Wilson), and the code is copied from Feross Aboukhadijeh's `buffer`. This is the canonical loader/staging shape: a benign-looking copy of a popular library with an injected import that pulls in and executes an external, unrelated package at load time.\n\n## Source: ghsa-malware (d2a2059831cb64f71960161799b8a83a07d508d2d6846641e868cf9519b6fd0a)\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","affected":[{"package":{"name":"@sqlite-prime/nodesql","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.4","1.0.6","1.0.3"],"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"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"610c601c6fc2ac97c29bee180b89cf7c0d91fe3d9baf3896ddf8f254f4f44d2e","tlsh":"cf3364026f52511b4377b33d984f950efb769436422ac8c8b49cd4902fb4964cabbef9"},{"path":"README.md","sha256":"3e41caa00cca47d4f2c1009c8e122d20885857da6587bac53b89f26c6d0bb61f","tlsh":"f3d0229f2807030e2f433cc110e04e29b695788cce089859b800872389a0230235820c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f348-mwv9-7p8h"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sqlite-prime/nodesql/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sqlite-prime/nodesql/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sqlite-prime/nodesql/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-f348-mwv9-7p8h","import_time":"2026-08-11T00:38:01.338147712Z","modified_time":"2026-08-10T16:09:09Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"d2a2059831cb64f71960161799b8a83a07d508d2d6846641e868cf9519b6fd0a","source":"ghsa-malware"},{"id":"IN-MAL-2026-017298","import_time":"2026-08-11T12:23:05.820599865Z","modified_time":"2026-08-11T12:00:04Z","sha256":"f430f4d20ab98acadd1a0218b2fbe0ec48e8571502995336023d7fd124fd4109","source":"amazon-inspector","versions":["1.0.4"]},{"id":"IN-MAL-2026-017300","import_time":"2026-08-11T12:23:06.030794823Z","modified_time":"2026-08-11T12:00:26Z","sha256":"cd5b84b0145aa2612302c7153b5848582cdda2f6c88c802dfc0618cd376dd617","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-017299","import_time":"2026-08-11T12:23:05.914227213Z","modified_time":"2026-08-11T12:00:15Z","sha256":"e9baf0a063e3b6e70a4884aad8bc4cea2ebbf3937fef61253996dc9f2b6efd8b","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0