mal-2026-12423
Vulnerability from ossf_malicious_packages
Published
2026-08-05 12:31
Modified
2026-08-21 12:28
Summary
Malicious code in react-fontawesome-icons (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (4706d295cdd6ae07918ab25d54475d97d88e92c8ba2d3923078ba916096b4366)

The default-exported React component in react-fontawesome-icons@1.0.3 performs an unconditional axios GET to http://command.control on every render and then POSTs document.cookie (together with a static data payload) to http://commad.control/404. Any consumer application that renders this icon component transmits the user's browser session cookies to a hardcoded non-first-party destination. The source uses cover-story naming and comments (not_ma_li_ci_ous_at_all, 'nothing harmful here LOL') and a commented base64 flag-decoder around the exfiltration call, indicating deliberate misdirection rather than accident. The package is presented as a Font Awesome icon component; icon rendering does not require any outbound network traffic, and the destination hosts are not resolvable legitimate infrastructure.

Source: ghsa-malware (4a0064eee01e065c5930caec51d6dc62683839346baed1315f681f730657b3f4)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "index.jsx",
              "sha256": "4bb77328be2325aeb8f0b0790fff2d7f45c9b1c5678e4ebb830f025bd9403861",
              "tlsh": "83f09e6f63b850b4413308d5b75dd01de20351663fc6ec04ab597f108bc1229b8672ac"
            }
          ],
          "package_integrity": [
            {
              "filename": "react-fontawesome-icons-1.0.6.tgz",
              "hashes": {
                "sha1": "f03d23a26f6d0dc04529eaf8aac191d3ff824efd",
                "sha512_sri": "sha512-3/Ursy9uQwlTsVytzxCSler3lEteM6NyMJMnisK7594c6bD/B2MALG5lGMujZiLvOIrBZyxCjdisywAPQzvLBg=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "react-fontawesome-icons"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "SEMVER"
        }
      ],
      "versions": [
        "1.0.6",
        "1.0.2",
        "1.0.1",
        "1.0.4",
        "1.0.5",
        "1.0.3"
      ]
    }
  ],
  "aliases": [
    "GHSA-xvfg-jp9r-63q2"
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-014690",
        "import_time": "2026-08-05T13:08:37.825585964Z",
        "modified_time": "2026-08-05T12:31:32Z",
        "sha256": "06bc9138ae52b505e55664ed2e899a5dba05546a99c9b95622a5295ab68d4102",
        "source": "amazon-inspector",
        "versions": [
          "1.0.6"
        ]
      },
      {
        "id": "IN-MAL-2026-014910",
        "import_time": "2026-08-05T14:19:42.129370212Z",
        "modified_time": "2026-08-05T13:10:12Z",
        "sha256": "36a964041c29f69f015fc70f947e1172bd1e8fd92b6292d3014117d4f1c6f191",
        "source": "amazon-inspector",
        "versions": [
          "1.0.2"
        ]
      },
      {
        "id": "IN-MAL-2026-014902",
        "import_time": "2026-08-05T14:19:41.416212277Z",
        "modified_time": "2026-08-05T13:09:07Z",
        "sha256": "aef5cf6c4b85c34ea671ef8cdab9298c27bced2231983eb09fa9c9a230a0e86c",
        "source": "amazon-inspector",
        "versions": [
          "1.0.1"
        ]
      },
      {
        "id": "IN-MAL-2026-014908",
        "import_time": "2026-08-05T14:19:41.937972979Z",
        "modified_time": "2026-08-05T13:09:57Z",
        "sha256": "2e0b2ce40b563a4df5cb30b6b263d7773c69c318ad994e8146219fae8c6fc6b2",
        "source": "amazon-inspector",
        "versions": [
          "1.0.4"
        ]
      },
      {
        "id": "IN-MAL-2026-015823",
        "import_time": "2026-08-05T17:04:49.157745806Z",
        "modified_time": "2026-08-05T16:16:16Z",
        "sha256": "426c8f4b23bac2919ce797fd5c4ab1e68b5b231a09d8fa2a26bf65db46360509",
        "source": "amazon-inspector",
        "versions": [
          "1.0.5"
        ]
      },
      {
        "id": "IN-MAL-2026-015833",
        "import_time": "2026-08-05T18:07:50.656038312Z",
        "modified_time": "2026-08-05T17:25:55Z",
        "sha256": "4706d295cdd6ae07918ab25d54475d97d88e92c8ba2d3923078ba916096b4366",
        "source": "amazon-inspector",
        "versions": [
          "1.0.3"
        ]
      },
      {
        "id": "GHSA-xvfg-jp9r-63q2",
        "import_time": "2026-08-21T12:26:03.503715859Z",
        "modified_time": "2026-08-21T11:34:10Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "SEMVER"
          }
        ],
        "sha256": "4a0064eee01e065c5930caec51d6dc62683839346baed1315f681f730657b3f4",
        "source": "ghsa-malware"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4706d295cdd6ae07918ab25d54475d97d88e92c8ba2d3923078ba916096b4366)\nThe default-exported React component in react-fontawesome-icons@1.0.3 performs an unconditional axios GET to http://command.control on every render and then POSTs document.cookie (together with a static data payload) to http://commad.control/404. Any consumer application that renders this icon component transmits the user\u0027s browser session cookies to a hardcoded non-first-party destination. The source uses cover-story naming and comments (`not_ma_li_ci_ous_at_all`, \u0027nothing harmful here LOL\u0027) and a commented base64 flag-decoder around the exfiltration call, indicating deliberate misdirection rather than accident. The package is presented as a Font Awesome icon component; icon rendering does not require any outbound network traffic, and the destination hosts are not resolvable legitimate infrastructure.\n\n## Source: ghsa-malware (4a0064eee01e065c5930caec51d6dc62683839346baed1315f681f730657b3f4)\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.\n",
  "id": "MAL-2026-12423",
  "modified": "2026-08-21T12:28:12.459302890Z",
  "published": "2026-08-05T12:31:32Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/react-fontawesome-icons/v/1.0.6"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/react-fontawesome-icons/v/1.0.2"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/react-fontawesome-icons/v/1.0.1"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/react-fontawesome-icons/v/1.0.4"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/react-fontawesome-icons/v/1.0.5"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/react-fontawesome-icons/v/1.0.3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-xvfg-jp9r-63q2"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in react-fontawesome-icons (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…