{"id":"MAL-2026-18275","summary":"Malicious code in @ppa-web-components/ppa-hotel-collection (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (e442008a433c1edbe8fb25f9b47dd3123f5664672c3901167fc9d3add8a6bd6e)\n@ppa-web-components/ppa-hotel-collection@1.1.0 is a stub package whose only functional code is a callback beacon. The package.json declares scripts.postinstall: \"node beacon.cjs\", and the same beacon.cjs is also triggered via the main entry on require(). beacon.cjs collects os.hostname(), __dirname, process.cwd(), and process.version/npm version and POSTs them to the hardcoded bare-IP URL http://185.158.107.175:8787/_ah/dc over cleartext HTTP. The destination is unrelated to any legitimate publisher infrastructure for the @ppa-web-components scope. The package's only export is a no-op Proxy, and the description self-labels as \"Compatibility shim.\" with internal comments noting that a build which \"completes and calls back is cleaner evidence\" — consistent with a dependency-confusion probe targeting an internal @ppa-web-components namespace. Installing or requiring the package automatically exfiltrates host and path identifiers to attacker-controlled infrastructure, marking the installer's build system as reachable for follow-on targeting.\n","modified":"2026-10-25T14:45:04.660703702Z","published":"2026-10-25T14:38:09Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["99.0.1"],"id":"IN-MAL-2026-021655","import_time":"2026-10-25T14:39:51.8299629Z","modified_time":"2026-10-25T14:38:47Z","sha256":"79c01e5cd9accbd2f679b11f151a03bfb2793a50490ae9a97f8ebfd6515e5eb6"},{"import_time":"2026-10-25T14:39:51.70446155Z","modified_time":"2026-10-25T14:38:19Z","sha256":"e442008a433c1edbe8fb25f9b47dd3123f5664672c3901167fc9d3add8a6bd6e","source":"amazon-inspector","versions":["1.1.0"],"id":"IN-MAL-2026-021651"},{"source":"amazon-inspector","versions":["3.0.0"],"id":"IN-MAL-2026-021652","import_time":"2026-10-25T14:39:51.738789555Z","modified_time":"2026-10-25T14:38:26Z","sha256":"90e1177495a62104fc3642faacfc70682252b925c35632673e6357b844748791"},{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-021653","import_time":"2026-10-25T14:39:51.769471747Z","modified_time":"2026-10-25T14:38:33Z","sha256":"a086f064036e6d43268ce3396ae6068a3ac9e2f2fa7f1636f64039b88864ba98"},{"id":"IN-MAL-2026-021650","import_time":"2026-10-25T14:39:51.675236309Z","modified_time":"2026-10-25T14:38:09Z","sha256":"d5157f4c405a682213856c9849e643365295e3b95a7a2288dbc3b512960eb247","source":"amazon-inspector","versions":["2.0.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/1.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-hotel-collection/v/2.0.1"}],"affected":[{"package":{"name":"@ppa-web-components/ppa-hotel-collection","ecosystem":"npm","purl":"pkg:npm/%40ppa-web-components/ppa-hotel-collection"},"versions":["99.0.1","1.1.0","3.0.0","1.0.0","2.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ppa-web-components/ppa-hotel-collection/MAL-2026-18275.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"},{"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"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"9edb87cd0f581c21b987585076020ecf1e71403753a4f11677bb12c998f545c5","tlsh":"cf3161efa8e0a0089aeb7098c54f1409b27bf0079501ab50fd5c82959f7257c33fa8dc","path":"beacon.cjs"},{"path":"index.js","sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d","tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"}],"package_integrity":[{"hashes":{"sha1":"6be40f1c95f495077960f6ac7f855966bc357bc9","sha512_sri":"sha512-COnxX8pl9VV0xKuqz6+Ch5UBPbf4YleWm8uwjURwK/fFrDTJe1QHpOxDbybDJil/ReshKEoatxJVJ0tg1l7FGg=="},"filename":"ppa-hotel-collection-99.0.1.tgz"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}