Malicious code in @ppa-web-components/ppa-builder (npm)
Description
Source: amazon-inspector (cc4615498b50aa4b5f39a8367c44e6a18d4a7272ae71235716a152b2933d5ddd)
The package is described as a 'Compatibility shim' and ships a stub Proxy-based main plus beacon.cjs. The package.json declares scripts.postinstall: 'node beacon.cjs', and the main entry also invokes the same fire() routine on require. On both triggers, beacon.cjs collects installer identifiers — os.hostname(), __dirname (install path), process.cwd(), process.version, and the package name — and POSTs them in cleartext to the hardcoded bare-IP endpoint 185.158.107.175/
---
Affected versions
References
GitHub · ossf/malicious-packages
npmjs.com
- package/@ppa-web-components/ppa-builder/v/0.0.1
- package/@ppa-web-components/ppa-builder/v/1.0.0
- package/@ppa-web-components/ppa-builder/v/1.0.1
- package/@ppa-web-components/ppa-builder/v/2.0.1
- package/@ppa-web-components/ppa-builder/v/3.0.0
- package/@ppa-web-components/ppa-builder/v/99.0.1
- package/@ppa-web-components/ppa-builder