Malicious code in global-error-handling (npm)
What to do
Vendor response not established. Follow the primary source's mitigation guidance and check back for a fix.
This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.
Affected packages
npm global-error-handling
- Affected
- every version
- Fixed in
- no fixed version recorded
Sources
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
OSV record MAL-2026-20625 lists affected ranges: npm global-error-handling >=1.1.0 =1.0.0 <=1.0.0
VerifiedObserved Structured OSV record; not marked as GitHub-reviewed.
- Open Source Vulnerabilities (OSV.dev), including the GitHub Advisory Database
OSV record MAL-2026-20625 lists affected ranges: npm global-error-handling >=0
VerifiedObserved Structured OSV record; not marked as GitHub-reviewed.
Severity and exploitation
- Exploitation
- No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
- CVSS
- not scored
- EPSS
- No dated EPSS signal available.
Source description
As published by the source; long descriptions are shortened.
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. --- _-= 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…
Dates and revisions
- Published by the source
- Last modified by the source
- Source last checked
- Revision 2 · amended ·
Amended from osv record MAL-2026-20625
- Revision 1 · created ·
Published from osv record MAL-2026-20625
Agent brief
Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.
# Patch Next advisory brief: GHSA-5797-99pf-537x Advisory: Malicious code in global-error-handling (npm) IDs: GHSA-5797-99pf-537x Record: https://patchnext.com/advisories/mal-2026-20625 (revision 2, source checked 27 Nov 2026, 06:00 UTC) Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected. Severity: Unrated Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV. Vendor response: Vendor response not established. A vendor fix does not mean a deployment is fixed. ## Affected components - npm global-error-handling: affected every version ## Suggested inspection (read-only) - `npm ls global-error-handling --all`: lists every installed copy and version, including transitive ones. Run in the project root after `npm ci`. ## Supported action No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything. ## Required regression checks - Run the test suite and a production build. - Exercise the features that depend on global-error-handling. - Repeat the inspection and confirm that only fixed versions remain installed. ## Rollback considerations - Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward. ## Unresolved questions - Which deployments run an affected version? - Exploitation status can change. Check again before lowering the priority. - Mark the work resolved only after the fixed version is verified in production. ## Sources - Verified: https://osv.dev/vulnerability/MAL-2026-20625 (OSV record MAL-2026-20625 lists affected ranges: npm global-error-handling >=1.1.0 =1.0.0 <=1.0.0) - Verified: https://osv.dev/vulnerability/MAL-2026-20625 (OSV record MAL-2026-20625 lists affected ranges: npm global-error-handling >=0) Commands are suggestions: review each one before running it.
Loading voting…