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

目标: 1000 元 · 已筹: 1359 元

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

node-fsagent

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

Summary

Malicious code in node-fsagent (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
35
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmnode-fsagent*
npmnode-fsagent1.0.0
npmnode-fsagent1.0.4
npmnode-fsagent1.0.8
npmnode-fsagent1.1.1
npmnode-fsagent1.1.2
npmnode-fsagent1.1.3
npmnode-fsagent1.2.0
npmnode-fsagent1.2.1
npmnode-fsagent1.2.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T17:42:02Z","published":"2026-07-13T22:07:46Z","schema_version":"1.7.4","id":"MAL-2026-10506","aliases":["GHSA-qgvj-fw22-j5v6"],"summary":"Malicious code in node-fsagent (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (a3a0392a3ddea9b6099e8501fdb827f586a410323cecea214aa50fc1be42183b)\nThe package tarball ships archive-sender.js, which archives the host path /root/.codex, splits the tar into ~200MB chunks, reconstructs an npm registry _authToken at runtime by XOR-ing an embedded byte array against a key array, writes that token into the local npm config via `npm config set //registry.npmjs.org/:_authToken`, and then invokes `npm publish --access public` on each chunk as sequential versioned releases of the package name 'node-fsagent'. This uses the public npm registry as a covert data-exfiltration channel and simultaneously constitutes credential distribution: the embedded token grants publish rights to the token owner's npm account and would allow republishing over the 'node-fsagent' name (and any other packages owned by that account). The declared main entry (index.js) is a single newline and no lifecycle scripts are declared in package.json, so archive-sender.js does not auto-execute on `npm install` or on `require('node-fsagent')`; the malicious behavior fires only when the script is invoked directly. The package advertises no legitimate functionality (empty main, no documented API), and the shipped script's only purpose is host-path archival and registry-token-driven upload.\n\n## Source: ghsa-malware (f92683bc191915cf41dfbd19408918115b320288317469de7b00014e4c3fec34)\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-fsagent"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.1.3","1.2.2","1.0.4","1.1.2","1.1.1","1.2.0","1.0.0","1.0.8","1.2.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"},{"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"archive-sender.js","sha256":"0dd2b171d69ecb06f1b6f8bb83bebf81f4ee148c5904200ca926494c10aaf159","tlsh":"52e1f8422bf622705b73f884d743a4025373f1533852eaa0f1ed83966f8345cdab6ad9"},{"path":"package.json","sha256":"2ad876b0e4e6089852eafe1e8407a2e3841cdad589c4ad86cbaf02a0c33e3ca5","tlsh":"3db012004b10903f23c1ab713d55804866300a0c2108ed0c94d6b62cc29dbb805b1231"}],"package_integrity":[{"filename":"node-fsagent-1.1.3.tgz","hashes":{"sha1":"85405a9ccfd74c749bf013e4a6dd76e448909705","sha512_sri":"sha512-0SnzN65vZzk1JQCatL6iT2zICakBNodEo6E3D8JgPqrVWC49NB2dRi4TRwKpC8sACFqXz8y/7mE2KS+KNsw9RA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.2.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.2.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.0.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/node-fsagent/v/1.2.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qgvj-fw22-j5v6"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","sha256":"030e15140ce9d44ab30d34ee0b898cd4b3c2b7637850490639d8d1e7a7396919","import_time":"2026-07-13T22:21:56.665832176Z","id":"IN-MAL-2026-010337","modified_time":"2026-07-13T22:07:46Z","versions":["1.1.3"]},{"source":"amazon-inspector","sha256":"9201fba890b26d30ee9e51fc43503f60fab2091b917d376e286382fec0bf1c1c","import_time":"2026-07-13T22:21:56.960188422Z","id":"IN-MAL-2026-010340","modified_time":"2026-07-13T22:08:15Z","versions":["1.2.2"]},{"source":"amazon-inspector","sha256":"a3a0392a3ddea9b6099e8501fdb827f586a410323cecea214aa50fc1be42183b","import_time":"2026-07-13T22:21:57.353771435Z","id":"IN-MAL-2026-010345","modified_time":"2026-07-13T22:09:02Z","versions":["1.0.4"]},{"source":"amazon-inspector","sha256":"b5708dcc387ff7b10c3c6bf7afec4204708f87b93f4c10f13ee688814d80c9ab","import_time":"2026-07-13T22:21:57.17903551Z","id":"IN-MAL-2026-010343","modified_time":"2026-07-13T22:08:46Z","versions":["1.1.2"]},{"source":"amazon-inspector","sha256":"d64888d6a840f1631b3c97a94fc3c21a51f7c37beef04142271043c297a882b9","import_time":"2026-07-13T22:21:57.125697248Z","id":"IN-MAL-2026-010342","modified_time":"2026-07-13T22:08:36Z","versions":["1.1.1"]},{"source":"amazon-inspector","sha256":"ed7a135c4f20a2fef0502e90ed551edf9be99b1c6c0e9c73ade1f43c77eaac59","import_time":"2026-07-13T22:21:56.780225206Z","id":"IN-MAL-2026-010338","modified_time":"2026-07-13T22:07:55Z","versions":["1.2.0"]},{"source":"amazon-inspector","sha256":"2537f639ea4c70f4d702e208907ad91d61b3fe1aaf8806ac326bfa815a354fc6","import_time":"2026-07-13T22:21:57.26683473Z","id":"IN-MAL-2026-010344","modified_time":"2026-07-13T22:08:53Z","versions":["1.0.0"]},{"source":"amazon-inspector","sha256":"350fdc83dbc6c2368721c87a049da36a942f61c5b26ccec6af852a89fb2c7872","import_time":"2026-07-13T22:21:57.009839061Z","id":"IN-MAL-2026-010341","modified_time":"2026-07-13T22:08:24Z","versions":["1.0.8"]},{"source":"amazon-inspector","sha256":"58decbeb5d7f55bb5d193f4f534445b66532b6642f0740652fb83bbc49759eda","import_time":"2026-07-13T22:21:56.881048852Z","id":"IN-MAL-2026-010339","modified_time":"2026-07-13T22:08:02Z","versions":["1.2.1"]},{"source":"ghsa-malware","sha256":"f92683bc191915cf41dfbd19408918115b320288317469de7b00014e4c3fec34","import_time":"2026-07-14T17:40:05.486748974Z","id":"GHSA-qgvj-fw22-j5v6","modified_time":"2026-07-14T17:28:27Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]}}

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