Skip to main content
MalwarePublished Updated

react-fontawesome-icons (npm) · Malicious Code

Affects react-fontawesome-iconsSource GCVE Database

0

Malicious package : remove react-fontawesome-icons and rotate any secrets on hosts that installed it.

Data as of 21 Aug 2026, 16:29 UTC

Classification

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

ProductAffectedFixed in
npmreact-fontawesome-iconsAffected
  • 1.0.1 – 1.0.6
4 affected builds
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

Community reviews

Loading reviews…