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

目标: 1000 元 · 已筹: 1336

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

@finxsecdemo/utils

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

Summary

Malicious code in @finxsecdemo/utils (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
599
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.2archivedVIP 下载
1.0.3unavailable
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npm@finxsecdemo/utils1.0.2
npm@finxsecdemo/utils1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-11170","published":"2026-07-29T08:30:33Z","modified":"2026-08-14T18:25:21.715874695Z","summary":"Malicious code in @finxsecdemo/utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (be118b4cf0acab2c331cc37f68a19bdbdf2ac8423ef984a1cac5c9f4d21c1e7e)\nThe postinstall.js lifecycle script unconditionally issues an HTTPS GET and a DNS resolution against a hardcoded interact.sh/OAST subdomain (llhvrrffsffmousfvteqie2heq3c7rl55.oast.fun) on every install, reading os.hostname(), os.userInfo(), and process.env in the surrounding code. The beacon fires on `npm install` and reports the installer's source IP and DNS resolver IP to whoever owns the OAST token, giving them an enumeration list of hosts on which the package landed. The package's own `main` returns a formatCurrency string containing '[DEPENDENCY-CONFUSION-POC: this ran from the PUBLIC npm registry, not @finxsecdemo private packages]', which corrupts any consumer that displays formatted currency. Console framing as a 'dependency confusion PoC' is author-controlled labeling; the network callback and output corruption occur regardless.\n\n## Source: ossf-package-analysis (f6ca8fa85d211056af32639b18f95f13c362b2764d85c812e6741d6747abf94d)\nThe OpenSSF Package Analysis project identified '@finxsecdemo/utils' @ 1.0.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"@finxsecdemo/utils","ecosystem":"npm"},"versions":["1.0.2","1.0.3"],"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":"postinstall.js","sha256":"6cd71e6c941ca9e6ae8548ed26474f78a612d2aa303f9be0c556314c9b66fc08","tlsh":"da3185a81ced533926f3d1c4b9550923e147df025b06e040f1ac03bb1bc3fa9566d5b8"},{"path":"index.js","sha256":"4256b75aa709c3c70fd52299b33f1e861e2bf2aab86dca95be75c486f2bbeebb","tlsh":"95e0f132b1c171e6c270d411b54a478f4eef0539362f4885a55c9afb0fda810d269ead"}],"package_integrity":[{"filename":"utils-1.0.2.tgz","hashes":{"sha1":"ef397a9a67ae3bc3063501a129340a163192c5b8","sha512_sri":"sha512-iACgGhTKPKypubxiuS3/kAJCMiD/hQROEEqvK8RJall8t2om6pO8+DRR4hASL1HTphl92gWCaoGSYaE8pQWbMw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@finxsecdemo/utils/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@finxsecdemo/utils/v/1.0.3"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-29T09:30:03.00706953Z","modified_time":"2026-07-29T08:30:33Z","sha256":"f6ca8fa85d211056af32639b18f95f13c362b2764d85c812e6741d6747abf94d","source":"ossf-package-analysis","versions":["1.0.2"]},{"id":"IN-MAL-2026-012879","import_time":"2026-08-05T06:00:15.180489679Z","modified_time":"2026-08-05T05:02:30Z","sha256":"be118b4cf0acab2c331cc37f68a19bdbdf2ac8423ef984a1cac5c9f4d21c1e7e","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-017914","import_time":"2026-08-14T18:23:39.225753695Z","modified_time":"2026-08-14T17:51:47Z","sha256":"09fd53bc90d2931d4d9df72d8b2fa1205304486913a9e87494dbe72fa51c40fa","source":"amazon-inspector","versions":["1.0.3"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}

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