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

目标: 1000 元 · 已筹: 1336

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

magika-js

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

Summary

Malicious code in magika-js (npm)

安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
145
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmmagika-js4.1.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-19T03:56:20Z","published":"2026-08-19T03:56:20Z","schema_version":"1.7.4","id":"MAL-2026-14247","summary":"Malicious code in magika-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (41cd28e41bc842fd046a2bff254f450edd0b6d2d15d961fe768cf5e9ebfa197f)\nmagika-js is a typosquat of Google's magika library. The postinstall lifecycle script collects installer host identifiers (hostname, platform, arch, node version, package name, npm lifecycle event, timestamp) and POSTs them as JSON to the hardcoded endpoint https://ucjtw03t.instances.poc.jchunt.top/magika-js. The beacon fires automatically on npm install with no opt-in and no documented purpose served by the transmission, sending installer machine data to a non-publisher domain. A source.txt pointer to github.com/google/magika reinforces the impersonation of Google's project.\n","affected":[{"package":{"ecosystem":"npm","name":"magika-js"},"versions":["4.1.1"],"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":"postinstall.js","sha256":"2195c3150cd65f4c27a4e9c5ec774d81bc7e93c3b98f06e4d04104ecbfeb1f91","tlsh":"550123c0d2bd9f321bf4578060d1a90682bbd2637b0a607a67c802353fcd5f9007319d"},{"path":"source.txt","sha256":"88db4caf996b491b0b2a4cc64942f7116fe51ef054d84c861b6568e3de350dc9","tlsh":"05a022ffb00882a00e202e8e38c8820c83200220f8a3c3eee0220002b00008208c3aa2"}],"package_integrity":[{"filename":"magika-js-4.1.1.tgz","hashes":{"sha1":"cee49483791181522cb29b7ecb75337ac569c118","sha512_sri":"sha512-eIBrJYZfvwetcFyW1fKyCDwzf9jRB2wpX9iH8X7jhZM9EihxEWRwesyQ6TBVvEi/40HPCZ2SXtJxOwsibRBRMw=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/magika-js/v/4.1.1"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018345","import_time":"2026-08-19T04:18:13.687035721Z","modified_time":"2026-08-19T03:56:20Z","sha256":"41cd28e41bc842fd046a2bff254f450edd0b6d2d15d961fe768cf5e9ebfa197f","source":"amazon-inspector","versions":["4.1.1"]}]}}

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