accounts-base (npm) · Malicious Code
Affects accounts-baseSource GCVE Database
Malicious package : remove accounts-base and rotate any secrets on hosts that installed it.
Data as of 28 Nov 2026, 12:55 UTC
Malicious package
Published to npm · OSV MAL-2025-191480
What to do
Remove accounts-base 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 |
|---|---|---|
| npmaccounts-base | 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 npm package 'accounts-base' version 23.5.6 has been identified as containing malicious code. Installation or execution of this package can lead to full compromise of the affected computer, potentially exposing all stored secrets and keys. Immediate removal of the package is recommended, but due to the extent of compromise, rotating all secrets from a separate, trusted machine is necessary.