Skip to content
VECTOR WIREAI INTELLIGENCE
UTC
Home

AI-Automated React2Keys Campaign Steals 50,000+ Credentials via React2Shell Flaw

The AI-driven React2Keys campaign exploited CVE-2025-55182 across 400-plus organizations to steal and validate cloud, database, and AI API keys.

An AI-automated campaign dubbed React2Keys stole more than 50,000 credentials from at least 19,000 unpatched NodeJS server hosts across 400-plus organizations by exploiting the critical React2Shell remote code execution vulnerability, BleepingComputer and Dark Reading reported1,2. Researchers at CloudSEK uncovered the ten-day operation, which ran from November 9 to November 19, after gaining access to the attacker's infrastructure and mapping its full activity. CloudSEK recovered a 1.9-million-line exfiltration log, per-victim data, and a toolkit comprising more than 900,000 files.

React2Shell, tracked as CVE-2025-55182, is a critical flaw in React Server Components that allows remote attackers to execute code without authentication on vulnerable servers, including those hosting Next.js applications. China-linked hackers began exploiting the vulnerability within hours of its December 2025 disclosure, and threat actors have since used it for ransomware, botnet, cryptomining, and automated credential theft operations.

Target discovery and secret harvesting

The React2Keys operator used newly issued TLS certificates to locate targets by polling six public Certificate Transparency logs every three minutes, turning new certificates into scan targets within minutes of deployment. The system deduplicated domains by registrable domain and fingerprinted them for Next.js from a previously compromised server's network, with roughly 3% of unique checked domains passing the Next.js check.

The campaign harvested cloud, AI, database, and CI/CD secrets from compromised servers. Targeted credentials included Amazon Web Services access keys and temporary session credentials, Azure managed-identity tokens, Google Cloud service-account keys, and API keys for Anthropic, OpenAI, and Google Gemini. The attacker also collected Claude Code OAuth tokens, GitHub access tokens, postgres, Redis, and MongoDB credentials, and cryptocurrency exchange API keys and wallet private keys. The operation accessed cloud identities, databases, Git repositories, and secrets managers beyond the initial hosts in some instances.

AI validation and persistence

The attacker checked the validity of harvested secrets, ranked them by estimated value, and flagged cryptocurrency credentials capable of moving funds. The operation assigned multiple AI services specific roles during key validation. OpenRouter tested stolen API keys against four Claude models, Microsoft Foundry checked access to Claude deployments, and Gemini verified stolen Google API keys. The attacker also used stolen Claude Code OAuth tokens to execute AI requests billed to victims.

CloudSEK found that the threat actor used stolen cloud credentials to expand scanning and planted an SSH key in compromised environments for persistent access. Stolen credentials and planted SSH access can remain usable even after organizations patch CVE-2025-55182. CloudSEK offers an online exposure-checking tool for the campaign and recommends that organizations patch affected systems, rotate exposed credentials, audit cloud identity and AI-platform usage, and check for unauthorized SSH keys.

Was this useful?

The day’s vector, in your inbox.

Vector Wire Daily: one dispatch each publishing day.