Abstract illustration on a dark slate field: six thin vertical columns of pale light stand at the left like scanning beams, and from them a single stream of small amber key-shaped outlines is drawn across empty space into a low stack of translucent server slabs at the right, where one slab glows faintly. Thin cyan grid lines run beneath. No text, letters, numbers, people or organisation logos appear. The OrcaRouter logo is composited in the bottom-right corner.
AI Safety Incidents

React2Keys Stole 50,000 Credentials, Then It Used Their AI Keys

Author

Rowan Sterling

Date Published

Models in this article · 4View all models →
Back to all posts

Between 9 and 19 November 2026, an automated operation exploited React2Shell — CVE-2025-55182, a CVSS 10 unauthenticated remote code execution flaw in React Server Components and Next.js Server Actions — and pulled more than 50,000 credentials out of 19,000-plus internet-facing hosts belonging to more than 400 organisations (BleepingComputer, 30 November 2026; SecurityWeek). The flaw had been disclosed in December 2025; nearly a year later, the number of systems still open to it was large enough to be found by machine. CloudSEK, the threat-intelligence firm that reconstructed the campaign from the attacker's own recovered infrastructure, named it React2Keys and published its report on 30 November 2026. What came out was not a pile of password hashes: AWS, Azure and Google Cloud identities, database logins, full Git archives, payment, registrar and cryptocurrency credentials, and AI provider keys the actor then tested against live services. Stolen Claude Code login tokens were refreshed and used to run inference billed to the victims' subscriptions (CloudSEK, 30 November 2026). The full record, with its sources, severity and confidence grade, sits in the Orca AI Incident Archive, beside the SpyCloud and OpenCode entries on stolen AI coding-tool tokens and the WorkOS agent breach.

CloudSEK's evidence base is unusual for a campaign of this size. It recovered the operator's working files — a 1.9-million-line exfiltration log, per-victim result folders and a toolkit of more than 900,000 files — and built its account from the attacker's side of the wire rather than from victim reports (CloudSEK, 30 November 2026). That is a strength and a limit. It gives the report a level of mechanical detail few incident write-ups have, and it means almost every number in it comes from one firm's read of one recovered corpus. Nothing in the public record suggests an independent audit of those figures.

A scanner that never stopped looking

The discovery loop is the part of React2Keys that reads like a production system rather than a break-in. The actor polled six public Certificate Transparency logs every three minutes, so a TLS certificate issued for a newly deployed domain became a candidate target within minutes of appearing (CloudSEK, 30 November 2026). Domains were deduplicated by registrable domain and fingerprinted for Next.js; only about 3 per cent passed, which is roughly what one would expect from blind internet-wide scanning and explains why the campaign needed volume. The scanner ran 60 concurrent probes with TLS verification switched off.

Initial access was a single unauthenticated POST to a route reachable through a Server Action, carrying a crafted multipart body and a weaponised React Flight object. Prototype pollution in the deserialiser let attacker JavaScript run inside the live Node.js process. Command output came back in the digest field of a thrown Error — production error handling turned into an exfiltration channel. The exploit re-sent its body at every redirect hop, so an application sitting behind an authentication redirect was not wrongly written off as patched (CloudSEK, 30 November 2026). Where Cloudflare blocked the payload, a module tried to work out the origin server behind the edge and hit that address directly instead.

Once inside, the payload worked out what it was running on — a Kubernetes pod, an AWS Lambda function, an ECS Fargate task, a PM2 host or a plain container — before it decided what to take. That ordering matters, because the same credential means different things on different runtimes: a Kubernetes service-account token is a path to a cloud role, while an environment variable on a Lambda function may be the only copy of a database password.

Data card on a dark slate field titled "Eleven days of exploitation, three weeks to a public report", with the source line "BleepingComputer and SecurityWeek, reporting CloudSEK's report of 30 November 2026". A vertical timeline lists five entries: 9 November 2026, campaign begins and mass exploitation starts; 9 to 18 November 2026, mass exploitation across 19,000-plus hosts; 19 November 2026, last exfiltration activity observed; 24 November 2026, CloudSEK dates its detection rule for the actor's SSH key; 30 November 2026, CloudSEK publishes the React2Keys report. Entries are marked with small squares, amber for attacker activity and teal for defender response. A footnote reads that CloudSEK's blog gives no start or end date and that the window comes from the two outlets' reporting. The OrcaRouter logo is composited in the bottom-right corner.

What came back out

The harvesting stage was selective in a way that suggests the operator had done this before. The payload matched environment variables against credential patterns, then read .env files, cloud credential files, SSH keys, Kubernetes service-account tokens and non-standard .env.* names that a fixed list of filenames would miss. A server-side filter kept only values shaped like keys and threw away ordinary configuration, so the exfiltration log holds secrets rather than the contents of every application it touched (CloudSEK, 30 November 2026).

From there the campaign pivoted along whatever the host could reach:

• AWS. It queried container metadata and exchanged Kubernetes and IRSA tokens through EKS Pod Identity for temporary credentials. Stolen AWS keys were validated with hand-rolled request signing, apparently to avoid the SDK fingerprint a normal tool would leave. CloudSEK recovered 225 captured STS session-credential files holding ASIA-prefixed keys with expiry times, which indicates validation happening close to real time.

• Azure and Google Cloud. It took managed-identity tokens from the Azure Instance Metadata Service, and minted OAuth tokens from stolen Google service-account keys, inventorying Firebase apps and keys along the way.

• Databases. It installed PostgreSQL, Redis and MongoDB drivers at runtime and opened live connections to victims' databases. One read-only PostgreSQL superuser session dumped SMTP credentials and searched columns named for keys, secrets, tokens and passwords.

• Source code. It exfiltrated full Git archives, including infrastructure-as-code and commit history. A GitHub tool then used stolen tokens to search entire organisations for Anthropic keys, AWS secrets, private keys and mnemonic phrases — extending the exposure well beyond the server that was originally exploited.

• The secrets manager. A gateway credential found in an environment variable was used to pull every secret from a third-party secrets manager CloudSEK identifies as Infisical.

• Cryptocurrency. Credentials were classified by whether funds could actually be moved, across 11 exchanges; Binance keys were checked with real signed account calls routed through Tor.

• Amazon Bedrock. In one of the more pointed details, the actor submitted the Anthropic use-case form with stolen AWS credentials to unlock gated Claude models.

None of this required a novel exploit after the first POST. The vulnerability got the actor a shell; the environment variables did the rest.

The AI keys were not collateral

CloudSEK's report is organised around monetisation, and AI credentials sit inside that logic rather than beside it. Every stolen secret was scored by estimated monetary value and live-validated, then sorted into seven states: live, no-credit, quota-capped, organisation-disabled, workspace-scoped, dead and rate-limited. Valid but out-of-credit keys were kept rather than discarded, on the reasonable assumption that a quota resets. Validation was capped at ten probes per host, and cloud-metadata false positives were separated from genuine hits (CloudSEK, 30 November 2026).

The AI-specific tooling is set out service by service. Stolen Claude Code login tokens were refreshed and used to run inference billed to the victim's own subscription. OpenAI Codex keys were validated with real streamed requests launched from inside the victim's network. Azure AI Foundry endpoint URLs were paired with stolen keys and tested against Claude deployments. Google Gemini keys were validated live. A multi-model gateway, OpenCode Zen, was used to check keys across several model families. OpenRouter keys were tested against four Claude models, with live versus out-of-credit status recorded (CloudSEK, 30 November 2026; BleepingComputer, 30 November 2026). CloudSEK puts the number of LLM providers tested at roughly ten.

Data card on a pale blue field titled "What the actor did with each stolen AI credential", with the source line "CloudSEK, React2Keys, 30 November 2026". A six-row table pairs each service with the action recorded in the report: Claude Code, victim's own login tokens refreshed and inference billed to the victim's subscription; OpenAI Codex, stolen keys validated with streamed requests from inside the victim's network; Azure AI Foundry, stolen endpoint URLs paired with stolen keys and tested against Claude deployments; Google Gemini, keys validated live against the API; OpenCode Zen, multi-model gateway used to check keys across model families; OpenRouter, keys tested against four Claude models with live versus out-of-credit status recorded. The OrcaRouter logo is composited in the bottom-right corner.

The economics explain the sequence. A cloud identity can be spent immediately on compute; an AI key can be spent on inference that is harder to notice because the bill arrives at the end of the month, to an account the victim already pays. The one case that needs no key at all is Claude Code: a refreshed login token is not an API credential with a spend limit, it is a seat on someone else's subscription.

Did AI run the campaign? Two claims, two different evidence bases

Headlines have collapsed two things that CloudSEK's report keeps apart, and the distinction is the most useful thing a reader can take from the record.

Established: AI services were the target and the payout channel. The report documents, with recovered tooling, the theft and live validation of AI provider keys; the refresh and reuse of Claude Code login tokens; and testing against roughly ten LLM providers. This part is specific, reproducible in outline, and corroborated across the outlets that covered the report (BleepingComputer, 30 November 2026; eSecurity Planet).

Asserted, thinly evidenced: AI helped run the operation. CloudSEK describes the lifecycle as "automated with assistance from AI" and calls React2Keys an "AI-powered campaign". The artefact it offers for that is a scanner that "imports from a .hermes/skills path, hinting at an AI-agent framework" (CloudSEK, 30 November 2026). The report does not name a model, publish an agent trace, quote a prompt, or show a step that a conventional script could not perform. Its own description of the pipeline — polling six logs on a timer, fingerprinting responses, filtering values by shape, ranking by estimated value, capping probes — is a description of automation, and automation of that kind long predates language models.

Coverage splits along the same line without saying so. BleepingComputer's headline calls the campaign "AI-powered"; eSecurity Planet runs a section headed "AI helped attackers find valuable credentials" and describes automated discovery, collection, testing and ranking — which is the automation claim, not a generative one. CSO Online's account of the same report makes no claim that AI conducted the attack at all, and treats AI purely as a category of stolen access (CSO Online, 1 December 2026). None of these outlets examined the .hermes path independently; all of them are reading CloudSEK.

The archive grades AI involvement in this record as confirmed, and on the evidence above that is defensible in the sense that AI systems are unambiguously present in the incident: their keys were stolen, their endpoints were validated, and their subscriptions paid for the actor's inference. Whether an AI agent planned or drove the intrusion is a separate question that the published report raises without answering. Readers should treat "AI-powered" in this story as a vendor's characterisation supported by one path string, not as a reconstructed agent workflow.

Who was affected

CloudSEK's blog names no victim. Its companion exposure dashboard does. The public lookup page lists affected organisations with their domains and revenue figures; SecurityWeek's report names five at the top of that list: SoftBank, Mercell, FONASA, Senkadagala Finance and Harvard University (SecurityWeek). One caution belongs in the same sentence. On the dashboard those five sit at the top of a table whose revenue column also runs in descending order, from $44.1B to $1.3B across all ten entries, so the ordering should not be read as a severity or exposure ranking.

By country, the dashboard gives Brazil 22.9 per cent of affected hosts, India 18.4 per cent, Germany 13.6 per cent, Russia 10.7 per cent and France 7.1 per cent, with the rest spread across dozens of countries and top-level domains (CloudSEK exposure dashboard, accessed 4 December 2026). SecurityWeek gives the same five countries in the same order. The dashboard rounds the host count to "over 20,000", slightly above the 19,000-plus in the report.

Being listed is a statement about what CloudSEK's scan found on a domain, not an admission by the organisation that it lost data. This article found no public confirmation of a breach from any of the five named organisations, and no victim notification, regulator filing or law-enforcement statement connected to the campaign. CloudSEK's report mentions none. That absence is a gap in the record, not evidence that no notification was made.

Patching does not evict an SSH key

The campaign's persistence step is the reason its damage does not end at the patch. The actor appended its own SSH public key to a compromised account's authorized_keys file, with the key comment bluelocale-foothold, so access survived the upgrade that closed the vulnerability (CloudSEK, 30 November 2026). CloudSEK published a Sigma rule dated 24 November 2026, rated critical, that matches both the comment and the base64 key blob.

A companion pipeline built a 74-entry lateral-movement target list from harvested SSH credentials; CloudSEK does not confirm that a separate stage acted on it. The toolkit checked for competing cryptomining malware on hosts it reached but did not deploy its own. Stolen cloud tokens were reinvested in more scanning: a serverless AWS Lambda worker and a VM-fleet bundle carrying 1,483,686 additional target lines across 297 shard files, with workers deployed inside accounts the actor had already taken. Of nine live Telegram bot tokens found in the recovered material, one belonged to the actor and eight traced to victims.

Abstract illustration on a deep navy field: a tall wall of pale outlined blocks representing patched servers stands at the right, and a single thin amber line passes over the wall and enters a small dark keyhole-shaped opening near its base. Inside the wall, a faint teal outline of a key is embedded in one block. Thin cyan grid lines run across the floor. No text, letters, numbers, people or organisation logos appear. The OrcaRouter logo is composited in the bottom-right corner.

What CloudSEK says to do

The remediation advice is specific enough to act on, and it is written for organisations that may already have been compromised rather than for ones that might be.

• Check exposure first. CloudSEK runs a domain lookup at exposure.cloudsek.com/react2keys that returns exposure metadata and credential names without showing secret values.

• Patch, then keep going. Upgrade React Server Components packages to 19.0.1, 19.1.2, 19.2.1 or later, and move Next.js to a release patched for CVE-2025-55182 according to the vendor advisory.

• Rotate every secret on the host — cloud, AI, database, registrar, payment, messaging and secrets-manager gateway credentials. Patching does not invalidate a credential that has already left the building.

• Audit persistence. Inspect all authorized_keys files, cron jobs and SSH logins for the bluelocale-foothold comment and the key blob in the Sigma rule.

• Do not rely on "no static keys found". Review Kubernetes service-account activity, EKS Pod Identity and IRSA exchanges, and Azure managed-identity token use, because those paths produce credentials that never appear in an environment variable.

• Read the cloud and AI logs. CloudTrail and cloud audit logs for new IAM users, unusual calls, Bedrock access changes and unexpected instance deployments; AI platform usage for inference nobody on staff ran.

• Reduce blast radius. Run as non-root, isolate secrets per application, and stop sharing hosts between applications that do not need to share a fate.

CSO Online's coverage adds one control that matters specifically for AI keys: spending limits on AI accounts, so that a stolen credential cannot quietly run up a bill (CSO Online, 1 December 2026). It is a mitigation of the symptom rather than the cause, but it is also the only control in this story that would have made the Claude Code theft visible before the monthly invoice.

How the record is filed

The entry is a realised incident, not a forecast, dated 9 November 2026 at day precision with an end date of 19 November 2026, because the record treats the campaign window as the event. That window comes from BleepingComputer and SecurityWeek reading CloudSEK's report; the CloudSEK blog itself gives no start or end date, and says only that the report was published on 30 November 2026. Severity is high. The type tags are CRED, WEAPON and EXFIL: credentials taken at scale, attacker tooling built for the job, and data removed from victim systems. Real harm is recorded as true. AI involvement is recorded as confirmed — with the distinction drawn above between AI as loot and AI as operator. The region is GLOBAL, which matches a target list drawn from certificate transparency rather than from any one market.

Confidence is graded A and the record is not flagged as disputed. That fits the sourcing: CloudSEK's report is primary and unusually detailed, BleepingComputer, SecurityWeek, eSecurity Planet and CSO Online describe the same campaign and the same figures, and the one place coverage diverges is victim naming, not the incident itself. The archive summary's statement that victims are not named by CloudSEK holds for the blog and not for the companion dashboard; both are CloudSEK publications, and the discrepancy is noted here rather than smoothed over.

What tempers the grade is that every quantitative claim traces back to a single firm's reconstruction of a corpus it recovered, with no independent audit and no victim-side confirmation published. The 50,000 credentials, the 19,000 hosts, the 400 organisations and the 1.9-million-line log are CloudSEK's numbers. They are consistent across the outlets that repeated them, which is corroboration of the report's existence and content, not of its arithmetic. The campaign itself is not in doubt: a CVSS 10 flaw in a ubiquitous JavaScript framework went nearly a year without being fully patched, and someone built a factory for the credentials that gap exposed.