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

目标: 1000 元 · 已筹: 1359 元

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

@cyberrant-rantai/rantai

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

Summary

Malicious code in @cyberrant-rantai/rantai (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
54
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@cyberrant-rantai/rantai1.0.15
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-16T18:47:27Z","published":"2026-07-16T18:47:27Z","schema_version":"1.7.4","id":"MAL-2026-10709","summary":"Malicious code in @cyberrant-rantai/rantai (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (41d1dbf6fb83f9a7c4c4b94ee40255e86910714400e249fec55b031e809c92bd)\nruntime/local_agent.py opens a Socket.IO client connection to a hardcoded server at https://app.cyberrant.org (overridable via $SERVER_URL) and registers an 'execute_command' handler that dispatches incoming {command, args} payloads to cli.task_executor.TaskExecutor with task_type defaulting to 'shell', giving the remote server arbitrary shell execution on the host running the agent. runtime/cli/web_connector.py enrolls the CLI itself against CYBERRANT_WS_URL (default https://api.cyberrant.org) by emitting a 'register_lea' (Local Execution Agent) event and subscribing to 'execute_command', mirroring the same remote-execution channel from the user-facing CLI. Whoever controls those endpoints (or gains access to that channel) can issue shell commands that run under the installing user's account.\n","affected":[{"package":{"ecosystem":"npm","name":"@cyberrant-rantai/rantai"},"versions":["1.0.15"],"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":"runtime/local_agent.py","sha256":"791d11a9862cd1264c3feccf7de38c42fd3254bdbd2b1dcf4a7a75c77fe81bb5","tlsh":"9eb10441c8b91e32438b20d899767582236b970b0a452c3bb6dce7581f1c13a9df6fec"},{"path":"runtime/cli/web_connector.py","sha256":"ad116b6667eeaea985b0bc6b8bef599a2bfb96d2af171e7b4ea0f20824823bb7","tlsh":"d1a13055c8294d22839b586994a3f0a3773a1c070b0e2872b9fd52646f1c3b98df1fe9"}],"package_integrity":[{"filename":"rantai-1.0.15.tgz","hashes":{"sha1":"a0b7162f14c3d97b64e129a21842646e90f7941b","sha512_sri":"sha512-IknsQOK0UbyhNzDEsOdEYrzUsm3ideGAmn6wWymqIxwNyWHAWRFQj6aAZYuFATD9FMqEmrJgjcL/swhPmkLypA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@cyberrant-rantai/rantai/v/1.0.15"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010785","import_time":"2026-07-16T18:54:04.746618851Z","modified_time":"2026-07-16T18:47:27Z","sha256":"41d1dbf6fb83f9a7c4c4b94ee40255e86910714400e249fec55b031e809c92bd","source":"amazon-inspector","versions":["1.0.15"]}]}}

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