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

目标: 1000 元 · 已筹: 1359 元

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

matrixkit-js

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

Summary

Malicious code in matrixkit-js (npm)

文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archived——VIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmmatrixkit-js1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-09-09T17:58:22Z","published":"2026-09-09T17:58:22Z","schema_version":"1.7.4","id":"MAL-2026-16095","summary":"Malicious code in matrixkit-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (51238ce279c2ff37d32c5edd8a9cb480f1a304720cb67e5acf3ee50e91c773c4)\nThe package advertises itself as a dense-matrix math library but its main entry matrix.js has been modified post-build to require('./src/init') and invoke initMatrix(...) at module load. src/init.js is an obfuscated single-line string-array loader (112-entry rotated array with numeric-index decoder) that uses crypto (aes-256-gcm, scryptSync, createDecipheriv, setAuthTag), fs, path, and zlib to AES-256-GCM-decrypt a base64-encoded on-disk filename, write the decrypted module to a.tmp file, require() it, and invoke its export with a runtime-supplied password. The sibling files src/statMatrix.min.d.js (~1.15MB base64 decoding to ~862KB of high-entropy bytes), src/statMatrix.min.js (~24KB), and src/utilMatrix.min.d.js (~12KB) are single-string base64 blobs decoding to opaque AES-GCM ciphertext — not JavaScript and absent from matrix.js.map, which lists only the clean rollup output. The loader lines are also absent from the source map, confirming they were injected after the legitimate build. On require()ing the package, the encrypted payload is decrypted and executed as opaque author-controlled code.\n","affected":[{"package":{"ecosystem":"npm","name":"matrixkit-js"},"versions":["1.0.0"],"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":"src/init.js","sha256":"28aaee4c7f07ad3ff3f2e66590a73ea42ae56f71b40d69092b65d2fdd8941bcc","tlsh":"0a51d7cd2fcc573187c950ce6599281bd1acdc91916a0b41c3de8acb7054bc02057bf8"},{"path":"src/statMatrix.min.d.js","sha256":"5a8e335ebbb528d7f90696a156ab187ecf5f6117a7efa4558efa16637b9b1e4d","tlsh":"423533006f9fec34212ce225304e2a5f16872fd1a062d2d66ae857da095ffc1a6ffd15"}],"package_integrity":[{"filename":"matrixkit-js-1.0.0.tgz","hashes":{"sha1":"2b29c7ecc72364d5e53d2bd8de537b983eb25605","sha512_sri":"sha512-dA7jbRmkIwf8oMCN/vVM4/i3abvhB7SpCmGzp6Ay93zxcGw+2Z9lK+Yjjr44NsVDngCXFqxfS2bwvqB80O86yw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/matrixkit-js/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019869","import_time":"2026-09-09T18:22:53.566882204Z","modified_time":"2026-09-09T17:58:22Z","sha256":"51238ce279c2ff37d32c5edd8a9cb480f1a304720cb67e5acf3ee50e91c773c4","source":"amazon-inspector","versions":["1.0.0"]}]}}

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