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

目标: 1000 元 · 已筹: 1359 元

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

@db-tools/main-app

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

Summary

Malicious code in @db-tools/main-app (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
14
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@db-tools/main-app*
npm@db-tools/main-app2026.6.30
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10398","published":"2026-07-13T05:14:59Z","modified":"2026-11-05T22:20:59.233465357Z","aliases":["GHSA-fwf6-6x3c-6g3h"],"summary":"Malicious code in @db-tools/main-app (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2d3b0edc39a389f4099895c647f0cdccbb08c85e56835670468e7a989b172e9f)\npackage.json declares a preinstall hook `npm install @sentry/node && node examples/verify.js` that fires on every `npm install`. examples/verify.js calls the library's init() with no DSN, which falls back to a hardcoded DEFAULT_DSN in src/index.js (`https://...@o4511652642947072.ingest.de.sentry.io/4511652667785296`). verify.js then invokes setUserFromPublicIp() which fetches the installer's public egress IP from `https://www.cloudflare.com/cdn-cgi/trace`, attaches it as Sentry user context, throws a synthetic exception, and flushes it to the author-controlled Sentry project. The installer has no opportunity to configure or opt out — the data flow is unconditional and non-consensual on `npm install`. Separately, the exported init() API uses the same hardcoded DEFAULT_DSN as its final fallback (after options.dsn and process.env.SENTRY_DSN) and sets `sendDefaultPii: true`, so any consumer that uses the library without explicitly supplying a DSN silently routes their application's exceptions and PII to the same author-owned Sentry project, with no disclosure in the README.\n\n## Source: ghsa-malware (79f993a27a836eca13e83c295f9b823240e5bc9fd3b0256004320137fe10ec06)\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-tools/main-app","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2026.6.30"],"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":"src/index.js","sha256":"1da551338e637bd22bbab30fb5351bd4748714263fc3571c77dca19779abd858","tlsh":"9e12a79a35f6232301e250f0025f90d97366c67a3379e9e071598be91fc90b9d6b3ec9"}],"package_integrity":[{"filename":"main-app-2026.6.30.tgz","hashes":{"sha1":"269bc7ce4c8332a53ad34847d66886fd5aa87c17","sha512_sri":"sha512-vQGfrcns5ek+ziD3aBlkgkYI+8VlulSS+uIPhwu/lXIW98mECS+gnX1IKt59efQRztGKcfG9k58kkQPtQtI9cg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@db-tools/main-app/v/2026.6.30"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-fwf6-6x3c-6g3h"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-009800","import_time":"2026-07-13T07:40:09.6345124Z","modified_time":"2026-07-13T05:14:59Z","sha256":"2d3b0edc39a389f4099895c647f0cdccbb08c85e56835670468e7a989b172e9f","source":"amazon-inspector","versions":["2026.6.30"]},{"id":"GHSA-fwf6-6x3c-6g3h","import_time":"2026-11-05T22:19:08.560329935Z","modified_time":"2026-11-05T22:06:35Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"79f993a27a836eca13e83c295f9b823240e5bc9fd3b0256004320137fe10ec06","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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