onceaction (npm) · Malicious Code
Affects onceactionSource GCVE Database
Malicious package : remove onceaction and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 18:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15844
What to do
Remove onceaction 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 |
|---|---|---|
| npmonceaction | 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 'onceaction' version 5.1.2 contains malicious code or depends on a malicious package. Installing or running this package can lead to a full compromise of the affected system. Secrets and keys stored on the compromised system should be rotated immediately from a different, trusted machine. Removing the package alone may not fully eliminate the malicious presence due to potential persistent control established by the attacker.