VYPR

npm · Malicious package advisory

Malware

@ppa-web-components/ppa-hotel-collection

GHSA-g7m6-g9fm-57wh

Malicious code in @ppa-web-components/ppa-hotel-collection (npm)

Details

**Severity:** Critical

**Affected versions:** `= 99.0.1`

## Source: amazon-inspector (e442008a433c1edbe8fb25f9b47dd3123f5664672c3901167fc9d3add8a6bd6e)
@ppa-web-components/[email protected] is a stub package whose only functional code is a callback beacon. The package.json declares scripts.postinstall: "node beacon.cjs", and the same beacon.cjs is also triggered via the main entry on require(). beacon.cjs collects os.hostname(), __dirname, process.cwd(), and process.version/npm version and POSTs them to the hardcoded bare-IP URL http://185.158.107.175:8787/_ah/dc over cleartext HTTP. The destination is unrelated to any legitimate publisher infrastructure for the @ppa-web-components scope. The package's only export is a no-op Proxy, and the description self-labels as "Compatibility shim." with internal comments noting that a build which "completes and calls back is cleaner evidence" — consistent with a dependency-confusion probe targeting an internal @ppa-web-components namespace. Installing or requiring the package automatically exfiltrates host and path identifiers to attacker-controlled infrastructure, marking the installer's build system as reachable for follow-on targeting.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/f1b566fc7d6dea647e412d6b49df4b5bdc839554/osv/malicious/npm/@ppa-web-components/ppa-hotel-collection/MAL-2026-18275.json))

**References:**
- https://github.com/ossf/malicious-packages/blob/f1b566fc7d6dea647e412d6b49df4b5bdc839554/osv/malicious/npm/@ppa-web-components/ppa-hotel-collection/MAL-2026-18275.json
- https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/1.0.0
- https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/1.1.0
- https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/2.0.1
- https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/3.0.0
- https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/99.0.1
- https://github.com/ossf/malicious-packages/blob/38576efe4884e97a0598f23da7c6da0343b22df4/osv/malicious/npm/@ppa-web-components/ppa-hotel-collection/MAL-2026-18275.json
- https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection

Compromised versions (1)

  • = 99.0.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.