Cybersecurity

React2Shell campaign steals 50,000 credentials from 400 organizations

China-linked hackers exploited a React Server Components vulnerability to steal over 50,000 credentials from 19,000 hosts. The campaign used AI-driven validation via Claude and Gemini models to rank stolen API keys and target high-value cryptocurrency credentials.

Published
Section
Cybersecurity
Reading time
2 minutes
React2Shell campaign steals 50,000 credentials from 400 organizations

Massive credential theft via React2Shell

CloudSEK researchers uncovered the React2Keys campaign after gaining access to the attacker’s infrastructure and mapping its full activity, recovering a 1.9-million-line exfiltration log, per-victim data, and a toolkit comprising over 900,000 files. This campaign targeted unpatched Node.js servers using the React2Shell (CVE-2025-55182) remote code execution vulnerability in React Server Components, which lets remote attackers run code on Next.js applications without authentication. China-linked hackers began exploiting the flaw in December 2025. I find the speed of the scanner clearly to be the most effective part of the operation. The actor polls six public Certificate Transparency logs every three minutes. This ensures a new TLS certificate becomes a target within minutes. Only 3% of the unique domains checked passed the fingerprinting process. This ten-day campaign, running from November 9 to 19, stole over 50,000 credentials from at least 19,000 hosts at 400 organizations.

AI-driven validation and persistence

I find the use of AI for automated validation clearly to be the most efficient part of the process. The hacker used OpenRouter 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. After getting the secrets, the attacker checked their validity status and ranked them by their estimated value, flagging crypto credentials that could be used to move funds. The attacker also used stolen Claude Code OAuth tokens to run AI requests billed to victims, which researchers say expanded the scope of the theft. The theft included AWS access keys, Azure managed-identity tokens, Google Cloud service-account keys, GitHub access tokens, and credentials for PostgreSQL, Redis, and MongoDB databases. They also targeted Anthropic, OpenAI, and Google Gemini API keys, Claude Code OAuth tokens, and cryptocurrency exchange API keys and wallet private keys. In some cases, the operation reached beyond the initial hosts to access cloud identities, databases, Git repositories, and secrets managers. The campaign is also dangerous because attackers planted an SSH key on compromised environments for persistent access. Because stolen credentials and planted SSH access can remain usable after the flaw is patched, companies must rotate exposed credentials and remove SSH keys from compromised environments.