react-confetti-modern (npm) · Malicious Code
Affects react-confetti-modernSource GCVE Database
Malicious package : remove react-confetti-modern and rotate any secrets on hosts that installed it.
Data as of 13 Nov 2026, 19:30 UTC
Malicious package
Published to npm · OSV MAL-2025-190509
What to do
Remove react-confetti-modern 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 |
|---|---|---|
| npmreact-confetti-modern | 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 react-confetti-modern was found to contain malicious code. Installing or running this package can lead to a full compromise of the affected computer. Any secrets or keys stored on the compromised system should be rotated immediately from a different, secure machine. Removing the package alone may not fully eliminate the malicious presence, as the attacker may have established persistent control.