Everything Is Getting Hacked (it’s over)

summarized

TLDR

Two 10/10 PHP remote-code-execution bugs, a certificate authority that issued private keys as weak as the number 4, and a Railway breach exposing decrypted customer secrets landed within 48 hours, and David Ondrej attributes the surge to AI agents crawling the internet and chaining vulnerabilities. He argues the only defense is to run continuous AI agent loops against your own code, which he demonstrates with his own tool Cloud Room; the defense is concrete and replicable, while the agent-driven explanation is his interpretation rather than verified fact.

Key points

Two 10/10 PHP remote code execution vulnerabilities had exploit details leak about 15 hours before the patch.

Cloudflare reported PHP exploit attempts growing from thousands to millions within hours of disclosure.

Certificate authority E-Mudra issued private keys as weak as numbers 0 to 256, including the key 4.

A Railway breach exposed customer API keys stored decrypted, with no cleanup of old keys.

Ondrej attributes the recent wave of critical vulnerabilities to AI agents that find and chain bugs.

Tools mentioned

Techniques

  • Running frontier models at maximum reasoning effort to review code before shipping
  • Continuous autonomous agent loops that repeatedly review and attack your own codebase
  • Two-model adversarial review where a second frontier model filters false positives from the primary model
  • Cycling between models from different vendors because each model finds different bugs
  • Chunking a codebase into five to ten sections with a focused agent loop for each section
  • Self-archiving agent threads when no serious issue is found
Transcript (captions)

0:00 My name is David Andre and AI powered hacking is here because we've just seen the most insane 48 hours in the history of cyber security. So first of all people are calling this the black

0:11 October due to how many different vulnerabilities, exploits and hacks and also the severity of them right like literally every hour from the last 48 to 72 hours a new like 9.5 to 10 out of 10

0:24 incident has happened. And basically what's happening as Nick said there's like thousands tens of thousands of AI agents you know from different people different state actors different

0:34 companies crawling the internet finding vulnerabilities and issues in different softwares. So look at this. This is the graph of the CV uh number of CVS basically the number of vulnerabilities

0:47 over the last 25 years and it just went vertical right like in the last few months really the last month and especially the last 48 hours the number of new CV is being discovered is just

0:58 insane right cyber security is a booming field because of this but a lot of softwares including software you and me built um are becoming compromised so in the la just in just one day 30 severe

1:10 clear vulnerabilities uh in PHP, Node.js, enginex, Go, GitLab, and Mulhra. That was a crazy one. So, in this video, we're going to unpack the three worst ones. PHP to shell and mudra

1:23 cert certificates and railway. I'm going to tell you what went wrong in each of them. And I'm also going to show you the agent loops I'm running 24/7 on all of my repositories and and code bases to

1:33 make sure that I'm as protected as possible because we're entering an era of insane unprecedented um times when it comes to cyber security and nobody knows what it

1:44 will look like. It's literally swarms of agents attacking all software around the world. So the only way to defend yourself is to have your own Asian loops attacking your own code bases. But

1:52 again, more on that later. First, what happened? probably one of the worst ones, which it's kind of hard to say which was the worst one given how uh insane this was, was the PHP stuff,

2:02 right? So, there were two massive 10 out of 10 vulnerabilities in PHP. So, it's a programming language for those of you who are not aware and it basically runs in 70% of the web in some uh some sort,

2:14 right? So, the reason why this is really bad is um it wasn't just some small bug, right? It was remote code execution, allowing anybody to run any code on your own

2:26 server without even logging in, which is insanely bad in and of itself. But what's worse is that the details of this of these exploits got leaked like 15 hours before the actual patch came out.

2:39 So this affects anybody with a WordPress server, Media Wiki, Magento, Laravel and many many other uh web apps and servers. So u the CEO of Cloudflare said that they literally experienced millions

2:53 right. So some few stats from Cloudflare which is you know hosting tens of millions of sites in the 10 hours before it was publicly announced across the Cloudflare network they saw thousands of

3:03 attempts to exploit it that jumped to tens of thousands in the 45 minutes after it was announced hundreds of thousands within two hours and now it's millions of different you know actors

3:13 bad actors hackers trying to exploit different PHP servers. There was also a 10 out of 10 uh GitLab um CVE hidden for 12 years affecting basically lot of different GitLab

3:29 deployments. So absolutely insane um in unprecedented right the thing is like any of these if it happened in any year previously would be the story of the year like the cyber security story of

3:42 the year and we're getting all of this within like 48 hours right so um as I mentioned anybody like remote code execution um you know powering Wikipedia WordPress um everything like 70% of the

3:55 web this is not a small thing PHP is is one of the most popular web languages in the world and uh yeah just four different teams found it with the help of AI agents because you can just check

4:05 so many more different potential bugs and vulnerabilities and like chains chain the vulnerabilities together to escalate them into worse ones. And by the way, a first tip I'm going to show

4:14 you before I go into more advanced details with the full agent loops I'm running is that whatever software you build, just run a frontier model on review. Okay? So anytime you use

4:26 something and obviously you're using AI agents to build it, make sure you run the best possible model, right? The to put it simply the best available model from both Enthropic and OpenAI at max

4:36 reasoning effort against um that software before you ship it to production to just check that all of the lowhanging fruit and all of the main security issues have been addressed. And

4:45 again, the two key things are frontier models and at max reasoning. Okay, don't use some cheap uh 20B local model for this. So, let me actually show you what I'm doing, right? How I'm protecting my

4:57 own code bases, my own softwares, my own companies by running these agent loops constantly against my own repos because that's the only way to protect yourself. If somebody is using a swarm of agents

5:07 against your own company and against your software, you better be doing that to yourself and finding all of these holes and issues before they do. So, let me show you what I'm doing. So, let me

5:18 jump into Cloud Room here. And if you go top left, you can see the loops page. And here I have all of the active loops currently that I have. I have display split into priorities. So the first one

5:28 I'm going to show you is the web security test and that's this one runs every four hours and uses OPUS 5.51 million max. So again you want to use the frontier models. Currently from

5:40 Infropic it's Opus 5.5 and from OpenAI it's either GBT6 Astra or GBT 6.1 Soul. I think Soul is a bit better. It depends right. But the the best part for the most severe ones is you use both. And

5:53 again, I'm going to get to that in a second how I use both and when to use which. So it's very simple, right? The loops, as you can see, these are cloud loops. So the benefit of this is like

6:04 they start even when my m like MacBook is closed. So they always run. You need to make sure that your cyber security solutions are always running. See, it's kind of funny because

6:15 12 months ago, 18 months ago, you would be irresponsible if you used agents like this, if you just reviewed everything with uh AI, but now you're actually responsible if you don't use AI to

6:28 secure your codebase, right? So, Opus 5.5, I think it's it's insane, the best model in the world. You need to be running it in a loop, constantly testing different parts of your codebase. And

6:38 really that's the key idea like chunking it into like you know five to 10 different sections and it alternates between them and runs. So for example, this one I have every four hours and

6:47 again maximum reasoning effort uh best model from entropic simple schedule and I give it priority one and here here's the here's the prompt very simple right you don't need to have long prompts

6:58 that's the key like you just need to point these models at a specific part of the codebase and tell them what to do and the way it works inside of cloud room is basically it launches uh a new

7:08 threat every time it runs and if it doesn't find anything it self archives right so it's not bloating your sidebar with like endless threats. It just archives itself if there's nothing

7:18 serious. But if there's something worth fixing, it stays up and waits for your review. And later in the video, I'll also show you how to create fully autonomous loops where it can fix and

7:27 push straight to GitHub, straight into production, depending how you want it, obviously. Right? So that's the first one. Let me show you the second one, which is the dependency watch uh right

7:36 here. This one. So basically it checks u different dependencies um and by the way when it comes to dependencies and like third-party libraries and packages I think we're going to see more and more

7:48 people just building software from the ground up right as little third party dependencies as possible. In the past you know when you had like Python packages or different libraries it saved

7:59 you time. You you would just build faster because you can use a great library that somebody else built. Today you can just prompt Opus. You can prompt Astra, you can prompt GBD6. Soul and

8:09 these models can build anything, right? Like you really only have better imagination. And there's massive security liability having thousands of dependencies in your

8:19 codebase. Obviously, sometimes it will still make sense and it's not going to be like overnight where nobody's uses any dependencies. But I'm telling you this is a very easy prediction. I'm

8:28 confident in we will see more and more people just doing massive like audits of their entire system trying to remove as many third party dependencies as possible because again each of these

8:39 exposes you it increases your surface area and uh exposes how many of them like how many ways you could be attacked right so I have actually two different ones and I'm going to touch on the other

8:50 one later but this one is uh just like using deep API to scrape u scrape Twitter to see like what has happened every 30 minutes honestly I should probably make it more aggressive just

9:00 every 10 minutes. But the idea is that if there's a security vulnerability, it analyzes your whole codebase and just fixes it right away. So this one I would recommend running fully autonomously. Uh

9:10 because really you just want this patched ASAP. So these are the two ones I'm running regarding the PHP stuff. Now let's talk about the Mudhara, which is the internet

9:21 certificate. This one's probably the craziest one of them all. Now actually before I dive into this one, I'm just going to quickly explain what I'm doing here. So this is Cloud Room. It's a tool

9:32 I've built. It's fully open source and it's free to get started actually. And uh it's the ultimate AI coding tool. In fact, it's the only AI like AD agent development environment. The only AI

9:44 coding tool in the world where you can run cloud agents for free, right? We have a free plan which is free forever which allows you to run cloud agents uh where each agent runs in its own

9:54 isolated sandbox and no other tool in the world has this. We're the first ones to figure it out and also the first ones to support any harness. So whether it's

10:04 Hermes Pi Codex clo you use your favorite models. You use your favorite harness and your favorite um your your current subscriptions right your current um inference subscriptions you're

10:15 already paying for. And basically you can do your regular coding. So whe like whether it's like interacting with agents normally just talking with them or you can also build agent loops and

10:26 software factories which is where the future is headed. Right? In the future it will not be like me and you unblocking one agent at a time. It's really going to be managing these loops

10:34 and orchestrating them and like figuring out how to how to manage our software factory so that it ships higher quality code. It catches more bugs. It protects ourselves. So these are like really

10:44 innovative features that you'll not really find anywhere else. And by the way, the thing we launched uh today is actually templates. So all of the loops I'm showing you in this video, you can

10:53 just literally one click add them on your own code bases by taking the templates. And again, this is available even on the free plan. So if you want to start, you know, protecting your own

11:05 business, your own code bases, just download Cloud Room. Again, fully open source. you can go on GitHub and you can pen test it with your own agents and you know see how it works and just just get

11:14 started with the free plan and start doing this. So let's continue with the second u biggest issue. I mean this one's probably the biggest because uh this has

11:23 never happened in the history of cyber security. So this company a mudra which is an Indian company completely up that's the only way to say it like literally gross incompetence

11:35 the biggest incompetence in the world. So basically they were issuing these private certificates right and each key should be a 116digit number. So um it should like the possibility

11:49 should be like I think 2 to the power of 256 or something. But instead of doing that 2 to the^ of 256 they chose random numbers between 0 and 256. So literally one of them was four, the

12:03 number four, and that was their uh private key, right? And the reason why this is a bad issue is because they they like screwed over half of the internet, right? I had to spend multiple hours

12:12 patching my softwares and updating a lot of the dependencies because they're issuing internet certificates. So what that means is anybody can fake these certificates, especially when the number

12:20 is like four, and you know, try to like pretend when when joining a website that they're you or or or some like other admin, completely messing up like half of the world. So here's what happened,

12:32 right? Your browser um which could be Chrome, Brave, Safari, it trusts uh different websites based on these certificates. And if your certificate happened to be issued by E Mudra, if you

12:45 were so unfortunate, anybody could just literally use the private key number four or some other ones like they were just as bad to u sign in like literally uh

12:58 guess that certificate and just um pretend you were pretend they were you and or like access your web app, right? Absolutely terrible. So,

13:08 eight of these were tiny numbers. All of them are basically between like 0 and 256. So, they just didn't know what they're doing. And yeah, with them, anyone could fake any website. Your

13:16 bank, your email, anything really. So, let me show you this loop right here. Supply chain security sweep is right here. And uh it it's basically checks all of the like supply chain

13:33 hacks um and like again uses deep API which is a scraping API. It it like deep API is basically what I built before cloud room and it uses a lot of different scrapers for Twitter, for

13:45 GitHub, for different like news outlets to find these stories within literally minutes and uh the agent can just use it interacted through a single API. And a lot of these are kind of powered with

13:56 it. And by the way, look at what the agents are doing, right? So they write these show scripts so they don't have to like rewrite the same code because remember each of these agent loops

14:03 starts a new thread. In fact, we can probably just uh test this one. Let's see. Runs within a minute. So yeah, within a minute we should see it pop up. I just triggered like a run. Normally

14:13 this one is triggered every hour. And I'm telling you guys what I've seen in the last 48 hours. I think I'm going to probably probably re um reconsider how often these runs and probably just make

14:23 them like literally every 5 minutes. The obviously the consideration is the tokens. So you don't have to use Opus 5.5 for all of these. Like I would just recommend it for for the main loops. But

14:37 now we have very competent models across all um all parts. So for example, this one is using u obus 5 max. But most of these like when it's like scraping and searching, you can just use sonet 5.5 or

14:49 GPD6 Luna or even haiku 5.5 or or you know Deepseek V4.1 flash the 1017. Whoever works at Deepseek completely sucks at naming. This is just crazy. They should have named named it V 4.2

15:02 flash. But the model matters less. just use something good, you know, something frontier or near the frontier and give it a scraping API such as deep API so it can find these and run it on a frequent

15:13 loop. And here's what it looks like when it runs for example. Right? So here it analyzed the security sweep. Boom. Riskiest spots self-hosted runner blah blah blah. Uh uh

15:26 hopefully I can show this. I don't think I need to um I don't think I need to blur this. Okay, that's fine. Let me maybe show you a different one. Dependency diet, right? So this one

15:39 checks the dependencies. So yeah, it shows like maybe I should remove these, right? TypeScript 7, remark g, fm, rechart. So basically, yeah, these are just 21 packages, 18

15:51 packages, 13 packages that I should consider removing and replacing with my own code that's fully within my control. Um, just, you know, as lowle as possible. Basically the the main part is

16:01 all of this is running autonomously on these loops that you design. So the the third one I'm going to cover which is just as bad as the previous two is railway incident. So with railway which

16:11 is like a deployment platform for back end. I mean you can do front end as well. You can do a lot of different things um like radius cache. Basically um what happened is very similar to my

16:22 open core video which I posted a few days ago where they got attacked for the user's keys. Right. So with open code a lot of users were um using the bring bring your own key feature with open AI

16:36 API keys and forropic API keys and they got attacked specifically for these keys for a distillation attacked and with railway it was very similar. So, by the way, first of all, if you use railway

16:47 and this applies for this whole video, you should just run a frontier model opus 5.5 max ideally on all of your first of all on your computer and then on all of your

16:58 repositories telling it actually just screenshot literally just take a screenshot of this list right here and tell it to find all of these security vulnerabilities, educate itself

17:10 about them, and then analyze your whole computer and all of your software and to tell you what needs to be patched. So, all of you, you should do that right now as a one-time fix. But again, this is

17:19 only um going to get worse. And unless you want to be spending every single night and have many sleepless nights just patching your software and making sure your customers are not compromised,

17:28 you need to be automating this with agent loops. So, what happened with railway? So, people started noticing the platform um you know having outages and being down and then a lot of the

17:38 customers started boarding that their API keys were being drained. Deployments were down so you couldn't redeploy. you just needed to rotate those keys ASAP.

17:48 Um, but yeah, this was a this was really bad and I think a lot of people are predicting this might be the end of railway because earlier this year they were kind of bragging how u they're

17:58 being careless in in different ways in terms of like how fast they're shipping and and skipping some security steps. So railway was a easy target because they have a lot of customers just like open

18:09 code. So here this guy just woke up from AWS. your your AWS account may have been compromised and uh yeah basically what happened u was led down to the railway issue

18:25 there's been so many of these I I cannot include all the screenshots but companies deploy their stuff on railway it's a deployment platform just like many others and when you deploy stuff

18:36 you include some environment variables right could be from open AI could be database URL stripe AWS open router enthropic anything Right. And when there's a breach, um, these keys can

18:46 leak. Ideally, they would be like encrypted and and properly secured and and you know, somehow separated or decentralized, whatever. There's a lot of things you can do. Obviously, the

18:54 more security um the more inconvenience comes or depending on which obviously like what types of improvements, but uh railway I guess didn't have proper security. So, the breach was pretty bad.

19:08 So, what happened? attacker reached the system that stores customer secrets somewhere decrypted and this is really the basics of cyber security. If you're storing passwords or API keys, you need

19:20 to encrypt them. You cannot just have a table with like username and password, right? This is literally basics from 20 30 years ago of of software development and websites.

19:30 Your passwords and all of the sensitive data from your customers needs to be encrypted. So railway they just told users to rotate every key and post deploys. Um so

19:40 the issue is it was centralized where one platform railway held thousands of these API keys and old keys never got deleted. Um

19:49 it's it like just sat in a that service there had no like cleanup job to delete it. So that's another you can argue that's the customer issue but realistically if you're running a

19:57 deployment platform you should have systems for this. Um so yeah let me show you um what I have. So this one actually is is like probably one of the most important loops that I

20:10 have and that's just a general security sweep. So again, you can find it in the template right here. One click template to add it to any of your repos. And you should add it to all of the repos that

20:19 matter. And again, maybe on your most important, you know, company stuff or personal stuff, you run the frontier model like Opus 5.5. And on the less sensitive, you run like sonet 5.5 or

20:28 deepse 4.1 flash, right? But you need to run something. You need to run some AI model always running every hour, every two hours, sometimes more like every 5 minutes trying to find issues and and

20:40 flaws and security gaps in different parts of your codebase. So whether that's billing, whether that's authentication, whether that's the front end, the back end, the API, whatever,

20:48 split it into like again five to 10 different sections so that each of these loops, each of these engine loops are a bit more focused, focused just on just that one section of the codebase. And um

20:59 yeah, anytime the prompt is very simple the way I have it built in the templates and again the template comes with the model chosen, the reasoning effort chosen, the harness pre-selected, the

21:08 frequency as well as the prompt. And most of the prompts are very simple. Like if it doesn't find anything, it just archives itself. It doesn't linger in the uh sidebar because then it will

21:17 just pile up forever. It only stays there if it finds something serious, something worth fixing, presenting you with the clear fix and what to do. So uh again this one the security sweep is P1

21:29 and the reason for that is because it just analyzes whole code base um to check for the worst things and by the way the the best architecture is really using the second model as a reviewer. So

21:42 here I it's cycling between different models right GPT into opus into muse into GPT. So right now these are the best frontier models and you really want to cycle between them because each model

21:51 will find something different just like if you had three different human uh like security researchers or cyber security engineers and programmers on your team each of them would probably find

22:02 different gaps in your software. It's exactly the same with the AI models. So you want to kind of alternate between which ones you use. Now the main architecture that makes sure that it

22:14 doesn't like ship slope and just find issues that are not real is the sub agent right so maybe I can just uh draw it real quick the main agent um usually I use opus

22:26 it finds something so either there's two options right it doesn't find anything which is great and you know your code was secure so it let's say u it's empty finds nothing if it finds something.

22:39 There's two options. Either it's a real thing or it's overthinking or it's just something small because when you tell these models like find bugs, it's always going to find

22:47 something even when there's no serious bugs because again it's it's like tries to fulfill that problem. It's next token prediction that's kind of in the architecture. So how you prevent that?

22:56 Well, you run another model. So in this case, it would be a GPT 6.1 soul max, right? So if it doesn't find anything, perfect. just self archives. If it finds something, it

23:08 runs the GPT and that's in it's basically in adversarial review. The problem is like check this and kind of assume that like it might be overthinking, but if it's a real actual

23:19 bug, keep it open. Right? So, this guy has more of like a reviewer mindset, reviewer role to to see is this thing that Opus found really critical. Is it really worth fixing or or is it just a

23:32 small some small nitpicking? And if it is worth fixing, it tells it back to the Opus and it waits for your user's um approval. If it's not worth fixing, it just archives both of these threads.

23:45 Boom. Boom. And you don't see anything as the human. Nothing is wasting your time and your code was reviewed um and you can sleep happily. That's the main thing. So uh the beauty of this is again

23:57 you have two different models, two different frontier models from two different companies checking each other and only if both agree then the likelihood is it's probably a real issue

24:06 and you can set the reasoning efforts yourself. I would recommend using either extra high or max on these but uh you want to cycle between who's the main agent. So I I showed you the setup I

24:16 have between Opus Muse Wonder. By the way, a lot a lot of people are sleeping on these new models from Meta, which is Mark Zuckerber's company, MSL, Meta Super Intelligence Labs. Muse Wonder and

24:28 Muse Wonderful Full are are really good. Like they're one of the best models in the world. Not as good as Opus, but literally like comparable to GBD 6.1. So, so definitely run it for review. Kim

24:39 is about to release Kim K 3.1. Definitely use that as well for review because you want to use the widest range of different models possible, right? Even if that model is not as good to

24:48 work with, doesn't matter. You are reviewing your code for security vulnerabilities. You want to use a wide array of models from five to 10 different companies

24:57 checking all parts of your codebase basically. So that is the the way to get started. I know this can be intimidating. So a very simple um way to start is basically go and take some of

25:08 these templates and just enable the priority ones and maybe the P2. I put it here very simply for you so you know what's like P1 essential, P2 recommended. You don't need a P3, P4

25:18 ones. These are just nice to have. But I'm trying to make this as simple for you guys as possible because again this is not optional. Like literally this is what future of cyber security

25:28 looks like. Running swarms of agents attacking your own code bases trying to find as many issues and patching them autonomously preventively. And in the prompts you can define whether it should

25:40 push straight to production if it finds something or whether it should kind of wait for you and um and just like explain the issue and propose you the fix, right? That's entirely up to you

25:50 depending on what you're building, you know, how like how many people you have on your team, how many customers you have, and also what agent loop it is. If it's something small, maybe you can make

25:58 it fully autonomous. If it's a something more severe, maybe you make it half autonomous and it waits like waits for your review, waits for the approval basically with the proposed fix fully in

26:09 there. But if there's one thing you can do from this video, start running these agent loops, right? Pick one or two and just start running them against your own code. Not doing so is like gross

26:21 negligence. This is the cyber security of the future. It's not just hiring some expert. An expert can find this one time, right? If you pay a cyber security researcher couple thousand dollars,

26:32 sure, he can probably find issues in your codebase, but then he's going to go back to home to his wife and kids and he's not going to care about you. If you deploy an agent loop, you you literally

26:41 activate it once and it runs forever, right? And yes, it costs some tokens, but you can use different models. You can use Sonet 5.5, Haiku 5.5, Deep Seek V4. Flash, there's so many great models

26:51 that are like almost free that you can just be running constantly against your own code trying to find issues and bugs and and security holes and not doing so is just a big oversight. So again, go

27:05 ahead, go to cloudroom.dev, download it. It's open source, fully open source and free. We have a very generous free forever plan which gives you cloud agents. Again, the only tool

27:16 in the world that has cloud agents on the free plan. And then once you download it, go top left, click on loops and just take one of these templates what you want. You know, I would

27:25 recommend the general security sweep as well as the supply chain uh one and just add them one click add them to your repositories and uh that's it. It just you know you it will use the model and

27:36 it will run and if it finds something you'll see it in the left sidebar just like that. And if it doesn't find anything it will self-archchive and you'll never see it. But uh really we're

27:44 entering crazy times and if there's anything to take from this video guys, this is only only the beginning. Like if you think this is just a one time 48 hours and now it's going to get back to

27:54 normal, you're badly mistaken. This chart is going to continue and we're going to see more and more critical security vulnerabilities being discovered every single day. And yeah, I

28:02 think it's going to be like a three to six months like kind of transitionary period before everybody realizes like, oh AI agents are real. I need to be running max amounts of agents and m

28:13 burning maximums of tokens against my own code bases to protect myself and in six months in 12 months this is going to be completely normal and everybody will accept it as a standard. The question is

28:23 whether you'll be early to this or whether you'll be a late adopter. So hopefully you found this video valuable and um yeah I wish you guys a wonderful productive week. See you.

Frontier News · by Hyperjump Technology