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

目标: 1000 元 · 已筹: 1359 元

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

imgdecode

MAL-2026-18196
2026-10-29 14:15:57
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in imgdecode (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
262
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npmimgdecode*
npmimgdecode1.0.0
npmimgdecode1.0.1
npmimgdecode1.0.2
npmimgdecode1.0.3
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18196","published":"2026-10-22T19:24:45Z","modified":"2026-10-29T14:15:57.206741869Z","aliases":["GHSA-hw69-vrvf-87h5"],"summary":"Malicious code in imgdecode (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8d35e9f4292a2c57b47ea07b9202c69623374c4c6afaa588ff849d213ffbbef2)\nimgdecode@1.0.2 presents itself as a native image buffer decoder but ships a 224-byte index.js whose only runtime effect on require is to load the sibling package 'imgbundle' and attempt to require./prebuilds/win32-x64/imgdecode.node, swallowing errors. The exported API is a single load() that returns null, which does not correspond to the README's advertised exec(cmd, args) interface. The bundled prebuilds/win32-x64/imgdecode.node is a 703 KB Windows PE containing a non-standard.fptable3 section and obfuscated Windows API name fragments (e.g. 'EXClos', 'E\\eHan', 'EPSlee' consistent with Close/Handle/Sleep under API-name hashing or XOR-stub packing) and no normal Node-API registration symbols — characteristics of packed/obfuscated native code, not a legitimate image-decoder addon. A.node file loaded via require executes native code in the host Node process immediately on module load, so any consumer that imports imgdecode on a win32-x64 host runs the packed binary, while all other platforms silently pull in and execute whatever code the imgbundle dependency contains. The combination of a facade JS stub, a README/API mismatch, a generic throwaway author identity, and a packed Windows PE delivered via require is a dependency-forwarder plus native-dropper shape rather than a working library.\n\n## Source: ghsa-malware (3c49d68e668c31b846588dba958146553f2f144a6778073dfeeffd14af78faf4)\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":"imgdecode","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.0","1.0.2","1.0.3"],"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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"49380d221c29ea49a9d0064718958ba1bbcc8b4ed34675b907152cf1d721bb8d","tlsh":"98213fe213f87224a17662d4886b4086749bc2122306d2a4f4ec8b813f92034cb63df6"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hw69-vrvf-87h5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/imgdecode/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/imgdecode/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/imgdecode/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/imgdecode/v/1.0.1"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-hw69-vrvf-87h5","import_time":"2026-10-22T20:25:48.910471642Z","modified_time":"2026-10-22T19:24:46Z","sha256":"3c49d68e668c31b846588dba958146553f2f144a6778073dfeeffd14af78faf4","source":"ghsa-malware","versions":["1.0.1"]},{"id":"GHSA-hw69-vrvf-87h5","import_time":"2026-10-22T21:24:04.303043661Z","modified_time":"2026-10-22T20:42:07Z","sha256":"5c497e24555a674695aaa44d1bd306819aa5251efaeb124dbd1053677ddab94e","source":"ghsa-malware","versions":["1.0.0","1.0.2","1.0.1"]},{"id":"GHSA-hw69-vrvf-87h5","import_time":"2026-10-23T00:57:46.505183468Z","modified_time":"2026-10-23T00:08:07Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"71220887f5fac059e03acb9fe206b6d19c3f8d2f4e99e99546069cdae171d3e0","source":"ghsa-malware","versions":["1.0.0","1.0.2","1.0.1"]},{"id":"IN-MAL-2026-021934","import_time":"2026-10-29T13:37:17.189054241Z","modified_time":"2026-10-29T13:26:59Z","sha256":"2c5eefceab716b4d4fb334a60f858918f37eb04c6806ddd980617d02bc10989d","source":"amazon-inspector","versions":["1.0.0"]},{"id":"IN-MAL-2026-021912","import_time":"2026-10-29T13:37:16.351503468Z","modified_time":"2026-10-29T13:24:18Z","sha256":"8d35e9f4292a2c57b47ea07b9202c69623374c4c6afaa588ff849d213ffbbef2","source":"amazon-inspector","versions":["1.0.2"]},{"id":"IN-MAL-2026-021941","import_time":"2026-10-29T13:37:17.414520997Z","modified_time":"2026-10-29T13:27:58Z","sha256":"a7487eb7f1ae8aed3f20deb74664ded284b714e71206bc88b4445e283797c5ca","source":"amazon-inspector","versions":["1.0.3"]},{"id":"IN-MAL-2026-022257","import_time":"2026-10-29T14:14:38.071027602Z","modified_time":"2026-10-29T14:09:26Z","sha256":"cec9a4f0d367a10af8441401091b0cd42fa52143f7bc10f438dff9793a0d69f0","source":"amazon-inspector","versions":["1.0.1"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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