Malicious code in @ppa-web-components/ppa-hotel-collection (npm)
MAL-2026-18275
Published · Modified
Dependency scanning
Check whether @ppa-web-components/ppa-hotel-collection is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (e442008a433c1edbe8fb25f9b47dd3123f5664672c3901167fc9d3add8a6bd6e)
@ppa-web-components/ppa-hotel-collection@1.1.0 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.
References
- PACKAGE https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/99.0.1
- PACKAGE https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/1.1.0
- PACKAGE https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/3.0.0
- PACKAGE https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/1.0.0
- PACKAGE https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/2.0.1
Ready to move
Start Securing
Free, no credit card | First findings in minutes