Jones Web Designs & Development is now The Jones Foundry. What it means for clients

React2Keys campaign: stolen secrets from 400 organizations

A ten-day campaign used AI tools and the React2Shell flaw to steal credentials from unpatched Node.js servers. Patching alone will not undo the damage.

A campaign called React2Keys stole more than 50,000 credentials from at least 19,000 hosts at 400 organizations, BleepingComputer reports. Researchers at CloudSEK say the attacker used AI tools to automate the work and went after unpatched Node.js servers through the critical React2Shell flaw (CVE-2025-55182). If your business runs a Next.js site or app, this is worth checking today, even if you believe you have already patched.

How the React2Keys campaign worked

React2Shell is a critical flaw in React Server Components. It lets a remote attacker run code on a vulnerable server without logging in, and that includes servers hosting Next.js applications. According to BleepingComputer, China-linked hackers began exploiting it within hours of its disclosure in December 2025. Since then it has also shown up in ransomware, botnet, and cryptomining attacks, as well as automated credential theft.

CloudSEK says it gained access to the attacker's infrastructure and mapped the whole operation. What it recovered is large: an exfiltration log of 1.9 million lines, per-victim data, and a toolkit of more than 900,000 files. The researchers identified a ten-day run from November 9 to 19.

Finding targets was fast. The attacker watched six public Certificate Transparency logs every three minutes. These logs record newly issued TLS certificates, the ones that make a site's padlock work. In CloudSEK's words, "a new TLS certificate can become a scan target within minutes of deployment." The scanner then checked which domains looked like Next.js, and only about 3% of the unique domains it examined passed that test.

The practical lesson: a brand-new site does not stay quiet for long. If you launch something on a vulnerable framework version, automated tools may find it almost immediately.

What the attackers took, and how AI helped

The campaign was not after one kind of password. CloudSEK lists a wide range of targeted secrets:

  • AWS access keys and temporary session credentials
  • Azure managed-identity tokens
  • Google Cloud service-account keys
  • Anthropic, OpenAI, and Google Gemini API keys
  • Claude Code OAuth tokens
  • GitHub access tokens
  • PostgreSQL, Redis, and MongoDB credentials
  • Cryptocurrency exchange API keys and wallet private keys

In some cases the attacker got beyond the first server and reached cloud identities, databases, Git repositories, and secrets managers. That matters because one web server often holds the keys to much more than itself.

After collecting secrets, the attacker checked whether they still worked and ranked them by estimated value. Crypto credentials that could move funds were flagged. AI services played a role here too. According to the report, OpenRouter was used to test stolen API keys against four Claude models, Azure AI Foundry was used to check access to Claude deployments, and Gemini was used to verify stolen Google API keys. The attacker also used stolen Claude Code OAuth tokens to run AI requests that were billed to the victims.

For a small organization, that last point is easy to miss. Stolen AI keys are not only a privacy issue. They can turn into a surprise bill.

Why patching alone is not enough

This is the part many teams get wrong. CloudSEK found that the attacker planted an SSH key on compromised environments for persistent access, and used stolen cloud credentials to widen its scanning. BleepingComputer notes that stolen credentials and planted SSH access can remain usable after the flaw is patched.

In other words, patching closes the door but does not remove someone who is already inside or take back the keys they copied. If a vulnerable server was exposed at any point, treat the secrets on it as potentially seen by someone else.

Steps to take this week

CloudSEK recommends patching, rotating exposed credentials, auditing cloud identity and AI-platform usage, and checking for unauthorized SSH keys. Here is how that translates into a to-do list for a small team:

  • Patch first. Make sure any server running React Server Components or Next.js has the fix for CVE-2025-55182. Ask your developer or host to confirm in writing.
  • Rotate secrets that lived on those servers. That includes cloud keys, database passwords, GitHub tokens, and AI service keys. Issue new ones, then revoke the old ones.
  • Check for unfamiliar SSH keys. Review the authorized keys on affected servers and remove any you cannot account for.
  • Review AI and cloud billing. Look for usage you did not expect, especially on OpenAI, Anthropic, Gemini, or Azure accounts.
  • Look at your Git and secrets tools. Check access logs for logins or token use that do not match your team.
  • Use CloudSEK's exposure checker. BleepingComputer says CloudSEK offers an online tool to help organizations check their exposure to this campaign.
  • Keep secrets out of reach. Where you can, store keys in a secrets manager and give each key only the access it needs, so one breached server exposes less.

What this means if you do not run your own servers

Many small businesses and nonprofits rely on an agency, a freelancer, or a host to run their site. You do not need to understand the code, but you should ask a few direct questions. Does our site use Next.js or React Server Components? Was it patched for React2Shell, and when? Were any keys or passwords rotated afterward? A clear answer is a good sign. A vague one is a reason to dig further.

It is also worth knowing what an outsider can see about your site right now. Want to know how exposed your own site is? Start with a free external scan.

The React2Keys campaign is a reminder that speed cuts both ways. Attackers used automation to find and test targets quickly, and defenders need to respond just as methodically: patch, rotate, and verify that nothing was left behind.

Sources

This post was drafted with AI from the reporting linked above and published by The Jones Foundry. For full details, read the original sources.

Found this useful? Pass it on to someone who would want to know.

All Online Security posts →