Skip to main content
Emerging ThreatsMalware & Ransomware

AI-Powered React2Keys Campaign Exploits 400 Organizations

Modern server room interior with highlighted network equipment and cables.

More than 50,000 credentials were stolen from at least 19,000 hosts at 400 organizations in a ten-day campaign that used AI to automate credential harvesting and exploited the critical React2Shell vulnerability (CVE-2025-55182).

How the React2Shell flaw enabled mass compromise

React2Shell (CVE-2025-55182) is a critical remote code execution flaw in React Server Components that allows unauthenticated attackers to run code on vulnerable servers, including those hosting Next.js applications. CloudSEK's investigation notes that China-linked hackers began exploiting the defect within hours of its disclosure in December 2025, and since then the vulnerability has been reused in ransomware, botnet, and cryptomining attacks as well as in automated credential theft.

What CloudSEK recovered from the attacker infrastructure

After gaining access to the attacker’s infrastructure and mapping its activity, CloudSEK recovered an exfiltration log with roughly 1.9 million lines, per-victim data, and a toolkit comprising over 900,000 files. The firm identified a campaign running from November 9 to November 19 that targeted unpatched Node.js servers and extracted a broad set of secrets from compromised environments.

Scope and types of stolen secrets

The attackers harvested an extensive list of credentials and tokens. CloudSEK says the campaign targeted:

  • AWS access keys and temporary session credentials
  • Azure managed-identity tokens
  • Google Cloud service-account keys
  • Anthropic, OpenAI, and Google Gemini API keys
  • Claude Code OAuth tokens
  • GitHub access tokens
  • PostgreSQL, Redis, and MongoDB credentials
  • Cryptocurrency exchange API keys and wallet private keys

After exfiltration, the actor checked credential validity and ranked items by estimated value, specifically flagging crypto credentials that could be used to move funds.

Scanning, AI-assisted validation, and persistence techniques

The operation combined automated scanning of newly issued TLS certificates with AI services assigned to distinct operational roles. CloudSEK notes the actor “polls six public Certificate Transparency logs (CT Logs) every three minutes, so a new TLS certificate can become a scan target within minutes of deployment.” Domains were deduplicated by registrable domain and fingerprinted for Next.js using a previously compromised server’s own network; only about 3% of checked unique domains passed that fingerprinting.

For validation, the attacker used multiple AI platforms: OpenRouter was used to test stolen API keys against four Claude models, Azure AI Foundry to check access to Claude deployments, and Gemini to verify stolen Google API keys. CloudSEK also found the attacker used stolen Claude Code OAuth tokens to run AI requests billed to victims. Beyond credential theft, the actor planted an SSH key on compromised environments for persistent access and used stolen cloud credentials to expand their scanning and reach.

CloudSEK’s remediation advice and lasting risk

CloudSEK recommends that affected organizations patch vulnerable systems and rotate any exposed credentials. The researchers emphasize auditing cloud identity and AI-platform usage and checking for unauthorized SSH keys, because stolen credentials and planted SSH access can remain usable even after the underlying flaw is patched. To assist organizations, CloudSEK published an online tool to help check exposure to the React2Shell-based React2Keys campaign.

What this means for cloud engineers, security teams, and procurement leaders

  • Cloud engineers should prioritize patching Node.js hosts running React Server Components and Next.js deployments and remove any unauthorized SSH keys found in environments.
  • Security teams need to rotate exposed credentials, audit AI-platform and cloud-identity usage for illicit billing or sessions, and validate API keys and tokens for misuse; CloudSEK’s analysis shows attackers instrument AI services to test and monetize stolen credentials.
  • Procurement and platform owners should monitor newly issued TLS certificates tied to their domains, since the attacker used Certificate Transparency monitoring to discover targets within minutes of certificate deployment.

The React2Keys campaign shows a compact but destructive pattern: a critical unauthenticated RCE tied to React Server Components, rapid discovery through CT logs, AI tools used not just as targets but as instrumentation, and credential harvesting that reaches well beyond the initial host. Organizations that assume a patched host is secure risk overlooking the persistent access and exposed secrets the attackers left behind—precisely the elements CloudSEK says must be revoked and removed.

Source: BleepingComputer / CloudSEK report