React2Keys: AI Campaign Steals 50,000+ Credentials via React2Shell

CloudSEK found an AI-run operation that exploited React2Shell to steal 50,000+ credentials from 19,000 hosts across 400 organizations in ten days.

CloudSEK says an AI-driven operation it calls React2Keys stole more than 50,000 credentials from over 19,000 hosts across 400-plus organizations in ten days. The attacker exploited React2Shell (CVE-2025-55182), an unauthenticated RCE in React Server Components, and used AI tooling to find targets, harvest secrets, check which ones still worked, and rank them by value. If you run a Next.js app on Node.js that was ever exposed to the internet, this is worth ten minutes of your time even if you patched months ago.

What CloudSEK actually found

CloudSEK did not reconstruct this campaign from victim reports. It gained access to the attacker's own infrastructure and recovered the operator's working files: a 1.9-million-line exfiltration log, per-victim result folders, scan-ledger databases, and a toolkit of more than 900,000 files. That is an unusually direct view into how the operation actually ran, rather than an estimate built after the fact.

50,000+
credentials stolen across the campaign
19,000+
hosts hit across 400+ organizations
900,000+
files in the recovered attacker toolkit

How the automation worked

The operation reads like a pipeline, not a person with a terminal. The attacker polled six public Certificate Transparency logs every three minutes, so a newly issued TLS certificate could become a scan target within minutes of a server going live. From there, AI-assisted automation handled target discovery, exploitation, credential harvesting, validation, and ranking by estimated financial value, before a final triage step sorted what to use immediately from what to stockpile.

The validation step is the detail that stands out. CloudSEK recovered captured AWS STS session-credential files with short-lived, ASIA-prefixed access keys and visible expiry times, which only makes sense if the checks were happening close to real time, automatically, at the scale of thousands of hosts.

1 · Nov 9

Mass exploitation begins. The actor's scanners start hitting unpatched React2Shell hosts identified through CT log monitoring.

2 · Nov 9-18

Sustained exploitation across more than 19,000 hosts, with harvested secrets validated and ranked automatically as they come in.

3 · Nov 19

Last exfiltration activity observed before CloudSEK's visibility into the infrastructure ends.

What got taken, beyond passwords

The haul was not password dumps. Reporting on CloudSEK's breakdown lists roughly 2,989 AI provider keys (OpenAI, Anthropic, Gemini, Groq), 7,778 database credentials (PostgreSQL, MySQL, MongoDB, Redis), and 2,091 payment credentials (Stripe, Razorpay, PayPal), alongside cloud identities, domain registrar logins, and cryptocurrency wallet keys. In at least some victims, a single credential sitting in an environment variable pointed to a third-party secrets manager identified as Infisical. The attacker used that one gateway credential to pull every secret the vault held. Centralizing secrets did not help the organizations whose vault credential itself was sitting in cleartext in the app's environment.

GitHub access tokens and full Git archives came out too, which is how a web server compromise turns into a source-code and CI/CD problem.

Claude Code tokens billed to the victim

Stolen Claude Code OAuth tokens were reused to run AI inference, with the usage billed back to the victim's own subscription. That is a direct cost most breach-cost models do not account for: the victim's own account paying for the attacker's AI compute, on top of whatever else was taken.

The CVE, and why patching alone is not enough

CVE-2025-55182, nicknamed React2Shell, is an unauthenticated remote code execution flaw in the React Server Components "Flight" protocol, disclosed by Meta and Vercel on December 3, 2025, with a CVSS score of 10.0. React shipped fixes in 19.0.3, 19.1.4, and 19.2.3; Next.js shipped patched releases across its 14.x through 16.x lines. If you have not confirmed your running version against one of those, assume you are exposed.

But React2Keys ran eleven months after the CVE was public, against hosts that were simply never patched. That gap is the real lesson here, not the existence of the bug. And patching now does not undo what already happened: every AWS key, database password, and API token that sat in that server's environment at the time of compromise is still valid until someone rotates it. CloudSEK's own report frames this explicitly as a rotation problem as much as a patching problem.

If you patched React2Shell weeks after disclosure, patching is not the same as rotating. Any credential readable from that application's environment during the exposure window should be treated as compromised, whether or not you've seen evidence of misuse yet.

What to check now

  • Confirm your Next.js and React versions against the patched releases. Confirm the version number itself, rather than assuming an earlier update covered it.
  • Rotate every credential that was reachable from the application's environment: cloud keys, database logins, AI provider keys, secrets-manager gateway tokens, GitHub tokens.
  • Check AI provider billing and usage logs for activity you did not generate, including Claude Code usage tied to your organization's tokens.
  • If you use a third-party secrets manager, check whether the gateway credential used to reach it was itself stored in plaintext in the app's environment.

Patching React2Shell closes the door the attacker used to get in. It does nothing about the keys that already walked out that door, which is exactly the gap a gateway that keeps the raw key out of the app's process, and out of its environment variables, is built to narrow. KnoxCall makes a product in this space: an egress proxy that attaches the real third-party credential to outbound calls instead of handing it to the app, CI runner, or AI agent to hold.

Frequently asked questions

What is React2Keys?

React2Keys is CloudSEK's name for an AI-automated credential theft campaign that exploited the React2Shell vulnerability (CVE-2025-55182) to compromise more than 19,000 hosts across 400-plus organizations and steal over 50,000 credentials between November 9 and 19, 2026.

What is React2Shell CVE-2025-55182?

React2Shell is an unauthenticated remote code execution vulnerability in React Server Components, disclosed by Meta and Vercel on December 3, 2025, with a maximum CVSS score of 10.0. It primarily affects Next.js App Router deployments running on Node.js that have not applied the patched React or Next.js releases.

Does patching React2Shell remove the stolen credentials?

No. Patching closes the vulnerability that let the attacker in, but it does not revoke or change any credential the attacker already read from the server's environment. CloudSEK's report treats this as a rotation problem: any key, password, or token reachable from a compromised application must be rotated, not just patched around.

Were Claude Code tokens stolen and abused in this campaign?

Yes. CloudSEK found that stolen Claude Code OAuth tokens were reused to run AI inference requests, with the usage billed directly to the compromised victim's own subscription rather than to the attacker.

Sources

  1. React2Keys: AI-Powered React2Shell Campaign Steals 50,000+ AI, Cloud, Database, Payment, Registrar, and Crypto Keys from 19K+ Victims
  2. Hackers stole over 50,000 credentials in AI-assisted campaign, CloudSEK says
  3. AI-powered React2Keys campaign steals secrets from 400 organizations
  4. 50,000 Credentials Stolen in React2Keys Campaign
  5. 'React2Keys' Campaign Plunders Org Credentials via React2Shell
  6. React2Keys Campaign Exploits React2Shell to Steal 50,000+ Credentials
  7. AI-assisted cyberattack steals over 50,000 digital credentials from 19,000 servers in 10 days
  8. AI-powered React2Keys Steals 50,000 Credentials From 400 Organizations
  9. React2Keys: AI-Powered Campaign Exploits React2Shell to Steal 50,000+ Secrets
  10. React2Shell RCE Vulnerability (CVE-2025-55182)
  11. Critical Vulnerabilities in React and Next.js (React2Shell)
  12. React2Keys Credential Theft: Patch and Rotate

Patching React2Shell doesn't undo what React2Keys already took

KnoxCall injects the real third-party key at send time, so a compromised app or AI agent only ever holds a token, not the credential React2Keys was built to steal.

Start Free →

Or get new posts by email. Double opt-in, unsubscribe anytime.