world

React2Keys Campaign Stole 50,000+ Cloud and AI Keys From 400 Orgs

CloudSEK uncovered React2Keys, an AI-automated campaign exploiting React2Shell in unpatched Node.js and Next.js servers to steal 50,000+ cloud and AI keys.

React2Keys Campaign Stole 50,000+ Cloud and AI Keys From 400 Orgs

What CloudSEK Disclosed on November 30

Security firm CloudSEK revealed on November 30, 2026, that an automated campaign dubbed React2Keys stole more than 50,000 credentials from at least 19,000 hosts across 400 organizations during a ten-day window between November 9 and November 19. According to CloudSEK, BleepingComputer, and MLQ.ai, the attackers exploited React2Shell (CVE-2025-55182) on unpatched Node.js and Next.js servers running React Server Components.

The stolen secrets span AWS, Azure, and GCP credentials alongside Anthropic, OpenAI, and Gemini API keys, Claude Code OAuth tokens, GitHub tokens, and database passwords. Crucially, the operators used AI-assisted triage to validate and rank stolen keys by monetary value, billing inference checks directly to compromised victim accounts.

How the React2Keys Pipeline Operates

CloudSEK's teardown shows a highly industrialized exploitation chain. A single unauthenticated POST request to any Server-Action-reachable endpoint delivers a crafted multipart payload carrying a weaponized React Flight object, triggering prototype pollution and JavaScript execution inside the live Node.js process. Output is returned inside the digest field of a thrown Error, turning Next.js's own production error handling into the exfiltration channel.

Once inside a Kubernetes pod, Lambda function, ECS Fargate task, or PM2 host, the payload harvests environment variables, .env.* files, cloud credentials, and container metadata—even exchanging Kubernetes/IRSA tokens via EKS Pod Identity for temporary AWS credentials when no static keys exist. Where AWS accounts were gated behind Bedrock's use-case form, automated scripts even submitted the form using stolen credentials. Harvested GitHub tokens then searched entire organizations for more secrets, while gateway credentials dumped third-party secrets vaults.

Why AI API Keys Are Now Prime Targets

React2Keys highlights a structural shift in attacker economics: LLM API keys and coding-agent OAuth tokens have joined cloud IAM keys and crypto wallets as first-tier loot. Validating stolen keys across roughly ten LLM providers lets attackers resell compute, hijack autonomous coding agents, or cover their own inference costs at victims' expense.

Just as troubling, CloudSEK found attackers appending their own SSH public keys to compromised authorized_keys files and building lateral-movement target lists. That means simply patching Next.js or React after the fact does not evict an intruder who already established persistent access or rotated secrets out of an external vault.

What Developers and DevOps Teams Should Do Immediately

Teams running React Server Components or Next.js should treat this as an active credential-rotation emergency, not just a routine dependency bump:

  • Upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later and apply vendor Next.js patches for CVE-2025-55182.
  • Rotate every secret exposed to affected hosts—including cloud IAM roles, AI provider API keys, Claude Code OAuth tokens, GitHub tokens, and secrets-manager gateway keys.
  • Audit authorized_keys, cron jobs, AWS CloudTrail, Bedrock model-access changes, and Kubernetes IRSA/Pod Identity logs for unauthorized usage.

What to Watch Next

Watch whether unpatched origin servers behind edge CDNs—which React2Keys actively probed by inferring Cloudflare IP ranges—trigger a second wave of automated exploitation, and how quickly cloud and AI providers roll out automated token-revocation alerts and spending caps for leaked API keys.

// sources

// WebZona Studio products

Need a product or service that does not exist yet?

Pitch your idea in our "50 Hours" program — every month we build one community idea free for everyone. Or explore our released products.

// comments (0)

// no comments yet.