Skip to main content

Malicious code in react-fontawesome-icons (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:31:32 UTC)
Source: GCVE Database
Product: react-fontawesome-icons

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.

Affected software

npmghsa
react-fontawesome-icons
Affected versions
=1.0.6=1.0.2=1.0.1=1.0.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/21/2026, 16:29:14 UTC

Technical Analysis

The react-fontawesome-icons package versions 1.0.1, 1.0.2, 1.0.4, and 1.0.6 include a default-exported React component that performs an unconditional axios GET request to http://command.control on every render. It then POSTs the user's document.cookie along with static data to http://commad.control/404. The package masquerades as a Font Awesome icon component but includes deliberate misdirection in its source code comments and a base64 flag-decoder near the exfiltration call. The destination hosts are not legitimate and do not resolve, indicating malicious intent to steal session cookies and potentially compromise the host system.

Potential Impact

Any application rendering this component transmits the user's browser session cookies to an attacker-controlled domain, potentially exposing session tokens and other sensitive information. This can lead to full compromise of the affected computer, as the attacker may gain unauthorized access and control. The presence of this package on a system should be treated as a full compromise, requiring immediate secret and key rotation and thorough system remediation.

Mitigation Recommendations

Remove the react-fontawesome-icons package immediately from all affected systems. Rotate all secrets and keys stored on the compromised computer from a separate, trusted device. Because the package grants potential full control to an attacker, assume the system is fully compromised and perform a comprehensive security assessment and remediation. No official patch or fix is available; removal and secret rotation are the only mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-12423
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a73572fbf8831d53913cd48

Added to database: 08/05/2026, 15:30:55 UTC

Last enriched: 08/21/2026, 16:29:14 UTC

Last updated: 09/07/2026, 22:07:23 UTC

Views: 26

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses