MAL-2026-20625
Malicious code in global-error-handling (npm)
Auswirkung
global-error-handling 1.0.0 and 1.1.0 have no functional code; their description is "security testiong only". Each has a postinstall script that runs `node index.js` on npm install, which POSTs a JSON beacon (`event: "authorized-poc-test"`, a random test id, `status: "executed"`) to `https://webhook.site/0a4d6535-e2dd-46b7-aff7-8af65c145c50` (1.0.0) or `https://webhook.site/b4ea4473-01d9-4763-9e39-3b02063219d5` (1.1.0), telling the collector the package was installed and from which network. It was published by the npm account djdhhdjdjf7777, which published the same beacon as bundle-entry-points, use-sync-external-store-shim and paystation-embed-app. 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.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | global-error-handling | unbekannt | nicht erfasst |