@ecg-internal/media-util-js-lib@2.0.0
Compatibility shim.
OpenSSF/OSV Malicious Advisory
imported 43m ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-18210 confirms this npm version as malicious.
Advisory
MAL-2026-18210
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in @ecg-internal/media-util-js-lib (npm)
Details
The 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.
Source & flagged code
0 flagged · loading sourceNo flagged code excerpts are attached to this scan.
Findings
1 High
HighOsv Malicious Advisory
Affected versions and remediation
This report applies to @ecg-internal/media-util-js-lib@2.0.0.
The same advisory and Firewall decision cover 6 recorded versions
0.0.1, 1.0.1, 1.1.0, 2.0.0, 2.0.1, 3.0.0
See all versions of @ecg-internal/media-util-js-lib for other recorded verdicts.
- Avoid installing @ecg-internal/media-util-js-lib@2.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
This report uses published external intelligence. The advisory does not provide a separate source-code analysis for each listed version.
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.