React2Keys campaign took 50,000 cloud, AI and Claude Code credentials from unpatched Next.js servers
CloudSEK says an AI-automated campaign it calls React2Keys used the React2Shell flaw to steal over 50,000 credentials from 19,000+ hosts tied to 400+ organizations, including AWS, Azure and GCP identities, AI API keys and Claude Code OAuth tokens. It planted an SSH key, so patching alone is not enough.
CloudSEK said on November 30 that an automated campaign it calls React2Keys exploited CVE-2025-55182 ("React2Shell"), an unauthenticated remote code execution flaw in React Server Components, to steal more than 50,000 credentials from over 19,000 hosts tied to more than 400 organizations (CloudSEK). BleepingComputer dates the campaign to November 9 to 19. The actor found targets by polling six Certificate Transparency logs every three minutes, then took AWS keys and temporary credentials, Azure managed-identity tokens from the instance metadata service, GCP service-account keys, AI provider keys, GitHub tokens and database passwords. It validated and ranked each secret by value, refreshed stolen Claude Code OAuth tokens to run inference billed to victims, and appended its own SSH key to authorized_keys. CloudSEK recovered a 1.9-million-line exfiltration log.
Why it matters
A web server's environment is a credential store. One pre-auth bug handed over the cloud identities and API keys the app could reach, plus the metadata service tokens of the workload itself, and the attacker turned AI keys into free compute (LLMjacking). The planted SSH key means a patched host can still be owned.
Patch React Server Components to 19.0.1, 19.1.2, 19.2.1 or later and move Next.js to a fixed release. Then rotate every secret the host held, revoke AI and GitHub tokens, and remove unknown authorized_keys entries. Review CloudTrail, Kubernetes service-account and EKS Pod Identity activity, and Microsoft Entra managed-identity sign-ins for the November window, and give each app its own narrowly scoped workload identity instead of shared keys.
Source: CloudSEK, BleepingComputer
Related on Start with Identity
- BlogGoogle: LLMjacking starts with stolen cloud identities and has cost some companies $1 million
Google Threat Intelligence Group and Mandiant say LLMjacking intrusions ran up more than $100,000 in fraudulent AI charges in a day and $1 million in total at s
- BlogBarracuda says a cloud key never retired after an AI vendor project opened ten accounts
Barracuda said a cloud access key it gave an AI vendor for a past project, and never retired, was taken in the vendor's October breach and used on November 1 an
- BlogCanary AWS keys sent in AI prompts were stolen from inference providers and used within hours
Dragos seeded about two million AI prompts with canary credentials and found data stolen from at least three inference hosting providers that had not noticed. B
- CVEtj-actions/changed-files tags repointed to dump CI secrets into logs
An attacker repointed tj-actions/changed-files version tags to a commit that read the GitHub Actions runner's memory and printed its secrets into workflow logs.
- CVETrivy release and GitHub Action tags hijacked to steal CI secrets
With credentials left valid by a non-atomic rotation, an attacker shipped a malicious Trivy v0.69.4 and repointed 76 of 77 trivy-action tags to code that dumped
- CVEOver-scoped CodeBuild GitHub token let an attacker ship code in Amazon Q Developer 1.84.0
An inappropriately scoped GitHub token in the CodeBuild configuration for the Amazon Q Developer VS Code extension let an attacker commit code that shipped auto