A campaign dubbed React2Keys stole more than 50K credentials from over 19K compromised hosts associated with at least 400 organizations, according to security researchers at CloudSEK.
The operation ran from Nov. 9 to Nov. 19, exploiting React2Shell (CVE-2025-55182), a critical vulnerability that allows unauthenticated attackers to execute code remotely on vulnerable React Server Components and Next.js deployments.
CloudSEK uncovered the operation after accessing the attacker's infrastructure. Researchers recovered a 1.9-million-line data theft log and a toolkit containing more than 900,000 files. The victims included businesses across dozens of countries, spanning different industries, cloud providers and organization sizes.
AI helped attackers find valuable credentials
React2Keys did more than break into vulnerable servers. It automated the discovery, collection, testing and ranking of exposed credentials.
The attacker monitored six public Certificate Transparency logs every three minutes, allowing newly issued TLS certificates to become potential targets shortly after deployment. Only around 3% of scanned domains appeared to run Next.js.
Once inside, the operation searched for:
- AWS, Azure and Google Cloud credentials.
- Anthropic, OpenAI and Google Gemini API keys.
- GitHub access tokens and Claude Code OAuth credentials.
- PostgreSQL, Redis and MongoDB logins.
- Payment, domain registrar and cryptocurrency credentials.
AI services also became part of the attack infrastructure. OpenRouter tested stolen keys against Claude models, while Azure AI Foundry and Google Gemini helped validate access to their respective AI services. Stolen Claude Code tokens were also used to run AI requests billed to victims' subscriptions.
Patching won't close every door
CloudSEK found that the attacker planted SSH public keys on compromised systems to maintain access. Stolen cloud credentials also helped expand scanning operations, while compromised GitHub tokens exposed opportunities to search entire organizations for additional secrets.
This creates a serious problem for security teams. Fixing the original vulnerability does not automatically invalidate credentials already stolen or remove unauthorized access.
What this means for businesses and users
React2Keys shows why AI infrastructure and cloud credentials deserve the same attention as traditional administrative passwords.
A compromised application can expose much more than its own database. Attackers may inherit access to cloud resources, development repositories, payment systems and AI subscriptions through secrets stored in its environment.
For businesses, the financial exposure can extend beyond incident recovery. Stolen AI keys can generate unauthorized usage charges, cloud credentials can expose infrastructure, and cryptocurrency keys with withdrawal permissions can put funds directly at risk.
Organizations running React or Next.js applications should:
- Patch immediately: Upgrade React Server Components to versions 19.0.1, 19.1.2 or 19.2.1, or later patched releases, and update Next.js according to its security advisory.
- Rotate exposed credentials: Replace cloud keys, AI API tokens, database passwords, GitHub tokens and other secrets accessible from affected hosts.
- Check cloud identities: Review AWS, Azure and Google Cloud audit logs for suspicious access, including activity involving temporary credentials and managed identities.
- Inspect SSH access: Look for unfamiliar entries in authorized_keys, unexpected logins and suspicious scheduled tasks.
- Review AI usage: Check provider dashboards for unexpected API requests, unusual model usage and charges that employees cannot explain.
Users of affected AI-powered applications should also watch for unexpected subscription activity and report suspicious account behavior. Developers should avoid reusing API keys across applications and keep production secrets isolated.
CloudSEK has published a React2Keys exposure checker to help organizations investigate potential exposure.
In other news: SAP confirmed a security incident in its development environment amid reports that attackers used stolen employee authentication tokens to copy and alter source code, with no confirmation that modified code reached customers.





