Skip to main content
Menu
Advisories

Malicious code in bytepack-probe-a7x3 (npm)

GHSA-PJJJ-2389-RWJ6Published Updated GitHubMalware

Description

Source: amazon-inspector (1f158536e9d84e6cee18e2a3ce84869e34f1564ec18a1313a9e8c03b304e3d70)

package.json declares a dependency leak-internal whose source is the HTTPS tarball URL src-ssrf.bytedance.net/ssrf/probe.tgz rather than a registry version range. On npm install, npm fetches and installs whatever bytes that URL currently returns, executing any lifecycle scripts contained in the fetched tarball. There is no version pin, no integrity hash, and no signature check, so the code executed on the installer's machine is whatever the operator of that host serves at the moment of install. The hostname suggests an SSRF-probe artifact hosted on an internal-looking domain, and the dependency name leak-internal together with the path segment ssrf/probe.tgz indicates the fetched payload is intended to run probing behavior inside the installer's network.

---

Credit: OpenSSF (source)

Affected versions

References