google-payment (npm) · Malicious Code
Affects google-paymentSource GCVE Database
Malicious package : remove google-payment and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:20 UTC
Malicious package
Published to npm · OSV MAL-2025-1826
What to do
Remove google-payment 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 |
|---|---|---|
npmgoogle-paymentpkg:npm/google-paymentOther 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 google-payment npm package contains malicious code that installs a dependency from a custom domain which runs an information stealer during installation. This malware targets npm, git, and CI/CD tokens, potentially compromising any computer where the package is installed. Removal of the package does not guarantee full remediation as the attacker may have gained full control of the system.
References
- github.com/advisories/GHSA-8xvq-gmp9-g92r (opens in a new tab)
- security.snyk.io/vuln/SNYK-JS-GOOGLEPAYMENT-12596834 (opens in a new tab)
- npmjs.com/package/google-payment (opens in a new tab)
- koi.ai/blog/phantomraven-npm-malware-hidden-in-invisible-dependencies (opens in a new tab)
- sonatype.com/blog/phantomraven-npm-malware (opens in a new tab)