Unpatched Node.js servers have been targeted in a campaign dubbed 'React2Keys' that stole more than 50,000 credentials from at least 19,000 hosts at 400 organizations.
AI tools automated the activity and leveraged the critical React2Shell (CVE-2025-55182) remote code execution vulnerability.
Researchers at CloudSEK uncovered the React2Keys campaign after gaining access to the attacker’s infrastructure and mapping its full activity.
The researchers recovered a massive, 1.9-million-line exfiltration log, per-victim data, and a toolkit comprising over 900,000 files.
React2Shell is a critical flaw in React Server Components that lets remote attackers run code on vulnerable servers, including those hosting .js applications, without authenticating.
China-linked hackers began exploiting it within hours of its disclosure in December 2025. Since then, it has also been leveraged in ransomware , botnet, and cryptomining attacks, as well as in automated credential theft .
CloudSEK identified a ten-day campaign running from November 9 to 19, during which attackers stole a broad range of cloud credentials, AI service tokens, API keys, and database access credentials.
The attacker used newly issued TLS certificates to find targets, then harvested secrets from compromised servers. The scanner flagged roughly 3% of the unique domains it checked as likely running .js.
“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,” CloudSEK notes .
“Domains are deduplicated by registrable domain, then fingerprinted for .js from a previously compromised server's own network. Only 3% pass.”
In some cases, the operation reached beyond the initial hosts and accessed cloud identities, databases, Git repositories, and secrets managers.
According to CloudSEK, the attacker targeted the following secrets:
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
PostgreSQL, Redis, and MongoDB credentials
Cryptocurrency exchange API keys and wallet private 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 hacker used multiple AI services and tools, each assigned an operational role in the key validation phase.
For example, 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.
The attacker also leveraged stolen Claude Code OAuth tokens to run AI requests billed to victims, the researchers say.
CloudSEK also found that the attacker planted an SSH key on compromised environments for persistent access and used stolen cloud credentials to expand their scanning.
CloudSEK recommends that companies patch affected systems, rotate exposed credentials, audit cloud identity and AI-platform usage, and check for unauthorized SSH keys.
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.
Uncover email threats your existing defenses may miss.
Adaptive Security's AI agents analyze email intent, context, and behavior to uncover phishing, business email compromise, and invoice fraud.
See what's getting through with a 14-day read-only scan of Microsoft 365 or Google Workspace, with no MX changes.
