{"id":"MAL-2026-11056","summary":"Malicious code in gpaas-paypal (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f698d94fead72f888459a0773a7715dd974433c4624134b743098b61e74f9a9f)\nOn npm install, the package's preinstall script runs index.js which collects the installer's hostname, platform, architecture, home directory path, and configured DNS servers, then POSTs them via HTTPS to t4ygm1p2e1grblohe7f7nlf0krqjef24.oastify.com/hit (a Burp Suite Collaborator subdomain used as an attacker-controlled callback endpoint). The package self-describes as a dependency-confusion proof of concept; installation causes automatic exfiltration of host reconnaissance data to a third-party endpoint before any user code runs.\n\n## Source: ghsa-malware (04c01a5b087d1c4d6ae8700fd1fee92cdb45c5a77f59a62723b17b5aa43e7f5d)\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\n## Source: ossf-package-analysis (de49a80eb3352a8ae92a2c34b088943ee9922316944895537a38a1f0d53588a8)\nThe OpenSSF Package Analysis project identified 'gpaas-paypal' @ 28.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","aliases":["GHSA-c77x-6gm9-q7mf"],"modified":"2026-08-05T06:36:15.760859028Z","published":"2026-07-25T09:28:35Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-25T09:38:34.260490901Z","modified_time":"2026-07-25T09:28:35Z","sha256":"de49a80eb3352a8ae92a2c34b088943ee9922316944895537a38a1f0d53588a8","source":"ossf-package-analysis","versions":["28.0.0"]},{"import_time":"2026-07-28T02:02:03.059952Z","modified_time":"2026-07-27T16:15:20Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"04c01a5b087d1c4d6ae8700fd1fee92cdb45c5a77f59a62723b17b5aa43e7f5d","source":"ghsa-malware","id":"GHSA-c77x-6gm9-q7mf"},{"id":"IN-MAL-2026-011082","import_time":"2026-08-04T21:33:16.221867826Z","modified_time":"2026-08-04T21:29:58Z","sha256":"f698d94fead72f888459a0773a7715dd974433c4624134b743098b61e74f9a9f","source":"amazon-inspector","versions":["28.0.0"]},{"id":"IN-MAL-2026-013197","import_time":"2026-08-05T06:00:52.970501574Z","modified_time":"2026-08-05T05:47:48Z","sha256":"7a169a3d511e6b0701ec8cb7e50cbe3d9976324733f8d1c02f0b3dc22729f34a","source":"amazon-inspector","versions":["4.0.0"]}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c77x-6gm9-q7mf"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpaas-paypal/v/28.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/gpaas-paypal/v/4.0.0"}],"affected":[{"package":{"name":"gpaas-paypal","ecosystem":"npm","purl":"pkg:npm/gpaas-paypal"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["28.0.0","4.0.0"],"database_specific":{"indicators":{"evidence_files":[{"path":"index.js","sha256":"009138527f0d232aa95a8d657568ec9331b19b3cdc337d3dffa7456f56033877","tlsh":"ecf08bd4eab96a611fba99c0b0a6a5065333d662780fb8d06fcc026607cddf801b16f4"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gpaas-paypal/MAL-2026-11056.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"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."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}