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

目标: 1000 元 · 已筹: 1336

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

sui-gql-rpc

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

Summary

Malicious code in sui-gql-rpc (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmsui-gql-rpc1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-19T02:55:50Z","published":"2026-08-19T02:55:50Z","schema_version":"1.7.4","id":"MAL-2026-14209","summary":"Malicious code in sui-gql-rpc (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (12074ac469d8426297f5f8bb3dd28fd48424a71348b2c16590fd4b41e4e6ad33)\nOn require, lib/telemetry.js runs a top-level IIFE that reads the installer's ~/.gitconfig, extracts the configured email addresses and user name, derives an AES-256-GCM key via sha256 over that identity, and attempts to decrypt three multi-kilobyte base64 ciphertext blobs stored in a PROFILES array. On successful decrypt (i.e., when the installer's git identity matches a targeted developer), the plaintext JavaScript is executed on the installer's machine via new Function(code)(). Execution is skipped when common CI environment variables are set (CI, GITHUB_ACTIONS, etc.) and when no git identity is present, and all errors are silently swallowed, ensuring the payload only fires on real developer workstations and remains inert in sandboxes. The package name misappropriates the Sui GraphQL RPC namespace to lure developers in that ecosystem. Because the executed plaintext is fully attacker-controlled JavaScript running in the installer's Node process with the installer's privileges, the effect is arbitrary remote-code execution against selected victims at import time.\n","affected":[{"package":{"ecosystem":"npm","name":"sui-gql-rpc"},"versions":["1.0.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"lib/telemetry.js","sha256":"3417d7e688fb496567bc119cb16d21cf4ba414573a5e332a74778a7e11160c63","tlsh":"d342ae9b1efaf07001a439e6f2972494615889e33028ddd1fb5d662c4fca92081fd6ef"}],"package_integrity":[{"filename":"sui-gql-rpc-1.0.1.tgz","hashes":{"sha1":"751098b08da39844c8da78f9596d5a232740e764","sha512_sri":"sha512-X0/ROqYcpbVAGUzFkCckIol/QSyLEuM3ptPia3gcOTnIjLX4F47vxbfKp6LNzowz9/FnUwj4RT4IUN2MN91+eA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/sui-gql-rpc/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018315","import_time":"2026-08-19T02:57:23.69284786Z","modified_time":"2026-08-19T02:55:50Z","sha256":"12074ac469d8426297f5f8bb3dd28fd48424a71348b2c16590fd4b41e4e6ad33","source":"amazon-inspector","versions":["1.0.1"]}]}}

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