Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (aef5cf6c4b85c34ea671ef8cdab9298c27bced2231983eb09fa9c9a230a0e86c) The package is advertised as a React FontAwesome SVG icon component, but its default-exported Icon component performs unconditional network I/O on every render: an axios GET to http://command.control followed by an axios POST to http://commad.control/404 whose body includes document.cookie and a constructed data object. Any application that renders this component leaks its users' session cookies over plaintext HTTP to an author-hardcoded non-first-party destination unrelated to the package's stated purpose. Surrounding source uses cover-story identifiers and comments (e.g. `not_ma_li_ci_ous_at_all`, `build_the_f_l_a_g`, a base64 blob passed to atob, and a comment claiming the icon is harmless) that further indicate deliberate concealment of the exfiltration behavior.

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/05/2026, 15:38:43 UTC

Technical Analysis

The react-fontawesome-icons package, advertised as a React FontAwesome SVG icon component, includes a default-exported Icon component that performs unconditional network I/O on every render cycle. Specifically, it makes an axios GET request to http://command.control followed by an axios POST to http://commad.control/404, sending document.cookie and other constructed data in the POST body. This results in leakage of users' session cookies over unencrypted HTTP to an attacker-controlled domain. The source code contains obfuscation techniques such as misleading comments and base64-encoded blobs to conceal the exfiltration behavior.

Potential Impact

Applications that render the malicious Icon component leak their users' session cookies to an attacker-controlled external domain over plaintext HTTP. This exposure can lead to session hijacking or unauthorized access to user accounts. The exfiltration occurs silently and is hidden by obfuscation, increasing the risk of unnoticed compromise.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should immediately stop using the affected versions of react-fontawesome-icons (1.0.1, 1.0.2, 1.0.4, 1.0.6). Review and remove this package from projects and replace it with a trusted alternative. Monitor dependencies carefully for malicious behavior and verify package integrity before use. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.

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
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a73572fbf8831d53913cd48

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

Last enriched: 08/05/2026, 15:38:43 UTC

Last updated: 08/05/2026, 18:46:35 UTC

Views: 2

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