{"id":"MAL-2025-47594","summary":"Malicious code in paypal-postman-lib (npm)","details":"The package communicates with a domain associated with malicious activity.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c2b733a611e3d27e56f4c6ee549bbcf3d88a1c823512c13797440c4c13f2712c)\nThe 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.\n\n## Source: ghsa-malware (d1aef7d24ee6f2a862da9b261ae8d267bfcd3e277adfe6d09edb31b7c7b18570)\nAny 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.\n","aliases":["GHSA-96v6-4928-255v"],"modified":"2026-09-09T03:30:13.394570763Z","published":"2025-09-23T18:23:25Z","database_specific":{"malicious-packages-origins":[{"id":"RLMA-2025-05480","import_time":"2025-10-27T18:09:04.272886904Z","modified_time":"2025-10-23T19:42:00Z","sha256":"13bca4cc804039a9cee17a27be7ba13744b8bb36f93904268c21e4291a5e8835","source":"reversing-labs","versions":["2.0.9"]},{"source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-007400","import_time":"2026-06-24T03:14:01.630866568Z","modified_time":"2026-06-24T02:45:07Z","sha256":"c2b733a611e3d27e56f4c6ee549bbcf3d88a1c823512c13797440c4c13f2712c"},{"source":"ghsa-malware","id":"GHSA-96v6-4928-255v","import_time":"2026-09-08T00:15:10.961785208Z","modified_time":"2026-09-07T16:17:41Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"sha256":"d1aef7d24ee6f2a862da9b261ae8d267bfcd3e277adfe6d09edb31b7c7b18570"},{"source":"amazon-inspector","versions":["1.0.2"],"id":"IN-MAL-2026-019806","import_time":"2026-09-09T03:21:55.729558267Z","modified_time":"2026-09-09T02:48:31Z","sha256":"c10d2e6ba0a154a80a1efd50a513a0abdc3ad96b92c96b1585a9547abfb304ee"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/paypal-postman-lib/v/1.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-96v6-4928-255v"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/paypal-postman-lib/v/1.0.2"}],"affected":[{"package":{"name":"paypal-postman-lib","ecosystem":"npm","purl":"pkg:npm/paypal-postman-lib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.9"}]},{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.0.9","1.0.1","1.0.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/paypal-postman-lib/MAL-2025-47594.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"219f8d4607b82034852dd5c934d2b85aed36ef4d6bd7d7ab814f40d367b26c86","tlsh":"71411195a2da17330de214c06a0c70812399fa767169a99076cf42d69f869f8b7326f3"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com","inspector-research@amazon.com"],"type":"FINDER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}