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

目标: 1000 元 · 已筹: 1359 元

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

@wagni_bot/opensea-sdk

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

Summary

Malicious code in @wagni_bot/opensea-sdk (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@wagni_bot/opensea-sdk1.0.0
npm@wagni_bot/opensea-sdk1.0.2
npm@wagni_bot/opensea-sdk1.1.0
npm@wagni_bot/opensea-sdk1.1.1
npm@wagni_bot/opensea-sdk1.1.2
npm@wagni_bot/opensea-sdk1.1.3
npm@wagni_bot/opensea-sdk1.1.4
npm@wagni_bot/opensea-sdk1.1.5
npm@wagni_bot/opensea-sdk1.2.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10030","published":"2026-07-09T00:00:00Z","modified":"2026-08-05T07:08:50.678432160Z","summary":"Malicious code in @wagni_bot/opensea-sdk (npm)","details":"The npm package `@wagni_bot/opensea-sdk` is a supply-chain credential stealer disguised as a **OpenSea** SDK. It is one member of a coordinated campaign of 25 crypto/web3 typosquat packages published under the single npm scope `@wagni_bot` on 2026-07-09.\n\nEach package declares a `postinstall` lifecycle hook (`postinstall: node postinstall.js`) that executes automatically on `npm install`, before the package is ever imported. The script fingerprints the host and user (`os.hostname()`, `os.userInfo()`, `os.platform()`), walks the user's home directory (`readdirSync`/`readFileSync`) and reads high-value secrets — SSH private keys (`~/.ssh/id_rsa`), cryptocurrency wallet files, and `.env` files (API keys, tokens, seed phrases). It then JSON-encodes the collected data and exfiltrates it to a hardcoded Telegram bot via the Telegram Bot API `sendMessage` endpoint (https://api.telegram.org/bot8804087989:AAHUia-5DCloXsg9M9QhffTsHO5J_6FAxQM/sendMessage). All error paths are swallowed so the install appears normal.\n\ncodelake Research proved the packages belong to one campaign deterministically: the payload file is byte-identical across all 25 packages at each published version (version-lockstep), and every package exfiltrates to the same Telegram bot token — a single automated actor. Detected and classified independently from the live npm feed on 2026-07-09; at the time of reporting the packages were still live on npm and none of the 25 were present in OSV or GHSA (a first-catch).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (180731324517ae6b27ea40b119dba8f0ab1080a6662ea947f86e8c0de545b0cd)\nPackage impersonates the OpenSea SDK namespace (name @wagni_bot/opensea-sdk, description \"Unofficial opensea-sdk SDK\") but ships no SDK functionality — its purpose is the postinstall.js dropper that runs automatically on npm install. postinstall.js walks the installer's home directory and crypto-wallet paths (.ethereum,.solana,.bitcoin, Library/Ethereum) for files matching wallet/keystore/seed/mnemonic/private/pem/id_rsa patterns; greps file contents for Ethereum/Bitcoin private-key and BIP39 seed-phrase shapes; reads every file under ~/.ssh (excluding known_hosts and *.pub); and filters process.env for names containing PRIVATE, SECRET, TOKEN, KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS. Each hit is POSTed together with os.hostname(), os.userInfo().username, and process.cwd() (plus up to 10KB of matched file content) via plain HTTP to the hardcoded bare-IP endpoint http://107.161.90.180:7777. Installing this package on a developer machine hands over SSH private keys, crypto wallet keystores/seed phrases, and secret environment variables to the operator of that endpoint.\n","affected":[{"package":{"name":"@wagni_bot/opensea-sdk","ecosystem":"npm"},"versions":["1.1.3","1.1.5","1.1.0","1.1.1","1.1.4","1.2.0","1.0.0","1.0.2","1.1.2"],"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"},{"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"},{"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"},{"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"},{"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":"ef1ab14e4f432b72160bae8ac60ef8558bc3f05c0e5a0f21516dbcd8f9bac202","tlsh":"2a7194f4b0a9115853e3b7f2671b3d12a56f85563b82d4f13bec9e002f699c4ca23439"},{"path":"package.json","sha256":"e7f4416be9edacf94b0d9b9a5a3022128e47de67c5a8530590f112e6da7c68fc","tlsh":"69c08c000b05af322aa00be52d63cc6c84e102680008d50c0fc709ba8a527ea902e113"}],"package_integrity":[{"filename":"opensea-sdk-1.1.3.tgz","hashes":{"sha1":"e9b584473c6a106d47f0ab7018be2f9ea2fe1bbd","sha512_sri":"sha512-XpDF5DeY2sSWSkush0ODVFUittcj9Ys4pcvFWdL9fGnZsqZDT2bXB05dgGRolVSQ2RuZ+3Uy8oWrjLrHlySKSg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.1.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.0.0"},{"type":"ADVISORY","url":"https://research.codelake.dev/advisories/clr-2026-3009-wagni-opensea-sdk"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@wagni_bot/opensea-sdk/v/1.0.2"}],"database_specific":{"iocs":{"hashes":["sha256:b28b570e1080f39b73f166811f9f42eea4dc386066002a13bedf29e0cb7b27cb"],"urls":["https://api.telegram.org/bot8804087989:AAHUia-5DCloXsg9M9QhffTsHO5J_6FAxQM/sendMessage"]},"malicious-packages-origins":[{"id":"IN-MAL-2026-009057","import_time":"2026-07-09T16:20:37.001985806Z","modified_time":"2026-07-09T15:21:29Z","sha256":"180731324517ae6b27ea40b119dba8f0ab1080a6662ea947f86e8c0de545b0cd","source":"amazon-inspector","versions":["1.1.3"]},{"id":"IN-MAL-2026-009080","import_time":"2026-07-09T16:20:39.008968199Z","modified_time":"2026-07-09T15:25:14Z","sha256":"d56bf145287b480a0577ea59eeb574bb06e0d02b9b0edff8455e1ff80da1832f","source":"amazon-inspector","versions":["1.1.5"]},{"id":"IN-MAL-2026-009067","import_time":"2026-07-09T16:20:37.892230148Z","modified_time":"2026-07-09T15:23:07Z","sha256":"fdf4e3b5fbb9ee046aa4d5448d1e218334d9ac301520bb1a476b66da5ab5ffea","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-009060","import_time":"2026-07-09T16:20:37.238236156Z","modified_time":"2026-07-09T15:21:55Z","sha256":"2b7cba911e938df1773eac5fb6c8d1ddd516b240d3fd15bb76669be864f3c11f","source":"amazon-inspector","versions":["1.1.1"]},{"id":"IN-MAL-2026-009054","import_time":"2026-07-09T16:20:36.766361147Z","modified_time":"2026-07-09T15:21:02Z","sha256":"2bb17ee14bcebc28314402ab5abb1f23fd63161c49ad9f5240ac6b12885adff7","source":"amazon-inspector","versions":["1.1.4"]},{"id":"IN-MAL-2026-009028","import_time":"2026-07-09T16:20:33.713134211Z","modified_time":"2026-07-09T15:16:48Z","sha256":"33f13d814ee8aed088dc7fef1737db9d9946d49b043aa95e9ed1f9bd3a10ddaa","source":"amazon-inspector","versions":["1.2.0"]},{"id":"IN-MAL-2026-009073","import_time":"2026-07-09T16:20:38.317505614Z","modified_time":"2026-07-09T15:24:06Z","sha256":"4567a95fc8efe5311a2394bcc04b64aba72ca8ce846790fc5d37b56f39847162","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-013320","import_time":"2026-08-05T07:06:41.181071187Z","modified_time":"2026-08-05T06:06:17Z","sha256":"3811b94cbbab94f74d183ac31bb96c562714600dcca56bff416eeacefe9bedc5","source":"amazon-inspector","versions":["1.1.2"]},{"id":"IN-MAL-2026-013321","import_time":"2026-08-05T07:06:41.250045802Z","modified_time":"2026-08-05T06:06:24Z","sha256":"9ee25d0a1dfc66e95d9484d9ce4cf34b33f353c30e8529e19040c7a1b47c4e51","source":"amazon-inspector","versions":["1.0.2"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"codelake Research","contact":["https://research.codelake.dev/advisories/clr-2026-3009-wagni-opensea-sdk"],"type":"FINDER"}]}

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