> status: mostly fine. patch anyway.practical AI security · est. 2026

Brief · Both

An automated campaign used React2Shell to steal more than 50,000 secrets, and AI keys were the prize

By alkizz ·

On Nov 30, CloudSEK described a campaign it calls React2Keys: fully automated, AI-assisted credential theft built on React2Shell (CVE-2025-55182), the unauthenticated remote-code-execution bug in React Server Components and Next.js Server Actions. CloudSEK says it recovered the actor's infrastructure, including a 1.9-million-line exfiltration log and a toolkit of more than 900,000 files. From that material it reports more than 50,000 credentials taken from more than 19,000 victims, tied to more than 400 organizations.

The high-value credentials CloudSEK highlights start with AI provider keys, then cloud identities, then payment, registrar and crypto keys. If you ran an unpatched Next.js or React Server Components app, especially with those secrets in environment variables, assume they're burned. Patching the hole is not enough. You have to rotate.

How the campaign worked, as CloudSEK tells it

The actor polls six public Certificate Transparency logs every three minutes, so a host can be queued minutes after it gets a TLS certificate. It then exploits Server Actions without a login and harvests environment variables and known secret files. From there it pivots: cloud metadata and IRSA or managed-identity tokens, live database sessions, org-wide GitHub code search with a stolen token, and, in at least one case, a full dump of a secrets manager after the gateway credential was sitting in the app's environment. Keys are scored by estimated money value and live-tested, including against roughly ten LLM providers. Stolen Claude Code OAuth logins are refreshed and used for inference billed to the victim. Where a stolen AWS account is gated behind the Bedrock use-case form, a script submits the form with those credentials. The actor plants an SSH key for persistence, so a later patch does not kick them out, and reinvests stolen cloud accounts as scan workers.

CloudSEK also notes an import path under .hermes/skills, which it reads as a hint of an AI-agent framework. That's a clue, not a confirmed product name. What the evidence in the post shows is AI-assisted automation, plus AI keys as loot.

CloudSEK has an exposure checker. The published SSH key and other indicators are in the post; I'm not going to reprint them here.

What to do

Sources

← All briefs