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

目标: 1000 元 · 已筹: 1359 元

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

authmatrix

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

Summary

Malicious code in authmatrix (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
2
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmauthmatrix*
npmauthmatrix1.0.30
npmauthmatrix1.1.7
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-09T17:21:20Z","published":"2026-06-29T14:00:15Z","schema_version":"1.7.4","id":"MAL-2026-6656","aliases":["GHSA-qr38-fjw7-r54v"],"summary":"Malicious code in authmatrix (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (58eb7642f8d7e2fb2e898277c6961d2538f40766777a679020f4872b29925806)\nThe package is published as 'authmatrix' with a description suggesting basic auth functionality, but its lib/ tree is a copy of the pino logger and its entry point auth.js requires lib/writer.js. At module top level, writer.js attempts require('ssr-auth-sync') and, on failure, shells out via execSync to run `npm install ssr-auth-sync` and then requires the just-installed module from a relative path. ssr-auth-sync is not declared in the package's dependencies, so any consumer that imports authmatrix triggers an unattended install and immediate execution of code from a third-party package name the installer never opted into. writer.js additionally hides its failure-path string by assembling it via String.fromCharCode concatenation rather than a literal, a low-grade evasion that co-occurs with the dropper path. The misleading auth-themed identity over a copy of pino, combined with the require-time fetch+execute of an undeclared external package, is a supply-chain dropper pattern.\n\n## Source: ghsa-malware (a0498739156193df4fef53d5fffe9f44f8ebc36c95d31af384a5a287e891947a)\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":"authmatrix"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.30","1.1.7"],"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":"lib/writer.js","sha256":"80ee4b4f7010bf6359a06b2e1d50131b88fba730634057f4a299adbb1ef4ff55","tlsh":"7631aee78245a278f3716bb20e1f64c0b186d12521507dd83efc44c667eb4e04e99fda"},{"path":"package.json","sha256":"0c64921c0191518983490315bfd6f7cdb08a019cf6c15307cdc6ecd5d51f01b8","tlsh":"0b017840cd288e6308dc26928c794253ab609c0b5828fd2d33c7b32c0f9d47f1abe22c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qr38-fjw7-r54v"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/authmatrix/v/1.0.30"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/authmatrix/v/1.1.7"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"a0498739156193df4fef53d5fffe9f44f8ebc36c95d31af384a5a287e891947a","import_time":"2026-06-29T17:14:01.303810571Z","id":"GHSA-qr38-fjw7-r54v","modified_time":"2026-06-29T14:00:16Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"58eb7642f8d7e2fb2e898277c6961d2538f40766777a679020f4872b29925806","import_time":"2026-07-09T17:19:27.833036617Z","id":"IN-MAL-2026-009351","modified_time":"2026-07-09T16:59:42Z","versions":["1.0.30"]},{"source":"amazon-inspector","sha256":"f1f915fc040e277f4ced960b00be2ff0cef2175d635caece97050876d0754732","import_time":"2026-07-09T17:19:28.288891383Z","id":"IN-MAL-2026-009355","modified_time":"2026-07-09T17:00:16Z","versions":["1.1.7"]}]}}

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