Automated credential harvesting no longer waits weeks for internet-wide port sweeps to index newly provisioned cloud workloads. In threat research published across November 30–December 2, 2026, CloudSEK exposed React2Keys—a self-funding, AI-driven offensive campaign active between November 9 and November 19, 2026 that compromised over 19,000 servers (20,000+ monitored hosts across 400+ global organizations) and extracted more than 50,000 credentials using the critical React2Shell vulnerability (CVE-2025-55182 / Next.js CVE-2025-66478, CVSS 10.0).
By polling public Certificate Transparency (CT) logs every three minutes, locating unprotected origin IPs behind edge proxies, and feeding stolen cloud and LLM keys back into automated validation pipelines, the operators turned victims' own infrastructure budgets into scanning compute. Defending modern Next.js and React Server Components deployments requires immediate framework patching paired with origin-IP lockouts and private WireGuard network isolation via VPNRice.
Certificate Transparency Reconnaissance and Origin IP Discovery
Unlike opportunistic bots that scan static IPv4 blocks blindly, React2Keys built an event-driven targeting loop directly onto public TLS certificate issuance. CloudSEK recovered a 1.9-million-line exfiltration log, an attacker toolkit containing over 900,000 files, and 1.48 million additional queued target records detailing the exact reconnaissance sequence:
- Three-Minute CT-Log Polling: Scripts queried six public Certificate Transparency logs every 180 seconds, flagging newly issued domain certificates within minutes of cloud deployment.
- Next.js Fingerprinting From Compromised Peers: After deduplicating registrable domains, worker nodes already compromised in prior waves fingerprinted targets for vulnerable Next.js App Router signatures—passing roughly
3%of evaluated domains forward to exploitation. - Origin Server Probing Behind Cloudflare: When edge web application firewalls blocked initial exploit payloads, a dedicated inference module analyzed response patterns across failed probes to uncover exposed origin server IP addresses and hit the Node.js runtime directly without traversing the CDN proxy.
+------------------------------------------------------------------------------+
| REACT2KEYS: SELF-FUNDING CT-LOG & REACT2SHELL HARVESTING LOOP |
+------------------------------------------------------------------------------+
| 1. Polls 6 public Certificate Transparency logs every 3 minutes |
| New TLS certificate issued --> Target queued within minutes of launch |
| |
| 2. Compromised workers fingerprint Next.js App Router (~3% pass rate) |
| If edge WAF blocks payload -> probes uncover raw origin server IP |
| |
| 3. Sends crafted multipart POST (React Flight prototype pollution) |
| Executes JS inside Node.js -> leaks secrets via Error "digest" field |
| |
| 4. AI agents validate, rank & spend stolen AWS / OpenAI / Anthropic keys |
| Victim cloud & LLM accounts pay for next wave of scanning compute |
+------------------------------------------------------------------------------+
How React2Shell Flight Payloads Harvest Secrets via Error Digests
The core exploit targets CVE-2025-55182 (tracked downstream in Next.js as CVE-2025-66478), an unauthenticated remote code execution defect in the React Server Components (RSC) protocol affecting Next.js 15.x, 16.x, and canary 14.3.0+ builds using the App Router (Pages Router and Edge Runtime remained unaffected).
To trigger code execution without authentication, the scanner dispatches a single HTTP POST request to any Server-Action-reachable route carrying a crafted multipart payload containing a malicious React Flight object. Prototype pollution coerces the server into evaluating attacker-controlled JavaScript directly inside the live Node.js process. Rather than requiring an external reverse shell, the exploit serializes command output and .env environment dumps directly inside the digest property of a thrown production Error, returning stolen secrets transparently inside standard HTTP responses.
Breakdown of Fifty Thousand Stolen Cloud, AI, and Crypto Keys
Once inside, React2Keys automated secret extraction, validation, and black-market valuation using stolen LLM subscriptions across Claude Code, OpenAI Codex, Google Gemini, OpenRouter, and Azure AI Foundry, while hijacked cloud credentials funded fresh scanning VPS hosts.
CloudSEK's recovered dataset breaks down the stolen haul across eight secret classes and global exposure hotspots:
- Application & Authentication Secrets (
30,217total):20,636application tokens and API secrets (38.1%) plus9,581authentication secrets including session cookies and OAuth tokens (17.7%). - Databases & Cloud Infrastructure (
15,555total):7,778database credentials for PostgreSQL, MySQL, MongoDB, and Redis (14.4%) alongside7,777cloud identities across AWS, Microsoft Azure, Google Cloud, Cloudflare, and Vercel (14.4%). - Communications, AI, Payments & DevOps:
3,100messaging/email keys (Slack, Telegram, Twilio —5.7%),2,989AI provider API keys (OpenAI, Anthropic, Google Gemini, Groq),2,091payment keys (Stripe, Razorpay, PayPal), and166GitHub, GitLab, and npm tokens alongside cryptocurrency exchange and custody keys. - Geographic Distribution: Exposure spanned dozens of countries, led by Brazil (
22.9%), India (18.4%), Germany (13.6%), Russia (10.7%), and France (7.1%), impacting high-revenue enterprise and public-sector domains across telecom, finance, healthcare, and universities.
Upgrading Next.js and Auditing Server Action Exposure
Engineering teams running React Server Components must patch upstream dependencies, rotate every environment variable exposed prior to patching, and verify origin firewall isolation immediately:
# 1. Patch vulnerable Next.js App Router deployments to fixed releases
npx fix-react2shell-next
# Fixed versions: 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7, 16.0.7
# 2. Check package lockfiles for unpatched Next.js versions across hosts
node -e "console.log(require('./package-lock.json').packages['node_modules/next']?.version)"
# 3. Verify origin port 443 accepts traffic ONLY from trusted CDN / WireGuard ranges
sudo nft list ruleset | grep -E "dport (443|3000)|wg0"
Combine dependency updates with four mandatory operational controls:
- Rotate All Environment Secrets After Patching: Treat any
.envfile, cloud IAM role, database password, payment key, or LLM token present on unpatched App Router hosts as compromised and reissue credentials immediately. - Enforce Authenticated Origin Pulls & IP Allowlisting: Configure web servers (
nginx,caddy,nftables) so origin port443rejects direct internet probes completely, accepting HTTPS connections strictly from verified CDN IP ranges and internal WireGuard management interfaces. - Never Expose Staging Ports or Unhardened Apps on Public TLS: Avoid issuing public Let's Encrypt certificates for unpatched preview deployments that publish hostnames into public Certificate Transparency streams.
- Check Exposure Metadata: Query affected domains against CloudSEK's non-secret index (
exposure.cloudsek.com/react2keys) to identify impacted service categories before rotating tokens.
Hiding Staging Origins and Locking Egress With WireGuard
Public Certificate Transparency automation compresses the gap between spinning up a cloud server and facing automated RCE scans down to three minutes. Moving staging apps, internal admin panels, and DevOps deployment endpoints behind WireGuard tunnels on VPNRice removes those hostnames from public reconnaissance entirely.
Deploying VPNRice with WireGuard and RiceGuard seals three critical paths targeted by React2Keys:
- Keeping Staging and Admin Subdomains Off Public CT Logs: Serving internal Next.js dashboards, preview environments, and CI consoles solely inside an encrypted
wg0WireGuard overlay with internal DNS eliminates the need for public CT-logged TLS certificates on non-public apps. - Locking Origin Server Administration Behind Silent Cryptokey Routing: Because WireGuard drops unauthenticated packets silently during the
Noise_IKhandshake, origin hosts expose zero open SSH or admin HTTP surfaces to IP scanners probing behind CDN proxies. - Blocking Outbound Secret Validation via RiceGuard DNS and Egress Rules: Pairing RiceGuard DNS filtering with kernel
nftablesegress policies prevents compromised Node.js workers from resolving external exfiltration endpoints or calling unauthorized third-party validation APIs over unmonitored outbound routes.
Patching Next.js against CVE-2025-55182, locking origin IPs against direct probes, rotating exposed cloud and AI secrets, and anchoring staging plus admin connectivity inside WireGuard closes the reconnaissance-to-exploit pipeline powering React2Keys. Protect cloud origins, developer terminals, and internal web apps with Get VPNRice.



