Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 6 min read

Notes on React2Keys: stolen AI tokens, key checks in victims' clouds, and why a valid signature names a key, not an actor

Disclosure first: this was verified and drafted with Claude, made by Anthropic. Anthropic's Claude Code and Claude models are the most frequently named AI services in the incident below, and Anthropic competes with OpenA

Disclosure first: this was verified and drafted with Claude, made by Anthropic. Anthropic's Claude Code and Claude models are the most frequently named AI services in the incident below, and Anthropic competes with OpenAI and Google, which are named too. The author is Representative Director of VeritasChain Co., Ltd., the operating base of VSO, which develops VAP.

On 30 November 2026 CloudSEK published an analysis of a campaign it calls React2Keys. VSO registered it on 2 December as V1130REACT2KEYS and corrected one of its own notes on 4 December. These notes are for people who run Next.js in production or keep AI provider credentials on servers, and for anyone who reads "signed and verified" as "done by the account holder".

The entry point

React2Shell is the common name for CVE-2025-55182, an unauthenticated remote code execution flaw in React Server Components. React disclosed it on 3 December 2025 with a CVSS score of 10.0: a crafted request to a Server Function endpoint is decoded unsafely and runs code on the server. The affected packages are react-server-dom-webpack, react-server-dom-parcel and react-server-dom-turbopack at 19.0, 19.1.0, 19.1.1 and 19.2.0; fixed versions are 19.0.1, 19.1.2 and 19.2.1. Frameworks that bundle them, Next.js among them, need their own upgrades.

React2Keys hit hosts that were still unpatched almost a year later. According to CloudSEK, the attacker polled six Certificate Transparency logs every three minutes, filtered newly certified hosts, and exploited the vulnerable ones. SecurityWeek, summarising CloudSEK, dates the start to 9 November 2026, mass exploitation to 9–18 November and the last exfiltration to 19 November.

What was taken

CloudSEK's account rests on what it recovered from the attacker's infrastructure: a 1.9-million-line exfiltration log, a toolkit of more than 900,000 files and scan-ledger databases. Its counts are more than 50,000 secrets from more than 19,000 victims, and CI/CD, cloud and AI infrastructure associated with more than 400 organisations in dozens of countries.

The secrets were whatever sat in the compromised hosts' environment: cloud, AI, database, payment, registrar, messaging and exchange keys, plus git archives. CloudSEK ranks them by estimated monetary value and gives no loss figure. It does not name the attacker.

How the AI services were used

This is where the brief that reached us went wrong, so it is worth being precise. CloudSEK describes:

  • Inference, one service. Victims' Claude Code login tokens were stolen, refreshed and used to run inference billed to the victims' subscriptions. What the inference was for is not stated.
  • Key checks, five services. OpenAI Codex keys tested with live streamed requests; OpenRouter keys tested against four Claude models; stolen Azure AI Foundry endpoints paired with stolen keys to test Claude deployments; the same check on OpenCode Zen and the Gemini API.
  • Victims' cloud accounts. Stolen AWS credentials used to submit Anthropic's use-case form for Amazon Bedrock and unlock gated Claude models; Google Cloud projects checked for billing and Vertex/Gemini access; a scan worker deployed as an AWS Lambda function in a stolen-credential account.
  • Persistence. An SSH public key appended to authorized_keys, so patching alone does not remove access.

CloudSEK calls the operation automated with AI assistance, citing a payload that loads from a .hermes/skills path as a hint of an AI-agent framework. It does not say AI found the flaw or wrote the tooling.

The brief called the key checks "unauthorised use", listed payment services and exchanges as breached (their credentials were stolen; the services were not shown breached), and called the compromise confirmed (no affected organisation's statement was found). Our own first note went the other way: it said CloudSEK does not describe victims' resources expanding the attack. It does, for cloud accounts. We corrected the note on 4 December; the verdict stays unconfirmed for AI subscriptions.

If you run Next.js with secrets on the host

CloudSEK's recommendations, condensed: check exposure; patch the React Server Components packages and upgrade Next.js; rotate every secret that was on an affected host, AI keys and OAuth tokens included; audit authorized_keys, cron and SSH logins; review cloud audit logs and AI platform usage for unusual calls, new IAM users and Bedrock access changes; and stop sharing hosts and secrets across applications.

One addition of ours, prompted by the Claude Code case: a stolen refresh token is not an API key, and rotating API keys does not end the sessions it keeps alive. Revoke those sessions as well.

A valid credential names a key, not an actor

To the AI provider, inference on a victim's refreshed token is the victim's usage. A signed record that verifies shows that a particular key signed it. It does not show who held that key.

VSO's framework, VAP v1.2, is explicit about how little it claims here. Conformance warrants only "the integrity, completeness (at anchor granularity), and attributability" of records (Β§1.6(c)). Signatures are a SHOULD (INT-005). "Attributable" is not defined. A candidate definition in the CHANGE-002 preparation register (F11, not adopted) would bind it to a key the verifier has established from trust information outside the record, and say that this establishes neither who controlled the key nor whether the act was authorised. Dated key-compromise declarations are a separate unadopted candidate (F12, second part).

Two further limits follow from the specification as written:

  1. The stolen use is not in the victim's records. It never passes the victim's recording points. On the victim's side it is a pre-measurement drop, outside any provenance mechanism by construction (Appendix A).
  2. Only another record can imply it. The specification says a missing event can be shown only against another record that implies its existence (Β§11.1; Appendix A, "Omission-evidence"). Here that is the provider's usage log. v1.2 does not specify comparing a provider's usage records with a customer's own. The cross-party mechanism (XREF, TRC-005) is optional and needs parties that agreed in advance to log corresponding events.

The brief suggested a research test case for "cryptographically valid records produced with stolen legitimate credentials". No VAP records were produced in this campaign, so it is hypothetical, but it is a fair test of verifier output. The accurate result is narrow: signature valid under key K; record unaltered since anchoring; holder of K at signing time not established.

The Canadian follow-up

The same brief carried new figures on the breach of NEXCOL, Canada's export-permit system (V1130CANADAGOV). Global Affairs Canada's update of 2 December is now the primary source: about 4,600 individuals or organisations and about 125,000 documents "affected", everyone contacted directly. It does not say anything was stolen, does not mention military goods, and does not say AI-enabled tools were used in this breach. Added as a dated follow-up.

What VAP would not have done

Patch React2Shell; detect or block the exploitation or exfiltration; revoke or rotate a key; stop inference billed to a victim; place any obligation on the attacker or a provider; tell a stolen credential's use from its holder's without a separate record of the use; identify the attacker, the affected organisations or their losses; recover actions nobody recorded. None of these.

Stage and standing

As of VSO's latest published count (25 October 2026): zero external implementations of VAP or any VAP profile, and zero Evidence Packs accepted in any proceeding. A previously published contract figure was withdrawn on 24 October 2026; the withdrawal does not establish a count of zero, and no contract, customer or revenue figure is asserted. VAP is a metaframework with no standing in the IETF, ISO/IEC JTC 1/SC 42, ITU-T or any other established standards body. The registry records are a first-party review, not independent verification.

Sources

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.