AI & Compute · 3 min read
React2Keys Campaign Stole 50,000 Cloud and AI Keys From 400 Firms
An AI-assisted attacker stole 50,000+ cloud and AI credentials from 19,000 hosts at 400 organizations in ten days via the React2Shell flaw in Next.js, CloudSEK reported.
Key takeaways
- More than 50,000 credentials stolen from at least 19,000 hosts at 400 organizations between Nov. 9 and Nov. 19
- Attack vector was React2Shell (CVE-2025-55182), an unauthenticated RCE flaw in React Server Components on Next.js servers
- CloudSEK recovered a 1.9-million-line exfiltration log and a toolkit of more than 900,000 files from attacker infrastructure
- Attacker polled six Certificate Transparency logs every three minutes; only about 3% of scanned domains passed Next.js fingerprinting
- CloudSEK warns stolen keys and planted SSH access can outlive patching; it published an online exposure-check tool

An attacker stole more than 50,000 credentials from at least 19,000 hosts across 400 organizations in a ten-day campaign running from Nov. 9 to Nov. 19, according to security firm CloudSEK, in a report published by BleepingComputer on Monday, Nov. 30. The attacker automated the operation with AI tools. CloudSEK named the campaign React2Keys after gaining access to the attacker's infrastructure, where researchers recovered a 1.9-million-line exfiltration log and a toolkit of more than 900,000 files.
The initial access vector was React2Shell, tracked as CVE-2025-55182, a critical flaw in React Server Components that permits unauthenticated remote code execution on servers, including those running the Next.js framework. The vulnerability was disclosed in December 2025. China-linked hackers began exploiting it within hours of disclosure, though BleepingComputer did not attribute the React2Keys campaign to that group.
What did the attackers steal?
The haul covered the full span of modern cloud and AI infrastructure:
- AWS access keys and session credentials
- Azure managed-identity tokens
- Google Cloud service-account keys
- API keys for Anthropic, OpenAI and Google Gemini
- Claude Code OAuth tokens and GitHub tokens
- PostgreSQL, Redis and MongoDB logins
- Cryptocurrency exchange API keys and wallet private keys
The attacker did not keep everything. CloudSEK said the stolen secrets were checked for validity and ranked by estimated value, with crypto credentials flagged when they could move funds.
Stolen AI keys were tested through OpenRouter against four Claude models, through Azure AI Foundry for Claude deployments, and against Gemini. Stolen Claude Code tokens were used to run AI requests billed to the victims. In some cases the attacker planted an SSH key for persistent access, then used stolen cloud credentials to widen its scanning and reach databases, Git repositories and secrets managers.
How were the victims found?
Target discovery relied on public infrastructure rather than stolen victim lists. The attacker polled six public Certificate Transparency logs every three minutes for newly issued TLS certificates, then fingerprinted those domains for Next.js deployments. "Only about 3% pass," CloudSEK said.
That 3% pass rate shaped the attack's economics. Scanning thousands of fresh domains every three minutes let the attacker find newly deployed Next.js servers before their operators had patched React2Shell.
Why does patching not close the incident?
CloudSEK's central warning is that remediation does not end at the fix. Stolen keys and planted SSH access can outlive the patch, the firm said. An organization that patches affected servers without rotating credentials leaves its cloud accounts, AI platforms and databases exposed to whoever holds the stolen secrets.
CloudSEK recommends four steps for affected organizations:
- Patch affected React and Next.js deployments
- Rotate any exposed credentials
- Audit cloud identity and AI-platform usage
- Check for unauthorized SSH keys
The firm also published an online tool for organizations to check whether their infrastructure was exposed during the campaign window.
What is the broader exposure?
The 400 confirmed organizations and 19,000 hosts represent what CloudSEK observed in a single ten-day window through one attacker's recovered logs. The scale of credential theft — more than 50,000 secrets spanning AWS, Azure, Google Cloud, three AI providers and crypto wallets — illustrates the concentration of sensitive keys inside JavaScript application servers. The attackers' ranking of stolen secrets by value suggests the campaign was run with commercial discipline rather than opportunistic vandalism.
For organizations running Next.js, the operational lesson from CloudSEK's findings is that disclosure-to-exploitation time now runs in hours, and credential rotation, not patching alone, determines whether an intrusion becomes a lasting breach.
mlq.ai (Source)
More from Grace Kim
Show full bio
Market editor covering people, launches and day-to-day practice in Semiconductors, chip manufacturing, hardware, AI compute at Chip Dispatch.
1,369 articles