Skip to main content
Menu
Advisories

Malicious code in @drone-js-ext/vip-badge (npm)

GHSA-G6H7-W896-4P29Published Updated GitHubMalware

Description

Source: amazon-inspector (2f7afa65da63d3360d15659ebdcce5f5078fa7bd210e04c069f88834f0c1f75c)

The package is a zero-functionality stub whose main module (index.js) exports a Proxy returning no-op functions for any property access. Its only real behavior is a beacon implemented in beacon.cjs that collects installer host identifiers (os.hostname(), __dirname, process.cwd(), process.version, and related os/process fields) and POSTs them over plain HTTP to the hardcoded bare-IP endpoint 185.158.107.175/_ah/dc. The beacon fires both from the postinstall lifecycle script (triggered automatically by npm install) and at require() time of the main entry. The destination is not a publisher-owned domain, is not configurable, and is not disclosed. The scoped name, implausibly high version (99.0.1), stub implementation, and install-time recon beacon are consistent with a dependency-confusion or typosquat probe harvesting internal installs.

---

Credit: OpenSSF (source)

Affected versions

References