{"id":"MAL-2026-20625","aliases":[],"title":"Malicious code in global-error-handling (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (d849db4ee159bcf193d6c33967a3ad197579ed55cdceb7efb78cc676fb68ae35) package.json declares a postinstall script that executes index.js on `npm install`. index.js reads os.hostname() and process.cwd() and POSTs them, along with a generated test identifier, to a hardcoded https://webhook.site/0a4d6535-e2dd-46b7-aff7-8af65c145c50 collector. webhook.site is a public third-party request-capture service that is commonly used as an install-time beacon sink. The behavior fires automatically on default install, is directed at a third-party endpoint unrelated to any declared publisher infrastructure, and discloses the installer's machine hostname and current working directory to whoever controls the webhook.site token. Self-descriptive strings in the payload (`event: \"authorized-poc-test\"`) are author-controlled and do not change the behavior: the shipped code performs unsolicited outbound exfiltration of host identifiers on every install. ","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/global-error-handling/v/1.1.0","type":"package"},{"url":"https://www.npmjs.com/package/global-error-handling/v/1.0.0","type":"package"}],"sources":[{"name":"osv","at":"2026-11-26T07:27:21.166Z","url":"https://osv.dev/vulnerability/MAL-2026-20625","license":"CC-BY 4.0","firstSeenAt":"2026-11-26T06:54:06.365Z"}],"firstSeenAt":"2026-11-26T06:54:06.365Z","publishedAt":"2026-11-25T16:10:36.000Z","modifiedAt":"2026-11-26T06:57:35.543Z"}