2026-02-04 — NPM malware in internallib_v157 (GHSA-h23p-rf86-54wq)¶
Source: GitHub Advisory Database (published 2026-02-05 UTC)
What happened¶
GitHub published a malware advisory for the npm package:
internallib_v157(GHSA-h23p-rf86-54wq)
The advisory notes that any machine with this package installed should be considered fully compromised.
Why you should care¶
Malicious npm packages commonly:
- Run attacker code during install/build via lifecycle scripts (
preinstall/postinstall/prepare) - Exfiltrate secrets from developer machines and CI runners
- Establish persistence or backdoor build artifacts
Action (defenders)¶
If this package appears in any repo, lockfile, cache, or CI logs, treat it as an incident.
- Identify exposure
- Search for
internallib_v157across repos and CI logs. -
Check lockfiles (
package-lock.json,pnpm-lock.yaml,yarn.lock) and dependency trees. -
Assume host compromise
- Quarantine impacted developer machines / build runners.
-
Preserve evidence where feasible (process list, persistence locations, logs).
-
Rotate secrets from a clean machine
-
npm tokens, GitHub tokens, CI secrets, cloud keys, SSH keys, signing keys.
-
Eradicate + prevent recurrence
- Remove the dependency, rebuild from trusted sources, invalidate caches.
- Add policy controls (registry allowlists, dependency review, provenance/SBOM gates).
Guidance¶
References¶
- https://github.com/advisories/GHSA-h23p-rf86-54wq