How the Breach Occurred

The React2Keys campaign represents a significant cyber threat, leveraging artificial intelligence to exploit a critical vulnerability known as React2Shell (CVE-2025-55182). This flaw, present in React Server Components and affecting applications like Next.js, allows unauthenticated remote attackers to execute code on vulnerable servers. The attackers actively scanned for newly issued TLS certificates to identify potential targets. Once a server was identified as running Next.js, the campaign automated the process of exploiting the React2Shell vulnerability to gain unauthorized access. This initial compromise often led to deeper infiltration, reaching cloud identities, databases, Git repositories, and secrets management systems.

What Data Was Exposed & Consumer Risks

  • Over 50,000 credentials, including cloud service tokens, API keys, and database access credentials, were stolen.
  • Specific exposed data includes AWS access keys, Azure managed-identity tokens, Google Cloud service-account keys, API keys for AI services like Anthropic, OpenAI, and Google Gemini, Claude Code OAuth tokens, GitHub access tokens, and credentials for databases such as PostgreSQL, Redis, and MongoDB.
  • The attackers also targeted cryptocurrency exchange API keys and wallet private keys, posing a direct financial risk to individuals and organizations.
  • The campaign utilized AI tools to validate the stolen credentials, prioritizing those with the highest potential value, particularly cryptocurrency-related secrets.
  • Stolen AI service tokens and OAuth tokens were used to run AI requests billed to the victims, further compounding the financial and operational impact.
  • The attackers also planted SSH keys for persistent access, meaning even after the React2Shell vulnerability is patched, unauthorized access may remain possible.

Protective Steps for Affected Consumers

Organizations that may have been affected by the React2Keys campaign should take immediate and comprehensive action. The primary step is to patch the React2Shell vulnerability on all affected systems. However, patching alone is insufficient. It is crucial to rotate all exposed credentials, including API keys, cloud service tokens, database passwords, and any other sensitive authentication material. A thorough audit of cloud identity and AI platform usage is recommended to identify any unauthorized access or activity. Furthermore, organizations must actively scan their environments for unauthorized SSH keys and remove them to prevent continued persistent access. For those concerned about their exposure, CloudSEK offers an online tool to check for potential compromise related to this campaign.