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

目标: 1000 元 · 已筹: 1359 元

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

@dsft/ft-element

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

Summary

Malicious code in @dsft/ft-element (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
5
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@dsft/ft-element*
npm@dsft/ft-element2.5.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-15T05:02:51Z","published":"2026-06-16T15:27:18Z","schema_version":"1.7.4","id":"MAL-2026-5889","aliases":["GHSA-5g88-35hm-8xr7"],"summary":"Malicious code in @dsft/ft-element (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7a7ba80413e901c3cf618c92bd61dc6942bf167fac46b0dc7c554a4a06f705c1)\nOn `npm install`, the package's preinstall hook (`preinstall: node index.js` in package.json) executes index.js, which reads `process.env.INIT_CWD`, derives the installing project's directory name via `path.basename()`, and POSTs a JSON beacon `{pkg, timestamp, transport, project}` to a hardcoded callback URL `https://deepbounty.dd06-dev.fr/cb/e51c2215-3fa8-48f1-ad64-1cf792e0cccc`. The package is published under the `@dsft` scope and self-describes as a dependency-confusion PoC (`description: Security PoC for Bug Bounty`; index.js comment: `Harmless dependency confusion PoC`). Any build pipeline that expects a private `@dsft/ft-element` package and resolves to this public version will silently leak the project's directory name — which typically equals the private package/repo name — to a third-party endpoint, confirming a successful dependency-confusion takeover target. Installers receive no disclosure or consent. Although the author frames this as harmless research, the mechanism (unconditional install-time beacon containing host-identifying context to an attacker-controlled URL) is a supply-chain attack against any installer the scope collision affects.\n\n## Source: ghsa-malware (0fc27cb5231d8e595b68443972813ec37c791f1beaf441561cf1e1a18b135cbb)\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":"@dsft/ft-element"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.5.9"],"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":"index.js","sha256":"7655a87a22c24a1fa1d5f96220098e71a101198b189b7b9e167d6d4af2ff6e4e","tlsh":"5e2144a01be3a62012f959c0856bed0e732ba2077e42e498f98c01991fcd12c9172fc9"},{"path":"package.json","sha256":"b7d6f4ab7a02c0fd2f5188e79d5957d59b5596bc91ec4de8a349108001826363","tlsh":"99c0127c4d15b6237ad58edd0c7ea48891ae02142056cc4868c53064d0fa6b5956f745"}],"package_integrity":[{"filename":"ft-element-2.5.9.tgz","hashes":{"sha1":"22f16cf2b1894ca5163ef4c876c5fd806f213a12","sha512_sri":"sha512-UU0s152Eiv5XhNP4u3hfwgu6YtWWbz6uhx+xsXFvQ5uXeYSi/Fzo5in2iRtwo6/rXN2YnquC1TfglWtVlmmrCQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@dsft/ft-element/v/2.5.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-5g88-35hm-8xr7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"7a7ba80413e901c3cf618c92bd61dc6942bf167fac46b0dc7c554a4a06f705c1","import_time":"2026-06-16T16:06:33.396901985Z","id":"IN-MAL-2026-006755","modified_time":"2026-06-16T15:27:18Z","versions":["2.5.9"]},{"source":"ghsa-malware","sha256":"0fc27cb5231d8e595b68443972813ec37c791f1beaf441561cf1e1a18b135cbb","import_time":"2026-07-15T05:00:56.784232235Z","id":"GHSA-5g88-35hm-8xr7","modified_time":"2026-07-14T23:41:50Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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