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

目标: 1000 元 · 已筹: 1359 元

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

node-sysmetrics

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

Summary

Malicious code in node-sysmetrics (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnode-sysmetrics1.0.0
npmnode-sysmetrics1.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-13T04:45:05Z","published":"2026-07-13T00:47:59Z","schema_version":"1.7.4","id":"MAL-2026-10216","aliases":["GHSA-w2wx-f2m6-332m"],"summary":"Malicious code in node-sysmetrics (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e624a951ebd9352b2b8d47bf80d418a01674640ec2d2b2592f00bb446f110c68)\nOn npm install, install.js executes as a postinstall script and drops a detached background Node process at /tmp/.sysm-agent.js that persists after installation. The agent enters an infinite polling loop against registry.npmjs.org, reading the package's own dist-tags for base64-encoded commands, decoding them, and executing them via `bash -c` on the installer's host. Command output is then base64-encoded and exfiltrated by publishing throwaway public npm packages containing the encoded output in the `description` field, using a hardcoded npm auth token embedded in install.js. The same token is written into the installer's global npm config at ~/.npmrc via `npm config set //registry.npmjs.org/:_authToken`, hijacking the installer's package manager credentials. Base64 encoding is used on both the inbound command channel and the outbound result channel to evade casual inspection of registry metadata.\n\n## Source: ghsa-malware (00b72eed54e4dba21b0eb58a9b9f0fe238ee5b3cc90a04c031e539d4a69050ea)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n","affected":[{"package":{"ecosystem":"npm","name":"node-sysmetrics"},"versions":["1.0.0","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"},{"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":"install.js","sha256":"6191c97bcf10474fa48db2f48266446c699882593cd87ca1ad50894ada187592","tlsh":"211172d2ba88d769ea8c04f860642c2fb68fb209921b4c70ecda44b21fcb07146320b1"}],"package_integrity":[{"filename":"node-sysmetrics-1.0.0.tgz","hashes":{"sha1":"4d9a800d1fbdede31aa0ef9efd2b73eca15ee0d0","sha512_sri":"sha512-WvBju8X85kA/3oSubclGRSwfumt9Py7s6N6hCIE7OdiXwPjfHLnDzVMMzkV9ymKhZTOA6KpZayOShG/G3W8TSA=="}}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w2wx-f2m6-332m"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-sysmetrics/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-sysmetrics/v/1.0.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"00b72eed54e4dba21b0eb58a9b9f0fe238ee5b3cc90a04c031e539d4a69050ea","import_time":"2026-07-13T00:57:01.671947304Z","id":"GHSA-w2wx-f2m6-332m","modified_time":"2026-07-13T00:47:59Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"25414e99686f31b6344740f4d65d66fef96777b641d2ae1d46171f9a2835ce27","import_time":"2026-07-13T04:43:12.32392112Z","id":"IN-MAL-2026-009787","modified_time":"2026-07-13T04:13:08Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"e624a951ebd9352b2b8d47bf80d418a01674640ec2d2b2592f00bb446f110c68","import_time":"2026-07-13T04:43:12.226933969Z","id":"IN-MAL-2026-009786","modified_time":"2026-07-13T04:12:59Z","versions":["1.0.1"]}]}}

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