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

目标: 1000 元 · 已筹: 1359 元

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

hehehe

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

Summary

Malicious code in hehehe (npm)

凭据/密钥窃取文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
9
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmhehehe2.0.1
npmhehehe2.0.2
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-10732","published":"2026-07-16T18:41:40Z","modified":"2026-08-05T06:02:54.183180065Z","aliases":["GHSA-f5qh-v92x-xcxj"],"summary":"Malicious code in hehehe (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (588dd776720f805d7d84a58c93ffcd21ed860e3fc21a48787d732eb6180b974d)\nPackage is published as an 'enterprise Windows Diagnostic Utility' but is an anti-proctoring cheating tool that also steals the installer's browser session cookies. main.js invokes a bundled PowerShell routine that opens Chrome, Edge, and Brave 'Local State' files, decrypts the DPAPI-wrapped AES-256-GCM key, and reads each browser's Cookies SQLite database to extract cookies for.openai.com,.chatgpt.com, auth.openai.com, and auth0.openai.com; the decrypted cookies are then injected into the tool's own Electron session to hijack the installer's ChatGPT login. The bin launcher copies electron.exe to 'SearchFilterHost.exe' inside electron/dist to masquerade as a signed Windows Search subsystem process, spawns a detached background watchdog that respawns with random jitter when killed, and uses SetWindowDisplayAffinity WDA_EXCLUDEFROMCAPTURE plus a '--seb-child' Safe Exam Browser migration path to evade Testpad/AMCAT/SEB proctoring. Ships an undocumented 27MB Windows PE binary bin/uia_extract.exe that main.js executes via `python \"${pyPath}\" || \"${exePath}\"` with no hash or signature verification. SECTION_PROMPTS constants for AMCAT sections (GEN/DEB/APT/PRG) and a 'FINAL ANSWER:' extraction contract confirm the cheating-tool payload behind the diagnostic cover story.\n\n## Source: ghsa-malware (7cca0ef30f44c71214488c1f778ef620d4d4fdf090fac4bcdebd5b95b99bf037)\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":{"name":"hehehe","ecosystem":"npm"},"versions":["2.0.2","2.0.1"],"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":"bin/chrome_cookies.ps1","sha256":"21b61ec810331850d72423c40c5448e6cd310c4cfad6aed54f92cd7e7cac5f3a","tlsh":"1c3264a67812514c10f15f39e9f698a8f91e9027d1e60918fddcc4e01f7046adef8f69"},{"path":"main.js","sha256":"a07ff5dad4541b04e5d28ec65676f9f4cc06d045648497c01b195687e9e25012","tlsh":"ab73e6596021113184336f768b3b6d16f7369627e501a354beac83c92fb5418ceb2fee"},{"path":"bin/kalamasha-tool.js","sha256":"f2873ba24da38c8f82baed1dd2c3d1a8ebd9538e6591e6a8def263ec2ce6c79c","tlsh":"73f15249a266133459b15fea5b331c0adb2bd123d5455384b89c83ca3f3642ccda6eee"},{"path":"bin/uia_extract.exe","sha256":"e2ae53c70b7f10748301f06d8c741a0f50e70081f5b0439124aa74de8a255fec","tlsh":"b95733b53ad598baf797e23dc923d598b32b34528332c95f07d488437ca75608e38267"}],"package_integrity":[{"filename":"hehehe-2.0.2.tgz","hashes":{"sha1":"225084431b091c8ffa23dddcb47bf8c26434ac66","sha512_sri":"sha512-8O1T+OMnPWXF1wgJMWVHEon/+q3SWUBCtvviLuuPEy8oU0sePSeNuik9moOkxqDXvF8bXAsjVFwAlSOZqXnfDg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/hehehe/v/2.0.2"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f5qh-v92x-xcxj"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/hehehe/v/2.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-010748","import_time":"2026-07-16T18:54:02.533524121Z","modified_time":"2026-07-16T18:41:40Z","sha256":"588dd776720f805d7d84a58c93ffcd21ed860e3fc21a48787d732eb6180b974d","source":"amazon-inspector","versions":["2.0.2"]},{"id":"GHSA-f5qh-v92x-xcxj","import_time":"2026-07-17T00:53:46.805263452Z","modified_time":"2026-07-16T23:36:50Z","sha256":"7cca0ef30f44c71214488c1f778ef620d4d4fdf090fac4bcdebd5b95b99bf037","source":"ghsa-malware","versions":["2.0.2","2.0.1"]},{"id":"IN-MAL-2026-013108","import_time":"2026-08-05T06:00:42.511849487Z","modified_time":"2026-08-05T05:35:05Z","sha256":"bf509768566f946434cbdfaecb669ab6278229b8e9dabffee040cac63501ed3b","source":"amazon-inspector","versions":["2.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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