{"id":"MAL-2026-18273","summary":"Malicious code in @ppa-web-components/ppa-builder (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (cc4615498b50aa4b5f39a8367c44e6a18d4a7272ae71235716a152b2933d5ddd)\nThe package is described as a 'Compatibility shim' and ships a stub Proxy-based main plus beacon.cjs. The package.json declares scripts.postinstall: 'node beacon.cjs', and the main entry also invokes the same fire() routine on require. On both triggers, beacon.cjs collects installer identifiers — os.hostname(), __dirname (install path), process.cwd(), process.version, and the package name — and POSTs them in cleartext to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc. The destination is not a registry, publisher, or any documented infrastructure; it is a plain-HTTP bare IP with no TLS. An inline source comment states that a build that completes and calls back is cleaner evidence, confirming the artifact's purpose is to signal successful resolution and execution on installer machines. Combined with a scoped name resembling an internal namespace and no real library functionality, this matches the dependency-confusion / namesquat callback-probe shape.\n","modified":"2026-10-25T15:30:05.567152573Z","published":"2026-10-25T14:39:39Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-021662","import_time":"2026-10-25T14:39:52.036213738Z","modified_time":"2026-10-25T14:39:39Z","sha256":"132a763229562f58056a9865006e3645b39657374a953534c63474e8ad54f8be","source":"amazon-inspector","versions":["99.0.1"]},{"id":"IN-MAL-2026-021668","import_time":"2026-10-25T15:15:11.776214677Z","modified_time":"2026-10-25T14:40:23Z","sha256":"cc4615498b50aa4b5f39a8367c44e6a18d4a7272ae71235716a152b2933d5ddd","source":"amazon-inspector","versions":["1.0.0"]},{"import_time":"2026-10-25T15:15:11.449930728Z","modified_time":"2026-10-25T14:40:03Z","sha256":"4dd7d889e247f630c5dbfbabe6472f5a6ad816b8f804a62fb0bc4921a4d18d1c","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-021665"},{"id":"IN-MAL-2026-021666","import_time":"2026-10-25T15:15:11.555461163Z","modified_time":"2026-10-25T14:40:09Z","sha256":"501a925b01ebc75de95ab24cb65ed8af8ccd493141cc774481b10ebaa3cc1a75","source":"amazon-inspector","versions":["2.0.1"]},{"sha256":"7ace2feda6b6a97f0c3ae2f0bf2e194b513b5394253a0677e1e2d05814710b3b","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-021664","import_time":"2026-10-25T15:15:11.34733496Z","modified_time":"2026-10-25T14:39:53Z"},{"sha256":"91fc13757f540f3474f7a2ee5335d3c9b7f45d21c016e62c2fe5209d45ea609c","source":"amazon-inspector","versions":["3.0.0"],"id":"IN-MAL-2026-021667","import_time":"2026-10-25T15:15:11.644498163Z","modified_time":"2026-10-25T14:40:17Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-builder/v/99.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-builder/v/1.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-builder/v/0.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-builder/v/2.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-builder/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@ppa-web-components/ppa-builder/v/3.0.0"}],"affected":[{"package":{"name":"@ppa-web-components/ppa-builder","ecosystem":"npm","purl":"pkg:npm/%40ppa-web-components/ppa-builder"},"versions":["99.0.1","1.0.0","0.0.1","2.0.1","1.0.1","3.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"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"},{"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"}],"indicators":{"evidence_files":[{"tlsh":"cf3161eba8e0e0489aa67098d54f1409f27bf0069501ab50fd5c82919f6257c33fa8dc","path":"beacon.cjs","sha256":"2d42e587e44baa467df3603fc57b106ba22381d21b41a453540bf59b9ac739a7"},{"path":"index.js","sha256":"a86a4da763bbb34c16f361abe7aab66d5df591b66867ac8160041f932159b08d","tlsh":"2201d0d7225661b10b5221a4978f43c4a3b99d74027941d0d84a9226365108c463b8ee"}],"package_integrity":[{"hashes":{"sha512_sri":"sha512-S/snuH1515vFJjL0A7ApZ2ziwhzK1Zk85s6b4xx0PX5v4v+dsIJUs39jznig8N4lym1ePIMbSBdUGQgFvfjgBw==","sha1":"72e26f8c35df11e264efa7f54c1d2e6dca014be0"},"filename":"ppa-builder-99.0.1.tgz"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ppa-web-components/ppa-builder/MAL-2026-18273.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}