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

目标: 1000 元 · 已筹: 1336

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

mham-js

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

Summary

Malicious code in mham-js (npm)

AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
0
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.4archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmmham-js1.0.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-08-25T07:09:24Z","published":"2026-08-25T07:09:24Z","schema_version":"1.7.4","id":"MAL-2026-14478","summary":"Malicious code in mham-js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f0dc3c71ee333b190e3e7202f7a222b4fe242fd50974cda9ec122b4200bd5f4f)\nOn import of mham-js, src/api/session-api.js runs top-level code that reads a file outside the package tree at../../../../public/logo.ico, decrypts its contents with CryptoJS.DES using the hardcoded password 'bf497c0b9cee', then spawns a detached node subprocess and pipes the decrypted bytes to its stdin for execution. The loader is disguised with cover-story names ('readLogoIco', 'rsa_exec', 'ThetaSDK initialization error'), and the README states the package does nothing on import, contradicting the actual behavior. The executed payload is stored encrypted outside the tarball, is not verified or documented, and consists of opaque attacker-controlled bytes handed directly to the Node interpreter as arbitrary code.\n","affected":[{"package":{"ecosystem":"npm","name":"mham-js"},"versions":["1.0.4"],"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/api/session-api.js","sha256":"506388a1987e85f27591742a70b35b4ce54a8c5d3db48fb53e16a6807f1cdb1b","tlsh":"d4c1f15c2c03e12757f0e3bd4e32c454eb735a913b119aa1faac77a12f994d06532ed8"}],"package_integrity":[{"filename":"mham-js-1.0.4.tgz","hashes":{"sha1":"e91e496d6229888114e1ba16934b4e07ff157de0","sha512_sri":"sha512-EALjil3V+7TwFuqA4ARxoGZMmO6bITpWTmI2xS8ss6MQg5Po/i7LeuotauHTeNOYr4xJL8kzjPWaVL+3tjd2bA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mham-js/v/1.0.4"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018695","import_time":"2026-08-25T07:23:45.771686671Z","modified_time":"2026-08-25T07:09:24Z","sha256":"f0dc3c71ee333b190e3e7202f7a222b4fe242fd50974cda9ec122b4200bd5f4f","source":"amazon-inspector","versions":["1.0.4"]}]}}

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