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

目标: 1000 元 · 已筹: 1359 元

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

@ecg-internal/media-util-js-lib

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

Summary

Malicious code in @ecg-internal/media-util-js-lib (npm)

凭据/密钥窃取安装阶段执行
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
—
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@ecg-internal/media-util-js-lib*
npm@ecg-internal/media-util-js-lib0.0.1
npm@ecg-internal/media-util-js-lib1.0.1
npm@ecg-internal/media-util-js-lib1.1.0
npm@ecg-internal/media-util-js-lib2.0.0
npm@ecg-internal/media-util-js-lib2.0.1
npm@ecg-internal/media-util-js-lib3.0.0
npm@ecg-internal/media-util-js-lib99.0.1
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-18210","published":"2026-10-23T02:00:22Z","modified":"2026-10-23T02:38:05.483232134Z","aliases":["GHSA-hcw5-m6mm-qg3q"],"summary":"Malicious code in @ecg-internal/media-util-js-lib (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c716438d9014063b4616588b1522ba2de2f3cf4fd961212840ed6a324cced3da)\nThe package publishes to the public npm registry under the scoped name `@ecg-internal/media-util-js-lib`, which resembles an internal namespace. It ships no real functionality — the main entry exports a Proxy stub returning no-ops for every property, described as a 'Compatibility shim.' Both `package.json` `postinstall` (`node beacon.cjs`) and the main module invoke `fire()` in `beacon.cjs`, which POSTs the installer's hostname (`os.hostname()`), install path (`__dirname`), current working directory (`process.cwd()`), Node version, and package name to the hardcoded bare-IP endpoint `http://185.158.107.175:8787/_ah/dc` over cleartext HTTP. The beacon fires on `npm install` without user action and again whenever the module is required, so any internal build system misconfigured to resolve this public artifact for an `@ecg-internal/*` dependency transmits identifying host and path information to the attacker-controlled endpoint. The 'build-provenance beacon' comment in the source is a cover story inconsistent with the hardcoded bare-IP destination unrelated to any legitimate publisher infrastructure.\n\n## Source: ghsa-malware (32be042c37e2c4ebd8edb68e47d68af04056c09e3c1d5e087f78c934f0d567e7)\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":"@ecg-internal/media-util-js-lib","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.1","99.0.1","2.0.0","3.0.0","1.0.1","1.1.0","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"},{"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":"beacon.cjs","sha256":"4dbf671479480d62cf9e111bb251e60db9b017dd8e863fde12bd987fc155f5de","tlsh":"c23161eba8e1a048aaa77098d54f1409b17af4078401ab54fd5c82919f7253c33fa8dc"},{"path":"index.js","sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d","tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"}],"package_integrity":[{"filename":"media-util-js-lib-0.0.1.tgz","hashes":{"sha1":"fe03c0b6ad79f7c20c77cb1f9bcd6a0cae03b83a","sha512_sri":"sha512-D2KKZw4ku9ddsxh3HnGaZ5CiS6kzDMh5u3kNMr8lJ0igJbV+SWSqNalR4JG4LCGFrbizBKs+YtEafZqtkPJTWQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/2.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ecg-internal/media-util-js-lib/v/2.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hcw5-m6mm-qg3q"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021607","import_time":"2026-10-23T02:25:39.213390799Z","modified_time":"2026-10-23T02:01:06Z","sha256":"18fcf22b1f643593747aee2e705b59e2a0509e8c00d5692c8a2721b685f3d569","source":"amazon-inspector","versions":["0.0.1"]},{"id":"IN-MAL-2026-021601","import_time":"2026-10-23T02:25:38.84079903Z","modified_time":"2026-10-23T02:00:22Z","sha256":"89468c82dc4aa9cc0a32828ee9cbec7cddb118c3ddd8185dd45d25f7915d016e","source":"amazon-inspector","versions":["99.0.1"]},{"id":"IN-MAL-2026-021605","import_time":"2026-10-23T02:25:39.115138678Z","modified_time":"2026-10-23T02:00:52Z","sha256":"c716438d9014063b4616588b1522ba2de2f3cf4fd961212840ed6a324cced3da","source":"amazon-inspector","versions":["2.0.0"]},{"id":"IN-MAL-2026-021604","import_time":"2026-10-23T02:25:39.055532378Z","modified_time":"2026-10-23T02:00:44Z","sha256":"cb782fe576ae269801411c40a70696cf3cd314a4ca940e258bc69e006e1953bd","source":"amazon-inspector","versions":["3.0.0"]},{"id":"IN-MAL-2026-021606","import_time":"2026-10-23T02:25:39.163652495Z","modified_time":"2026-10-23T02:00:58Z","sha256":"d1dc5d4855766199fabef267b532986d5dc693400d916367db1a4e6b75fe2b57","source":"amazon-inspector","versions":["1.0.1"]},{"id":"IN-MAL-2026-021602","import_time":"2026-10-23T02:25:38.937651021Z","modified_time":"2026-10-23T02:00:29Z","sha256":"31c3d10db00852004f1d974431a3db46f260a3108029a5301fc755cfbc724ba6","source":"amazon-inspector","versions":["1.1.0"]},{"id":"IN-MAL-2026-021603","import_time":"2026-10-23T02:25:38.992337187Z","modified_time":"2026-10-23T02:00:37Z","sha256":"4906fee80eaa4e3bebfa976f85116d980ae908c5dff786d0dd2486b308ecd9a0","source":"amazon-inspector","versions":["2.0.1"]},{"id":"GHSA-hcw5-m6mm-qg3q","import_time":"2026-10-23T02:36:25.380412082Z","modified_time":"2026-10-23T02:05:20Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"32be042c37e2c4ebd8edb68e47d68af04056c09e3c1d5e087f78c934f0d567e7","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

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