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

目标: 1000 元 · 已筹: 1359 元

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

flowdefi

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

Summary

Malicious code in flowdefi (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmflowdefi*
npmflowdefi9.9.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-17T00:22:41Z","published":"2026-06-15T17:23:54Z","schema_version":"1.7.4","id":"MAL-2026-5806","aliases":["GHSA-24j3-x8g2-c23q"],"summary":"Malicious code in flowdefi (npm)","details":"flow/surf-lending DeFi cred-exfil campaign sibling (c1655). preinstall `node index.js || true` exfils env secrets to raw C2 2.25.140.71:8443/surflending/npm-confusion (verified identical). No-renotify.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b5e410fabd766facf41c970113c2a0a1b06b67b82521ffae20a32328cd74994e)\nOn `npm install`, the package's preinstall hook executes `node index.js`, which collects the host's `os.hostname()`, `os.userInfo().username`, current working directory, and all environment variables whose names match a credential-shaped regex (`key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher`). The harvested data is POSTed as JSON to the bare IPv4 endpoint `https://2.25.140.71:8443/surflending/npm-confusion`. The package metadata is a stub (`description: \"flowdefi SDK\"`, no repository, no author, version pinned to `9.9.9` — a classic dependency-confusion high-version trick), and the exfil path is literally named `/surflending/npm-confusion`, indicating a dependency-confusion attack targeting an internal package named `flowdefi`, likely belonging to a Cardano/DeFi project (the regex specifically targets Cardano-ecosystem secrets such as `blockfrost`, `mnemonic`, `seed`, `batcher`). Installing this package on a developer or CI machine will leak wallet seed phrases, private keys, API tokens, and other secrets to the attacker.\n\n## Source: ghsa-malware (224957c95a54d8bc6cdfa2f0153483240125d9879182a51d3accbd4137cd7465)\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":"flowdefi"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["9.9.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":"8936519f32d19d50089d55b700528b0a3149a27b8df271f19547c396948a8bdc","tlsh":"a50165f061f094a85a72e684b056a1065163d013fd0bbc60f19401602fcd63c54b3cd6"},{"path":"package.json","sha256":"208643a4a133154b9d33a551dc5e2760fbed46fe6e110c7044cdc1ee9bae59b5","tlsh":"21c02b600f30f230050c4ee17c73cc0892e502100088884044f3003c85e0bff808e00f"}],"ips":["2.25.140.71"],"package_integrity":[{"filename":"flowdefi-9.9.9.tgz","hashes":{"sha1":"81e14ae6b5ce780af97cec63fe618bb10afb0ca6","sha512_sri":"sha512-3ufMbDz2gCzbY1K3BfnYP+hYVhvGnPWL8AfLSI01oucEYihj7KBZxomAaWTSO3IXtE6n4u6Dqjw3/zy4P7B3FQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/flowdefi/v/9.9.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-24j3-x8g2-c23q"},{"type":"REPORT","url":"https://app.safedep.io/community/malysis/01KV5XSKXY3K4QJ0YDHN8Y2VGJ"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]},{"name":"SafeDep","type":"FINDER","contact":["https://safedep.io"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"97aab6ad6cd465ed64cf6bb5151508a6fac2ba7b26b98d5732f0ed5d0c594d13","import_time":"2026-06-15T18:54:53.997412175Z","id":"IN-MAL-2026-006608","modified_time":"2026-06-15T17:23:54Z","versions":["9.9.9"]},{"source":"amazon-inspector","sha256":"b5e410fabd766facf41c970113c2a0a1b06b67b82521ffae20a32328cd74994e","import_time":"2026-06-15T18:54:53.946504171Z","id":"IN-MAL-2026-006607","modified_time":"2026-06-15T17:23:54Z","versions":["9.9.9"]},{"source":"ghsa-malware","sha256":"224957c95a54d8bc6cdfa2f0153483240125d9879182a51d3accbd4137cd7465","import_time":"2026-06-16T01:31:34.693377095Z","id":"GHSA-24j3-x8g2-c23q","modified_time":"2026-06-16T00:36:20Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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