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

目标: 1000 元 · 已筹: 1336

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

@sheltr_/agent

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

Summary

Malicious code in @sheltr_/agent (npm)

凭据/密钥窃取远程访问后门
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
37
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@sheltr_/agent1.0.2
npm@sheltr_/agent1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10469","published":"2026-07-13T18:25:10Z","modified":"2026-08-05T16:15:59.844621794Z","summary":"Malicious code in @sheltr_/agent (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0ecc4dcd6d76f100601f8b37a6b9c3aab899770ab361f2714f9193a2f8d0db78)\nWhen the package's bin entry is run, it spawns an interactive PTY shell using $SHELL with the user's full process environment and HOME as the working directory, then opens a WebSocket connection to a hardcoded server at sheltr-server.up.railway.app. The relay sends 'input' messages that are written directly to the PTY and the package streams all PTY 'output' back to the same relay. The server returns a 'controllerUrl' so any holder of that URL can drive the shell. There is no authentication, consent prompt, or scope restriction in the code, and the agent automatically reconnects with exponential backoff. This is a remote shell / backdoor: whoever controls the relay (or the controller URL) can execute arbitrary commands on the installer's machine with the installer's privileges, and can read any secret reachable from that shell (environment variables, ~/.ssh, ~/.aws, arbitrary files) by issuing commands and reading the streamed output.\n","affected":[{"package":{"name":"@sheltr_/agent","ecosystem":"npm"},"versions":["1.0.2","1.0.4"],"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":"dist/index.js","sha256":"21613ad183f86f5ae54a478051cc2ce90b7f6104bab588bb9010acb961ddbc4c","tlsh":"6841f00518f5043c90b7223a361fa06a3ab582113349eb56b38cf1316f8da78d7677cd"}],"package_integrity":[{"filename":"agent-1.0.2.tgz","hashes":{"sha1":"f6853bd66c05251b68f44b789f70f237d713505b","sha512_sri":"sha512-bvImfr5zGbZnwBUIQAHINC0UkMeB4Qh81EaLyMZyZ3lzIyfJwX0ZS+WqMOBtgIf2hwjisZjOmEXh0VOkEhUFCw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sheltr_/agent/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sheltr_/agent/v/1.0.4"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010286","import_time":"2026-07-13T19:00:27.101833868Z","modified_time":"2026-07-13T18:25:10Z","sha256":"0ecc4dcd6d76f100601f8b37a6b9c3aab899770ab361f2714f9193a2f8d0db78","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-015792","import_time":"2026-08-05T16:13:45.635759367Z","modified_time":"2026-08-05T15:40:59Z","sha256":"0b4f891b36e98e7f51d4cb30fa824ef3e98d95b2d02822fef0b8549e50c2e529","source":"amazon-inspector","versions":["1.0.4"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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