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

目标: 1000 元 · 已筹: 1359 元

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

@dransay/db

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

Summary

Malicious code in @dransay/db (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
111
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@dransay/db99.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17695","published":"2026-10-08T07:56:57Z","modified":"2026-10-12T04:38:49.437209147Z","summary":"Malicious code in @dransay/db (npm)","details":"@dransay/db@99.0.0 is a dependency-confusion probe claiming the internal `@dransay/*` namespace, not an identified public package. Its `preinstall` hook runs on npm install as `node beacon.js` and sends a DNS lookup and an HTTPS GET to `db3klhbi6i9hark1kegg174t38h33b6wt.oast.site`, using the package name in the request; npm account `0xamino_hunter` published it on 2026-10-08.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dc3d55a63787b5f45312d0b8433f6e782b2a6b28e89ef6377e24e5d26c757a61)\nOn npm install, the package's preinstall hook executes beacon.js, which performs a DNS lookup and HTTPS GET to a hardcoded interactsh (OAST) subdomain under oast.site, embedding the package name in the path. The implausibly high version number (99.0.0) combined with the generic scope-plus-name is the canonical shape of a dependency-confusion probe: publish a public package reusing an internal name at a version high enough to win resolution, and record every host that resolves it. Each install leaks the installer's egress IP and the fact that an internal-named package was pulled from the public registry to a third-party-controlled collector, confirming to the operator that the target organization is exploitable for a follow-on malicious release under the same name. No installer secrets, environment variables, or filesystem contents are read, and no remote code is executed from the response, but the beacon itself materializes attacker benefit (reconnaissance of vulnerable internal names) at install time.\n","affected":[{"package":{"name":"@dransay/db","ecosystem":"npm"},"versions":["99.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"}],"indicators":{"evidence_files":[{"path":"beacon.js","sha256":"0cd9afa4808217e8686a3cfa514b9d22d7b3eb8cfa7e33a51326a0d9b84dcb17","tlsh":"6f1165ac0ae42b00b1e8f4a4888e01e84b73d1a8844946c0f2cec3ab5e5347c17674fb"}],"package_integrity":[{"filename":"db-99.0.0.tgz","hashes":{"sha1":"e2187ad013e576c05de9c3d018da521c88c0ac17","sha512_sri":"sha512-G3PjRwIxfqXaOYaOQoOZI7MWgFb1vpL2NH6F/IYzvfVhqODTqMpWWg9fLZpOGqAKOnFCxk+SswZsBhDDCwKFsQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dransay/db/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dransay/db"}],"database_specific":{"iocs":{"domains":["db3klhbi6i9hark1kegg174t38h33b6wt.oast.site"],"files":[{"digests":{"sha256":"068d3e448a6e69cd3693b399cb1640ccac7efbf8039f52fe95ca352d9677901f"},"note":"preinstall script: node beacon.js","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"0cd9afa4808217e8686a3cfa514b9d22d7b3eb8cfa7e33a51326a0d9b84dcb17"},"note":"Executed by the preinstall script of @dransay/db@99.0.0.","paths":["beacon.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://db3klhbi6i9hark1kegg174t38h33b6wt.oast.site/db"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021216","import_time":"2026-10-08T17:17:19.458804625Z","modified_time":"2026-10-08T16:54:37Z","sha256":"dc3d55a63787b5f45312d0b8433f6e782b2a6b28e89ef6377e24e5d26c757a61","source":"amazon-inspector","versions":["99.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}

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