An AI-powered campaign called “React2Keys” exploited unpatched Node.js servers to steal more than 50,000 credentials from at least 19,000 hosts across 400 organizations. The attackers abused the critical React2Shell remote code execution vulnerability, CVE-2025-55182, to automate the theft of cloud credentials, AI service tokens, API keys and database access credentials.
CloudSEK researchers uncovered the campaign after accessing the attackers’ infrastructure and mapping its activity. They recovered 1.9 million lines of leaked logs and victim data, along with a toolkit containing more than 900,000 files.
React2Keys exploited the React2Shell vulnerability
React2Shell is a critical flaw in React Server Components that enables unauthenticated remote code execution on vulnerable servers, including systems hosting Next.js applications.
Within hours of details about the vulnerability becoming public in December 2025, China-linked hackers began exploiting it. The flaw has since been used in ransomware and botnet campaigns, cryptomining attacks and automated credential-theft operations.
CloudSEK identified one React2Keys operation that ran for 10 days, from November 9 to November 19. During that period, the attackers targeted a broad range of secrets stored on compromised systems.
.jpg)
Source: CloudSEK
Certificate logs helped attackers find targets
The attackers monitored newly issued TLS certificates to identify potential targets and collect secrets from compromised servers. Their scanner flagged approximately 3% of the unique domains it checked as potentially running Next.js.
“The attacker polls six public certificate transparency logs (CT logs) every three minutes, so new TLS certificates can become subject to scanning within minutes of deployment,” CloudSEK notes.
“Domains are deduplicated for each registrable domain, and then Next.js is fingerprinted from the previously compromised server’s own network. Only about 3% pass.”
In some cases, the attackers moved beyond the initially compromised host to access cloud identities, databases, Git repositories and secret managers.
Secrets targeted by the campaign
According to CloudSEK, the attackers searched for:
- AWS access keys and temporary session credentials
- Azure managed ID tokens
- Google Cloud service account keys
- Anthropic, OpenAI and Google Gemini API keys
- Claude Code OAuth tokens
- GitHub access tokens
- Credentials for PostgreSQL, Redis and MongoDB
- Cryptocurrency exchange API keys and wallet private keys

Source: CloudSEK
AI tools automated credential validation
After obtaining a secret, the attackers checked whether it was still valid, assessed its estimated value and flagged cryptographic credentials that could potentially be used to transfer funds.
The operation used several AI services and tools, with each assigned a role during the main verification phase. OpenRouter was used to test stolen API keys against four Claude models, while Azure AI Foundry checked access to Claude deployments. Gemini was used to validate stolen Google API keys.
Researchers also found that the attackers used stolen Claude Code OAuth tokens to make AI requests billed to the victims.
CloudSEK said the attackers embedded SSH keys in compromised environments to maintain persistent access. They also used stolen cloud credentials to expand their scanning activity.

Source: CloudSEK
CloudSEK recommends rotating exposed credentials
CloudSEK recommends that organizations patch affected systems, rotate exposed credentials, audit cloud identity and AI platform usage, and check compromised environments for unauthorized SSH keys.
Fixing the React2Shell vulnerability alone may not be enough. Stolen credentials and planted SSH keys can remain usable after patching, so organizations must revoke exposed secrets and remove unauthorized keys from affected environments.
Organizations can use CloudSEK’s online tools to check for exposure to React2Shell campaigns.
Source: www.bleepingcomputer.com


