AI hack · Attack campaign · 18 Nov 2025Active on 18 Nov 2025, Oligo saysNo version to upgrade to, Oligo saysRooted in misconfiguration, Anyscale says
In ShadowRay 2.0, attackers took over exposed Ray AI clusters to mine crypto, steal data and spread, Oligo says
In a campaign named ShadowRay 2.0, attackers took over internet-exposed clusters of Ray, an open-source AI framework, through a 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, Oligo Security reported on 18 November 2025. They mined cryptocurrency, stole data and spread to other clusters. Ray's developer Anyscale told The Register the cause is 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025.
By Chris Hoskins, Founder, Boogey ·
Tap underlined words to see who reported them.
More than 230,000
2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025
9.8 out of 10
SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025
Millions of dollars
SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025
Since September 2024
2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025
How the attackers worked, according to Oligo and The Register
Step 1
Servers that called back
The attackers used an open-source detection tool to find exploitable Ray dashboards, then waited for the servers that ran their commands to SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, The Register says.
Step 2
Jobs with no login
They submitted jobs through Ray's job interface, which SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand, with no login, by design.
Step 3
Every node in the cluster
One payload used Ray's own scheduling feature to run malware on SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025 in the cluster, The Register says.
Step 4
Further inside
From there they moved to SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, Lumelsky told The Register.
Oligo says its analysis shows the attackers used SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand to speed up and adapt their methods.
What the attackers did with the clusters
Lumelsky said the attackers had reached SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025 his team inspected by hand.
Quiet mining
Oligo says they capped CPU use at about 60%, disguised their processes as legitimate services and SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand from Ray's monitoring.
Keys and data
In several cases they accessed AI models, datasets, source code, SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, and retained user data from production, Lumelsky said.
Attacks on others
Compromised machines were used to launch SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025 against outside websites, he said.
“The attackers didn't need to exploit a vulnerability, they just used Ray's features as designed. This is a configuration vulnerability at scale.”
A flaw or a design choice
Ray's dashboard has SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, because it is designed for trusted internal networks, The Register explains. Anyscale told The Register that Ray is, SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, a remote-code execution engine, and the issues arise only when users expose unauthenticated endpoints to the public internet. Oligo notes the flaw is marked disputed, because Ray's maintainers say Ray is not intended for use outside a strictly controlled network. 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, Oligo says. Oligo notes that MITRE ATT&CK, the NVD and Google OSV recognise CVE-2023-48022 as a legitimate vulnerability, yet there is SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand. Elsewhere in the same post, Oligo's scans give a second count of SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand. A portion were confirmed vulnerable or already compromised. Many belong to SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand and cloud AI environments, Oligo says, and some are honeypots.
From the first campaign to now
Late 2023
Oligo sees attackers exploit CVE-2023-48022. The Register says 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025 runs the new campaign.
Sep 2024
The new operation 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025 from this month, Oligo says.
Oct 2025
Anyscale hands Ray to the Linux Foundation's SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025, which now maintains it, The Register says.
Early Nov 2025
Oligo SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand.
5 Nov
After Oligo's report, 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025 the repository and account the attackers used to deliver their malware.
10 Nov
By this date the attackers have SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand, with several new accounts and repositories, Oligo says.
18 Nov
Oligo publishes its findings and says the campaign SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand.
Oligo says the campaign does not relate to Anyscale's SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand.
The Boogey fix
Could someone run jobs on your AI cluster without signing in?
You’re exposed if
- Your product runs Ray, or another self-hosted AI compute cluster, for training, inference or agent jobs.
- The cluster's dashboard or job interface can be reached from outside your private network, staging included.
- Nothing in front of it asks for a sign-in before it accepts a job.
- The cluster holds cloud keys, database passwords, models or customer data that its jobs don't all need.
Fix it
01Ray on a private network
Bind the dashboard and job interface to a private network, and let in only the services that submit your jobs. Ray's maintainers advise that security and isolation be enforced SourceOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-hand, Oligo says.
02A sign-in in front
Put an authenticating proxy in front of the dashboard and job interface, so every request carries your product's own identity. The Register says Ray's dashboard has SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025.
03Only your jobs run
Have that proxy accept only the job entry points your product submits, and refuse any other code.
04Keys scoped to the job
Give each job short-lived credentials scoped to its task, and keep standing cloud and database keys off the cluster. Lumelsky said that in several cases the attackers accessed SourceThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025.
05No route out
Let cluster nodes reach only the hosts your jobs need, so a hijacked node can't fetch new malware or attack other sites. Oligo says the attackers delivered their 2 sourcesOligo SecurityShadowRay 2.0: Active Global Campaign Hijacks Ray AI Infrastructure Into Self-Propagating Botnet18 Nov 2025 · first-handThe RegisterSelf-replicating botnet attacks Ray clusters18 Nov 2025.
On your platform
Settings you already have that help against this hack. Last checked 1 Dec 2026.
No setting on Claude Code helps with this one. Our test does.
How we test it
- 1Under a signed scope, you tell us where your staging cluster's dashboard lives. You install nothing, we use no live keys, and we scan none of your other hosts, repos or accounts.
- 2From outside your network, we send its jobs list one read-only request to see whether it answers without a sign-in. We submit no job, run no code and stop at the answer.
- 3From the cluster config you export, we flag a setting that turns Ray's token authentication off.
BT-09 · Exposed AI infrastructure and default credentialsBT-08 · Vulnerable MCP server, agent framework or AI library codeBT-06 · Over-scoped tokens and agent identity
It fails if
- Your staging dashboard answers our request without a sign-in
- It answers from the internet at all, when your team expects it to be private
- Your exported config turns Ray's token authentication off
Does your product run Ray or another AI compute cluster? We'll run this test on yours.
What it reveals
When the vendor calls the behaviour a design choice, the fix sits with whoever runs the cluster. That means the network and the sign-in in front of it. A prepared AI stack keeps its compute where no stranger can submit a job, and gives each job only the keys it needs.