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

目标: 1000 元 · 已筹: 1359 元

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

@dransay/feature-flags

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

Summary

Malicious code in @dransay/feature-flags (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
111
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@dransay/feature-flags99.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-17696","published":"2026-10-08T07:58:52Z","modified":"2026-10-12T04:38:49.438530444Z","summary":"Malicious code in @dransay/feature-flags (npm)","details":"@dransay/feature-flags@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 (cc545bbb96903ee25218d8cab1a7d116d2ceb1ba64a3c929c79e56a6fc8e0585)\n@dransay/feature-flags@99.0.0 publishes a scoped name on the public npm registry at an inflated version (99.0.0) designed to win semver resolution against any private internal @dransay/* copy. package.json declares a preinstall hook `node beacon.js`; beacon.js unconditionally performs a DNS lookup and HTTPS GET to the hardcoded interactsh callback host db3klhbi6i9hark1kegg174t38h33b6wt.oast.site on every `npm install`, leaking the installer's public source IP, a timestamp, and confirmation that the scoped name resolved from the public registry to a third-party out-of-band interaction collector. The README self-describes the artifact as a probe of DrAnsay build infrastructure; author self-labeling as research does not change the install-time behavior for any environment whose npm resolves @dransay/* publicly.\n","affected":[{"package":{"name":"@dransay/feature-flags","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":"5ba13afc2e6d6acf3876a0d06bf8e0e81046d1174bbe4c23ca147c313da3df53","tlsh":"541165ad4ae42b00b1e9f4a8988e01e94f73d1a8844946c0f1cec3ab5e9347c17674fb"},{"path":"package.json","sha256":"f3a916de7c5f5312d3f7f3668fc348be0594f74cb74942df7b88af81b61a9056","tlsh":"7be0f1546f402e3300cd14f11d2c919752f39c6e531c2d4851cb030f536d53553bb19c"}],"package_integrity":[{"filename":"feature-flags-99.0.0.tgz","hashes":{"sha1":"fcebaa3f8c486545a35613aa3d4489f11ef3484a","sha512_sri":"sha512-42rlCO5zyc1wEX+A5hlFsMwnAbN0YpRFEcWGF3SSvGdZ8YZV7ucO0L7XGv/FORTAV1U1lzyzWlWNF7BkNWUD3A=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dransay/feature-flags/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dransay/feature-flags"}],"database_specific":{"iocs":{"domains":["db3klhbi6i9hark1kegg174t38h33b6wt.oast.site"],"files":[{"digests":{"sha256":"f3a916de7c5f5312d3f7f3668fc348be0594f74cb74942df7b88af81b61a9056"},"note":"preinstall script: node beacon.js","paths":["package.json"],"source":"PACKAGE_ARCHIVE"},{"digests":{"sha256":"5ba13afc2e6d6acf3876a0d06bf8e0e81046d1174bbe4c23ca147c313da3df53"},"note":"Executed by the preinstall script of @dransay/feature-flags@99.0.0.","paths":["beacon.js"],"source":"PACKAGE_ARCHIVE"}],"urls":["https://db3klhbi6i9hark1kegg174t38h33b6wt.oast.site/feature-flags"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-021215","import_time":"2026-10-08T17:17:19.429819003Z","modified_time":"2026-10-08T16:54:29Z","sha256":"cc545bbb96903ee25218d8cab1a7d116d2ceb1ba64a3c929c79e56a6fc8e0585","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