Skip to main content
MalwarePublished

global-error-handling (npm) · Malicious Code

Affects global-error-handlingSource GCVE Database

0

Malicious package : remove global-error-handling and rotate any secrets on hosts that installed it.

Data as of 26 Nov 2026, 00:11 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20625

What to do

Remove global-error-handling from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmglobal-error-handlingAffected
  • =1.1.0
  • =1.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The global-error-handling npm package versions 1.0.0 and 1.1.0 include malicious code that executes automatically upon installation. This code collects the installer's machine hostname and current working directory and sends this information to a third-party public webhook service unrelated to the package publisher. This behavior constitutes unsolicited data exfiltration during the package's postinstall script execution.

References

Community reviews

Loading reviews…