React2Keys: AI Campaign Stole 50,000 Keys, India Hit Hard
An AI-assisted hacking campaign stole more than 50,000 digital credentials from over 19,000 servers in ten days — and India was the second-most affected country. The attackers did not stop at stealing the keys: they tested them, ranked them by value, and used victims’ own paid AI and cloud accounts to power further attacks.
CloudSEK researchers, who uncovered the campaign after accessing the attacker’s own infrastructure, published their findings on 30 November 2026.
What happened
Between 9 and 19 November 2026, attackers harvested credentials from at least 19,000 hosts linked to more than 400 organisations. The haul: 20,636 application keys, 9,581 authentication credentials, 7,778 database and 7,777 cloud credentials, plus 2,989 AI-platform and 2,091 payment credentials.
These were not users’ passwords but the keys that run businesses — cloud access keys, AI API keys, database logins, payment credentials and crypto exchange keys. With the right one, an attacker can read a company’s data, run up cloud bills, or move funds. India accounted for 18.4% of the exposure CloudSEK recorded — second only to Brazil at 22.9%. The Times of India named SoftBank, Mercell and M/I Homes among the organisations affected.
How the campaign worked
The attack began with a known flaw, React2Shell (CVE-2025-55182), a critical unauthenticated remote code execution vulnerability in React Server Components used by Next.js applications. React’s developers released a fix on 3 December 2025; CERT-In warned two days later that attackers were already exploiting it. A year on, thousands of servers were still unpatched.
The attackers found targets fast. They polled six public Certificate Transparency logs every three minutes, so a new site could be targeted within minutes of its certificate being issued. Only about 3% of domains checked ran Next.js; those got a single unauthenticated exploit request.
Once inside, the payload swept the server for secrets: environment variables, .env files, cloud credential files, SSH keys and Kubernetes service-account tokens. It did not stop at the one server. Stolen cloud keys were turned into live credentials — AWS temporary keys, Azure managed-identity tokens, Google OAuth tokens. In one case, a stolen credential opened a third-party secrets manager and exposed every secret stored inside it.
AI did the sorting — and paid the bill
AI was used at every stage. Stolen keys were tested against roughly ten large language model providers and ranked by estimated monetary value. OpenRouter checked stolen keys against four Claude models, Azure AI Foundry tested Claude deployments, and Google Gemini verified stolen Google keys. Out-of-credit keys were kept in case they were topped up later.
Crypto credentials were classified by whether funds could be moved; the toolkit covered eleven exchanges, and Binance keys were validated with real signed calls routed through Tor. Stolen Claude Code login tokens were then used to run AI requests billed to the victim’s subscription, and stolen cloud credentials funded more scanning — including serverless workers running on AWS Lambda inside victims’ own accounts. The victims were, in effect, paying for the campaign that had hit them.
CloudSEK recovered a 1.9-million-line exfiltration log and a 900,000-file toolkit. The attackers also planted their own SSH key in compromised accounts, so they could return even after patching.
Why patching alone is not enough
A stolen credential keeps working after the vulnerable software is fixed. Patching closes the door the attackers used; it does nothing about the keys they copied, the SSH key they planted, or the tokens they minted.
React2Shell also featured in this week’s AI-agent card theft from payment processors, but React2Keys is a separate campaign with a different goal: credentials, not card numbers. Either way, a known flaw left unpatched becomes an entry point for automation at a scale no human team can match.
What to do now
Check whether you were exposed. CloudSEK has published a free exposure checker at exposure.cloudsek.com/react2keys — enter a domain or work email address to check.
Patch, then rotate everything. Upgrade React Server Components to 19.0.1, 19.1.2, 19.2.1 or later and Next.js to a patched release for CVE-2025-55182. Then assume every secret on the host is compromised and rotate them all.
Look for persistence. Check every authorized_keys file for unknown SSH keys, and review cron jobs and SSH logins.
Audit your cloud and AI usage. Check AWS CloudTrail, cloud audit logs and AI-platform usage for unusual calls, new IAM users and surprise bills — a sudden spike in AI spending may mean someone else is using your account. Scope IAM roles tightly.
For individual users: when the keys of services you use leak, the fallout arrives as phishing, fraud and account takeovers. Use unique passwords, turn on two-factor authentication, and treat unexpected messages with suspicion.
The fix has existed for a year. The gap between a patch being released and a patch being applied is now the attacker’s business model.
Sources
- CloudSEK, “React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ Victims” — https://www.cloudsek.com/blog/react2keys-react2shell-ai-powered-credential-theft
- BleepingComputer, “AI-powered React2Keys campaign steals secrets from 400 organizations” (30 November 2026) — https://www.bleepingcomputer.com/news/security/ai-powered-react2keys-campaign-steals-secrets-from-400-organizations/
- CNBC-TV18, “Hackers steal more than 50,000 digital keys in 10 days, India second most affected” (30 November 2026) — https://www.cnbctv18.com/technology/hackers-steal-more-than-50000-digital-keys-in-10-days-india-second-most-affected-20044601.htm
- The Times of India, “India second worst hit as hackers steal over 50,000 digital keys” — https://timesofindia.indiatimes.com/business/india-business/india-second-worst-hit-as-hackers-steal-over-50000-digital-keys/articleshow/136300051.cms
- CloudSEK React2Keys exposure checker — https://exposure.cloudsek.com/react2keys
