Is global-error-handling malicious?
Yes. Protet confirmed 2 versions of global-error-handling as malicious
First confirmed on 2026-11-25.
Affected versions
| Version | Confirmed | Protet record |
|---|---|---|
| 1.0.0 | 2026-11-25 | PROTET-NPM-2026-306 |
| 1.1.0 | 2026-11-25 | PROTET-NPM-2026-308 |
What it does
global-error-handling 1.0.0 declares a postinstall script (node index.js) that runs automatically on npm install. The script prints the host name and working directory to the console and sends an HTTPS POST with the body {"event":"authorized-poc-test","testId":<uuid>,"status":"executed"} to https://webhook.site/0a4d6535-e2dd-46b7-aff7-8af65c145c50, confirming to the collector operator that code ran on the installing machine. The package has no functional code, no repository and no README, and its description ("security testiong only") does not match its name. This is a dependency-confusion style install-time beacon, with the same code and collector as MAL-2026-20350.
Other reports
- Also reported in OSV as MAL-2026-20625
What to do if you installed it
- Remove the package from every project that uses it, directly or through another dependency.
- Pin a clean version if you need the package: one that is not listed above and that you have checked yourself, or replace the package. A version missing from this page is not cleared.
- Check your lockfiles (
package-lock.json,yarn.lock,pnpm-lock.yaml) for the affected versions, including as a transitive dependency, and in CI caches. - Rotate credentials that were reachable from any machine or build that installed it: npm and GitHub tokens, cloud keys, SSH keys, and secrets in environment variables or CI settings.
Status history
- 2026-11-25: 1.1.0, 1.0.0 named by Protet Intel