Osegi
Security·2 min read

React2Keys: AI-assisted attack stole 50,000+ credentials

The React2Keys campaign used a React flaw to hit infrastructure tied to 400+ organisations, then used AI tools to check which stolen keys actually worked.

Illustration of a digital key being pulled out of a server rack, symbolising stolen cloud and AI access credentials.
Image: البوابة التقنية

Security firm CloudSEK has described React2Keys, an automated campaign that stole more than 50,000 credentials from infrastructure linked to over 400 organisations. The attacker even used AI tools to test whether the stolen keys still worked.

According to CloudSEK, more than 19,000 network hosts were compromised between 9 and 19 November. The researchers built their findings on logs and files they obtained from the attacker's own infrastructure. These showed a process automated from start to finish: finding vulnerable systems, collecting credentials, sorting them and checking that they were valid.

What is React2Shell, the flaw behind React2Keys?

The entry point was React2Shell, tracked as CVE-2025-55182. It is a critical bug that lets an attacker run code on a server remotely, with no login, when the server uses affected versions of React's server-side components. That includes apps built with the Next.js framework. The React team disclosed the flaw on 3 December 2025.

What was stolen?

The haul included access keys for Amazon AWS, Microsoft Azure and Google Cloud, plus API keys for OpenAI, Anthropic and Google Gemini. Credentials for databases, code repositories, payment services and crypto were also taken.

The researchers saw AI tools abused to validate the stolen keys. Authentication tokens for Claude Code were used to run AI requests on victims' subscriptions. The attacker also used cloud resources tied to stolen credentials to widen the operation.

This does not mean the AI and cloud providers themselves were breached. The keys belonged to those services' customers and were stored in environments that were compromised.

Is patching enough?

Not necessarily. CloudSEK warns that some systems may stay open to unauthorised access even after the flaw is fixed, because authentication keys were stolen and remote-access keys were added to some infected environments.

The company advises organisations to update React and Next.js to patched versions, revoke and replace credentials that may have leaked, review access logs for cloud and AI services, and check servers for unknown SSH keys. It also recommends trimming cloud identity permissions and isolating credentials per application. CloudSEK has released a tool that lets organisations search for their domains or work email addresses in the data the researchers found.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:cloudsekreact2keysreact2shellnextjscredential theftcloud security

More from this day

See all →

More in: Security

See all →