MAL-2026-14435Malicious code in paypal-business-sdk (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | paypal-business-sdk | 9.4.3 |
{"modified":"2026-08-24T16:39:58Z","published":"2026-08-24T16:39:58Z","schema_version":"1.7.4","id":"MAL-2026-14435","summary":"Malicious code in paypal-business-sdk (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (556bfd93652f806523495944dc8a441624c9a2dae4f76eadeefa9650f57091a1)\nThe package's npm preinstall lifecycle script collects the installer's OS username, hostname, current working directory, and walks up to 15 parent directories to read enclosing package.json files (capturing the victim project's name, author, and version). The collected metadata is hex-encoded, chunked into DNS subdomain labels, and exfiltrated via dns.lookup queries under the hardcoded nameserver o.jgl.red (observed label da5u87oh92rc72pp1dngqfc6hp8gwshm6.o.jgl.red). The package name impersonates a PayPal SDK, consistent with a dependency-confusion reconnaissance beacon that fires automatically on npm install.\n","affected":[{"package":{"ecosystem":"npm","name":"paypal-business-sdk"},"versions":["9.4.3"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"preinstall.js","sha256":"e04d2f9988d93bf76077f8d536efbeb193351bd1b2830ec889be285156140a52","tlsh":"bb41ca9fdce70074b826223a9bbf441572e7d3333611ded1b45ce6805fe246826c6ae9"}],"package_integrity":[{"filename":"paypal-business-sdk-9.4.3.tgz","hashes":{"sha1":"a662399d6563f348860c6ffd20e9603dc620ce22","sha512_sri":"sha512-t+A0OA3zg7X9UReCWPehfWyvrkAkX3HFhEJpfyppAk4e6SwkEKf+UV+uOM1vRMYQeQJUob8OHCrBYlmXUSLTSQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/paypal-business-sdk/v/9.4.3"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-018635","import_time":"2026-08-24T16:49:13.929426232Z","modified_time":"2026-08-24T16:39:58Z","sha256":"556bfd93652f806523495944dc8a441624c9a2dae4f76eadeefa9650f57091a1","source":"amazon-inspector","versions":["9.4.3"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0