gitpath-package (npm) · Malicious Code
Affects gitpath-packageSource GCVE Database
Malicious package : remove gitpath-package and rotate any secrets on hosts that installed it.
Data as of 8 Sep 2026, 10:38 UTC
Malicious package
Published to npm · OSV MAL-2026-7292
What to do
Remove gitpath-package 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
| Product | Affected | Fixed in |
|---|---|---|
npmgitpath-packagepkg:npm/gitpath-packageOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The gitpath-package versions 1.0.0, 1.0.1, and 1.0.2 on npm contain malicious code. No detailed technical information or CVSS score is provided. There are no known exploits in the wild and no patch or remediation information is available.