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

目标: 1000 元 · 已筹: 1359 元

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

bodega-sdk

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

Summary

Malicious code in bodega-sdk (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmbodega-sdk*
npmbodega-sdk9.9.9
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-06-17T00:22:40Z","published":"2026-06-15T17:23:32Z","schema_version":"1.7.4","id":"MAL-2026-5801","aliases":["GHSA-m774-6g93-j76m"],"summary":"Malicious code in bodega-sdk (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 (75aea05ceba339fbc9f0764e178d0cac8170219115218d635b14639ec01410a4)\npackage.json declares `preinstall: node index.js`, which fires automatically on `npm install`. index.js collects host identifiers (os.hostname(), os.userInfo().username, cwd) and enumerates process.env, filtering keys by the regex /key|seed|secret|token|private|mnemonic|password|blockfrost|redis|telegram|batcher/i to capture credential-shaped values (API keys, seed phrases, mnemonics, private keys, Telegram bot tokens, Blockfrost keys, Redis URLs, batcher keys). The harvested JSON is POSTed to https://2.25.140.71:8443/surflending/npm-confusion — a hardcoded bare-IP endpoint. The attacker-chosen URL path `/surflending/npm-confusion` and the sentinel version 9.9.9 indicate a dependency-confusion attack targeting a private `bodega-sdk` package (likely SurfLending/Bodega DEX on Cardano): any organization with an internal package of this name risks the public copy resolving on install, leaking credentials from CI runners and developer machines unconditionally.\n\n## Source: ghsa-malware (fbdcacc3104a9f8f465f677b36d460e4f56e50654720b0d0bc0217e58f9bd6ce)\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":"bodega-sdk"},"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":"9d68a43ed5466347b21fb58f2a49d0792d4e8567a98ad405d4636b3952538f75","tlsh":"c5c092a44f21fa711a580bf7bda7de48e5e2032840688588acc31479d0a17fe85de24b"}],"ips":["2.25.140.71"],"package_integrity":[{"filename":"bodega-sdk-9.9.9.tgz","hashes":{"sha1":"a2152d20d2f155351c6ba14206372500830e00b1","sha512_sri":"sha512-ZwbMERq02OV/NsqdehQ8snT6Krb7a9s4EHWD5yq02fHy2KEcqAe1Ktu5NXEXpTvxC/eTWQ7ajuzpu74nDU4HCA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/bodega-sdk/v/9.9.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-m774-6g93-j76m"},{"type":"REPORT","url":"https://app.safedep.io/community/malysis/01KV5XSF2C4CA4YMQAZ6XJ3Y6X"}],"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":"00fcd3f5e4dfac2768e148e4b2217e4c4f2ea20d70fca50b5b40cd6f27f10cef","import_time":"2026-06-15T18:54:53.756564991Z","id":"IN-MAL-2026-006604","modified_time":"2026-06-15T17:23:33Z","versions":["9.9.9"]},{"source":"amazon-inspector","sha256":"75aea05ceba339fbc9f0764e178d0cac8170219115218d635b14639ec01410a4","import_time":"2026-06-15T18:54:53.724055626Z","id":"IN-MAL-2026-006603","modified_time":"2026-06-15T17:23:32Z","versions":["9.9.9"]},{"source":"ghsa-malware","sha256":"fbdcacc3104a9f8f465f677b36d460e4f56e50654720b0d0bc0217e58f9bd6ce","import_time":"2026-06-16T01:31:34.719628017Z","id":"GHSA-m774-6g93-j76m","modified_time":"2026-06-16T00:36:20Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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