AI-powered React2Keys campaign steals secrets from 400 organizations
An automated AI-powered credential theft campaign dubbed React2Keys has stolen over 50,000 credentials from 19,000 hosts across 400 organizations. CloudSEK researchers uncovered the operation after gaining access to the attacker's infrastructure and mapping its full activity. The campaign leveraged the critical React2Shell remote code execution vulnerability (CVE-2025-55182) in React Server Components, allowing remote code execution on vulnerable servers hosting Next.js applications without authentication. China-linked hackers began exploiting the flaw within hours of its disclosure in December 2025.
The attacker used a scanner that polls six public Certificate Transparency logs every three minutes to identify newly deployed TLS certificates. Domains are deduplicated by registrable domain and fingerprinted for Next.js from a previously compromised server's network, with only about 3% passing the check. During a ten-day campaign from November 9 to 19, attackers harvested a broad range of secrets including cloud credentials, AI service tokens, API keys, and database access credentials. The recovered exfiltration log contained 1.9 million lines, per-victim data, and a toolkit of over 900,000 files.
After obtaining secrets, the attacker validated their status and ranked them by estimated value, flagging crypto credentials that could be used to move funds. Multiple AI services were assigned operational roles in the key validation phase: OpenRouter tested stolen API keys against four Claude models, Azure AI Foundry checked access to Claude deployments, and Gemini verified stolen Google API keys. The attacker also leveraged stolen Claude Code OAuth tokens to run AI requests billed to victims. Stolen credentials and planted SSH keys were used to expand scanning and maintain persistent access on compromised environments.
CloudSEK recommends that companies patch affected systems, rotate exposed credentials, audit cloud identity and AI-platform usage, and check for unauthorized SSH keys. The researchers note that stolen credentials and planted SSH access can remain usable after the flaw is patched, so additional action is required to revoke exposed secrets and remove SSH keys from compromised environments. An online tool from CloudSEK can help organizations check their exposure to the React2Shell campaign. No further promotional content or unrelated advisories are included.
Source credits
By Bill Toulas from BleepingComputer. Edited by SetuGeo.