MAL-2025-47594
Dashboard / Malicious Package / MAL-2025-47594
MAL-2025-47594
Summary: Malicious code in paypal-postman-lib (npm)
Details: The package communicates with a domain associated with malicious activity. Source: amazon-inspector (c2b733a611e3d27e56f4c6ee549bbcf3d88a1c823512c13797440c4c13f2712c) The package's index.js imports os, fs, and https at the top level and reads os.hostname() and os.userInfo() before sending the collected host identity over an outbound HTTPS request. The package name impersonates PayPal/Postman branding while shipping no legitimate library functionality, and the only observable behavior is collection and transmission of installer host data. Installing or requiring this package causes the installer's hostname and OS user identity to be sent to a third-party endpoint. Source: ghsa-malware (d1aef7d24ee6f2a862da9b261ae8d267bfcd3e277adfe6d09edb31b7c7b18570) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://www.npmjs.com/package/paypal-postman-lib/v/1.0.1, https://github.com/advisories/GHSA-96v6-4928-255v, https://www.npmjs.com/package/paypal-postman-lib/v/1.0.2
Affected packages
Package
Name: paypal-postman-lib
Purl: pkg:npm/paypal-postman-lib
Affected ranges
Type: SEMVER
Events:
