MAL-2026-12423
Malicious code in react-fontawesome-icons (npm)
Details
--- _-= 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for react-fontawesome-icons (npm). Pin to a known-safe version or switch to an alternative.