react-fontawesome-icons (npm) · Malicious Code
Affects react-fontawesome-iconsSource GCVE Database
Malicious package : remove react-fontawesome-icons and rotate any secrets on hosts that installed it.
Data as of 21 Aug 2026, 16:29 UTC
Malicious package
Published to npm · OSV MAL-2026-12423
What to do
Remove react-fontawesome-icons 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-fontawesome-icons | 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 react-fontawesome-icons package version 1.0.1, 1.0.2, 1.0.4, and 1.0.6 contains malicious code that exfiltrates user browser session cookies to a hardcoded external server. The component makes unauthorized network requests on every render, sending sensitive cookie data to an unresolvable and non-legitimate domain. This behavior is deliberate, as indicated by misleading comments and obfuscated code within the package. Any application using this package risks full compromise of the host system.
References
- npmjs.com/package/react-fontawesome-icons/v/1.0.6 (opens in a new tab)
- npmjs.com/package/react-fontawesome-icons/v/1.0.2 (opens in a new tab)
- npmjs.com/package/react-fontawesome-icons/v/1.0.1 (opens in a new tab)
- npmjs.com/package/react-fontawesome-icons/v/1.0.4 (opens in a new tab)
- npmjs.com/package/react-fontawesome-icons/v/1.0.5 (opens in a new tab)
- npmjs.com/package/react-fontawesome-icons/v/1.0.3 (opens in a new tab)
- github.com/advisories/GHSA-xvfg-jp9r-63q2 (opens in a new tab)