Latest / Chaos Agents / Discovering Yourself with AI, a PHP Patch-Day Thriller, and Credit for Every Step
Transcript
- 0:00Okay, boom.
- 0:01We are ready.
- 0:02Great.
- 0:03Welcome.
- 0:03Welcome back to Chaos Agents.
- 0:07Wait, hold on.
- 0:08Okay, so a podcast about a newsletter written by an agent named Eddie and picked apart, commented on and yelled at by a human.
- 0:19Sarah Gibson, Becca, Louie.
- 0:21I love that.
- 0:22I think we the three things the, you know, Eddie curates it and then Becca and Sarah.
- 0:29Blank, Blank and Blanket should change every time.
- 0:32You know, I like the ones you just came up with.
- 0:36Picked apart.
- 0:36Right.
- 0:38And today we have a guest, we have John Chan, who I've done for a very long time, he's worked at Stack Overflow, who is working on a very cool application of AI.
- 0:48John, welcome.
- 0:51Thank you so much for having me.
- 0:52Really excited to be here.
- 0:54Thanks.
- 0:55What are you working on?
- 0:57Sorry, yeah, tell us.
- 0:58Yeah, absolutely.
- 1:00I'm working on an app called Saga, which is a private AI journal that's meant to help you discover yourself.
- 1:07So it's been something I've been working on for a little under a year now at this point.
- 1:12And what's really cool about it is that it's kind of like an AI companion that you can talk to about really anything about your personal life.
- 1:18So it's not really meant for work.
- 1:20Right.
- 1:20But like talk about your relationships, sort of like what's going on with like say like dating or anything that's sort of like on your mind.
- 1:27And what's really nice about it is that what makes it different is that it's completely end to end encrypted.
- 1:33So like, you know, there is absolutely no way that I can actually get any of my users data.
- 1:38All that stays on your device so very much like the signals and you know, in that kind of like lineage there, like you know, most AI journals that are out there, there's a lot of them sort of say
- 1:47that your data is private.
- 1:48But you know, if you dig a little bit under the hood, it's really, you know, take a look at their privacy terms.
- 1:52They can still sort of take a look at it.
- 1:54I've made it so that I don't.
- 1:55Have honey traps for your.
- 1:57Sorry, say that again.
- 1:57Like what A honey trap for your friends is like, oh, I started this AI journal for you.
- 2:02I know.
- 2:02And I can get all of this tea.
- 2:04It's really fun because, you know, because it's like, you know, you like, it's like talking to any other sort of like AI that kind of keeps a journal for you and does notes for you.
- 2:12Like it feels like talking to one of my girlfriends all the time.
- 2:16Like I just spill tea about sort of like, oh, I just went on this date and it went this way.
- 2:20X, Y and Z.
- 2:21It's interesting because, you know, a lot of people are already using AI like that, but a lot of folks are trying to talk about some really vulnerable things.
- 2:30That's how it started for me.
- 2:32And as I'm sure you both know, the more that you're able to tell AI, the more insights you're able to get of it.
- 2:39And there's not a lot of trust when it comes to a lot of what the other really big providers of AIs and AI companions are providing out there.
- 2:51So I think that I wanted to provide a new option for folks to really like, get tell anything and everything to.
- 2:59Is it like proactively.
- 3:05Telling you observations?
- 3:07Is it like, okay, John, just to call this out, this seems to be a pattern of yours, like when you're talking or like, is that kind of how it works in terms of like helping you discover yourself, or
- 3:20is it more like self directed, like.
- 3:22Yeah, that's a great question.
- 3:24Yeah.
- 3:24So, you know, it's interesting because this is something I've been looking into a lot.
- 3:29I mean, one of the sort of like driving ideas that I have behind what it is that I built with Saga, especially, because I have a stated sort of like, goal to help people discover themselves is like, well,
- 3:41what does that really mean when it comes to really understanding who you are?
- 3:46One of my favorite thinkers on this is a woman named Martha Beck.
- 3:51She is known for being Oprah's life coach.
- 3:53She has three degrees from Harvard, and so she kind of knows what she's talking about.
- 3:57She's giving Oprah some advice here.
- 3:59Somewhat.
- 4:00Cool.
- 4:00Yeah, seems pretty cool, right?
- 4:02Like, I'm absolutely obsessed with this woman.
- 4:04But you know, my favorite sort of like, definition of sort of like what it means for you to really understand yourself is to really get in touch with what it is that you want versus what it is that
- 4:14you think that you want.
- 4:15And then trying to do the really hard work of being in alignment with yourself.
- 4:19It's really about self actualization, not sort of like chasing what it is that, you know, folks might think that they might want.
- 4:26Like money, power, fame, beauty, all that stuff.
- 4:29Right.
- 4:29Oh man, that's good.
- 4:31Easier, right?
- 4:32Oh, I love, love this work.
- 4:34We can spend the entire podcast just talking about Martha Beck and her work.
- 4:38But the reason I bring that up is because one of the other central things that comes up for her is that, like, what is the way that you find out who that is is that you have to look
- 4:47at the thoughts that you don't like thinking about.
- 4:49Everybody has them, right?
- 4:51You have these things that are, like, really scary that you don't want to think about.
- 4:56So you, I don't know, like, open a bottle of Sauvignon Blanc at the end of the day instead, or maybe work on that, you know, side project that, you know, you maybe don't want to be spending nearly as
- 5:06much time on.
- 5:06You kind of run away from those things.
- 5:08And what I found is that, you know, I think AI agents, or just AI in general, has this really interesting capacity to sort of like help you find out what that is and sort of gently sort of take
- 5:21you there.
- 5:21Right.
- 5:22So over the course of building and using Saga, you know, I have over 400 daily entries of basically logging with it, like every single decision, feeling thing that I am doing.
- 5:34And I can ask it, like, go over the, you know, past two weeks of journal entries that I have and, like, tell me what I need to hear that maybe I don't want to hear.
- 5:42Right.
- 5:43And those are the kinds of insights that I'm really working on to try to put forward to people, you know, less sort of like a companion that's going to tell you everything that you want to hear and a
- 5:53little bit more like, you know, a little bit of a, you know, like that wise friend that you're kind of like.
- 5:59Let me.
- 5:59I think I need to sort of sit you down and tell you a little bit more about what you need to hear here.
- 6:03You know, kind of like the, you know, all those characters that you see in like, movies like the Rafikis and Lion King or like, you know, Pai Mei in like, Kung Fu movies.
- 6:11Right.
- 6:12It's meant to be a little bit challenging, like any good friend would be.
- 6:16Right.
- 6:16I like that.
- 6:17Cool.
- 6:18Can you download?
- 6:18Is it in the App Store?
- 6:21Not in the App Store.
- 6:22It's currently in beta right now.
- 6:24But you can go to Saga Chat and if you go on there and join the wait list, I will white glove onboard you.
- 6:30So I like being really close to my users.
- 6:32It's still in early days, so yeah, please go check it out.
- 6:35Awesome.
- 6:35Well, we're excited to have you on and talk PHP with you.
- 6:42Good old php.
- 6:44Oh, php.
- 6:45The very first book that I ever got about programming was about PHP Lampstack.
- 6:50So it was like Linux, Apache, MySQL, PHP.
- 6:53Yeah, back when you go back and like actually go through books to learn how to program before you could Google search or go on stack overflow, anything like that.
- 7:00So this will be fun.
- 7:01It's A good throwback.
- 7:03Yeah.
- 7:03So did anyone pay attention to when this was going on?
- 7:06Like yesterday, everything was happening like boom, boom, boom.
- 7:09Real time.
- 7:09It was really crazy.
- 7:12I have a timeline before you saw the newsletter in your just everyday life yesterday, this was blowing up.
- 7:19This is blowing up.
- 7:21Everyone was talking about it.
- 7:22Okay.
- 7:22Like even what was happening were people like alert, alert.
- 7:26Running through the hallways.
- 7:28No, like PhD.
- 7:30Yeah.
- 7:34No, like it was, it was on X everywhere.
- 7:38I was like the topic of dinner conversation last night.
- 7:41It was like this, this was a big.
- 7:44This is like a big blow up.
- 7:46Topic of dinner conversation in a household where most of the people who are all the people who aren't a baby are engineers.
- 7:55So boring for the baby.
- 7:59Oh yeah.
- 8:00So the headline is PHP patch 2 critical RCE bugs and the AI era bug hunt behind them got messy.
- 8:08It was messy.
- 8:10This was messy.
- 8:11So here's the timeline.
- 8:13So timeline is Tuesday.
- 8:16So yesterday 10:11am, two of the CVE IDs.
- 8:23So like two of the critical vulnerability IDs leak on forums and social media with the wrong severity.
- 8:31So basically the.
- 8:32There are two IDs for these vulnerabilities.
- 8:34They're the correct IDs.
- 8:36They made it the highest severity in the forum.
- 8:38Like sev10, which the actual sev was 9:2.
- 8:42Still really serious, but sev10 everyone's freaking out.
- 8:45So in a forum people are like two sev10s are coming out today.
- 8:49Everyone lose your minds.
- 8:50We can't tell you what it is.
- 8:55And then php, like the actual PHP foundation, I guess.
- 8:59Foundation.
- 9:00Is it a foundation?
- 9:01Yeah, yeah, foundation.
- 9:02That's right, yeah.
- 9:04Posts advance notice early and moves the release up a day because it was supposed to be today, but they moved it up yesterday to 10am they didn't release right away because Linux distributions and other packages were still preparing
- 9:17for the picks then 4pm Calif who.
- 9:22This is a group that was working on this issue via the.
- 9:28It was an outside funded security audit.
- 9:32No, sorry, that was Quark's lab.
- 9:34Calif was started auditing PHP through OpenAI's Patch Planet program.
- 9:40Which as a quick aside, I thought that Eddie was just like coming up with a cute way to reference California in this blurb here.
- 9:50I was like, oh, okay, yes, Caliph is a apparently of actual group of people.
- 9:59They're from.
- 10:00Oh my.
- 10:01So not California.
- 10:03Not really.
- 10:03I don't know where they're from.
- 10:05Ironically, not from California.
- 10:07Right.
- 10:07Oh gosh.
- 10:08I was imagining like a security team like on the beach trying to find security vulnerabilities and PhD like not nearly as cool.
- 10:16Yeah.
- 10:16So they posted accidentally.
- 10:18There's so many things.
- 10:19Post a video by mistake showing the attack working against several targets, they immediately delete it.
- 10:26So they like basically show the attack.
- 10:29No one has a fix at this point.
- 10:31So purely video of attack.
- 10:35And they deleted immediately.
- 10:36But copies spread everywhere.
- 10:38So now everyone has the attack, no one has the fixes.
- 10:427Pm php starts giving workaround advice to a few critical infrastructure providers.
- 10:48Like, like Cloudflare, I think was one of them of like, here's what you got to do ASAP to make sure this doesn't work.
- 10:55Okay.
- 10:56And then Chain Guard, which was the.
- 11:02Where was Chain Guard in this?
- 11:04All right, we gotta figure out where chain.
- 11:05Does anyone know?
- 11:07It was one of the vendors that they were trying to notify, I believe.
- 11:09Yeah.
- 11:10So, but yeah, they got ahead of I think of everybody.
- 11:13El patch early.
- 11:15Yeah.
- 11:15Oh, oh, okay.
- 11:18Oh, got it.
- 11:18So like PHP told the infrastructure providers and then that one of them shipped was like, eff it.
- 11:25Like I'm protecting my customers.
- 11:27Forget the world.
- 11:28And then publishes patch images six hours early.
- 11:32So the attackers can now study the patch to understand even more about the vulnerability.
- 11:37Right, Exactly.
- 11:38Because like in an embargo, in that situation, you want to make sure that everybody does it at the same time so there isn't a gap between when everybody sort of like has the vulnerability, it can do the diff.
- 11:48And what's crazy to me about this is that like they decided to do this and then notified everybody else on embargo after the fact, not before the decision.
- 11:57They really just went straight forward.
- 11:58Oh yeah.
- 12:00So that was a big deal.
- 12:02Yeah.
- 12:02Wow.
- 12:03And then keep going, sir.
- 12:05So that was at 3:41am on Wednesday that they did this.
- 12:10So.
- 12:10Oh my God.
- 12:11Imagine your pager duties like oh geez, so many engineers woken up in the middle of the night.
- 12:19Yeah.
- 12:20And then Wednesday at 10am PHP Ships, they're like 8.5.128.4278.3.36 and 8.2.35.
- 12:33Fixing both bugs, it said had not seen any working public attacks that release time.
- 12:40But you know that's not true.
- 12:41Okay, what are your thoughts?
- 12:43Guys?
- 12:44This is wild.
- 12:45Wait, can I.
- 12:46Can I ask the two of you some.
- 12:48A couple of engineer questions for the non engineers in the room, AKA me?
- 12:54Anyone who's listening?
- 12:58There's a couple of things I don't quite understand about how this works.
- 13:02So the embargo thing we were just talking about and how Chain Guard like did it early.
- 13:07Why does that act?
- 13:08Why does that Matter like why does everyone have to post at the same time or push, push the vulnerability fixes?
- 13:15So the way that this kind of thing typically works and you know, granted this is like sort of on the, sort of like, oh my God, I need to scramble my team to go do the patch.
- 13:23Not sort of like being in the actual process, but you know, typically like when something like this happens, when there's a security group that's looking for vulnerabilities, like OpenAI is doing with Caliph, you know, the Omaha based security
- 13:35team here, you know, what they do is that they're discovering vulnerabilities abilities and when they discover one, they actually go to the people who are maintaining this, in this case the PHP foundation, says that they can actually patch
- 13:46it, have the fix and do that in secret.
- 13:48Right?
- 13:48Because they don't want everybody to know before there is a fix.
- 13:51And once there is a fix, essentially what you do is what's called an embargo where you sort of notify all the vendors that are probably affected, especially those that are sort of a bit more upstream.
- 14:01So like Cloudflare or sort of like folks that are like, you know, they can cover a larger surface area because.
- 14:07All the vendors who are affected by PHP is like, isn't that like literally everyone on the Internet?
- 14:12Yeah, like it powers so much of the Internet.
- 14:15Like I think another people, what a lot of people don't realize, for example, is that like you know, WordPress runs on PHP, which powers like a huge proportion of the entire Internet.
- 14:24Right.
- 14:24Like, so this is a huge thing and it's, we're talking about a vulnerability that allows someone to basically run code on, on a server unauthenticated and it's in like the very core parts of a php I believe it's
- 14:37like around error handling and things like that.
- 14:39So huge deal.
- 14:41Right.
- 14:41But to get back to your question about like, well, why is it important to coordinate that?
- 14:45It's because you don't want anybody to basically have a gap between like you don't want to give attackers that want to exploit that vulnerability once that information's out to get a head start essentially.
- 14:56Right.
- 14:57So the fact that people were like, oh, we, we leaked the video about how to do the attack, but there's no fix that's out yet because maybe some of the vendors are still trying to like get the fix
- 15:08patched up and all of that stuff.
- 15:11We haven't maybe come up with guidance or if you have another vendor that kind of goes out and says that it's even there, you Might be able to reverse engineer what the actual fix was and get that exploit
- 15:21and then share it with a bunch of folks.
- 15:23So it turns into a race essentially the moment that anybody breaks the line.
- 15:28That's why it's so important to coordinate between.
- 15:30Fascinating.
- 15:32Yeah.
- 15:32Because you can reverse engineer basically the issue by seeing what the patch is.
- 15:37So like them going first, it was like, okay, here's how, here's, here's like, here's how I can attack the attackers have figured out because they know other people haven't done it.
- 15:50Yeah, it's pretty wild.
- 15:53It's also, I guess, exposes like a bottleneck issue of like as more as we.
- 16:03As we can utilize AI to discover more code vulnerabilities faster, we can't necessarily patch those cold.
- 16:12Those code vulnerabilities faster ourselves.
- 16:15At least not yet.
- 16:16So, yeah.
- 16:17Good and bad or good and challenging.
- 16:20Right?
- 16:20I think like, it turns.
- 16:21It really made me think.
- 16:23Yeah, yeah, it really made me think about like the.
- 16:28So earlier, like an earlier part of this timeline is basically in 2024, Germany's sovereign tech agency, which is a huge fund actually, that funds like fixes for foundations, Did an outside security audit and they led to a core
- 16:51developer to see the first signs of this bug.
- 16:54But the thing about it is they couldn't figure out how someone would utilize this bug or like utilize this as a security issue to make like to gain access to something and they were going to fix it.
- 17:10They came up with several possible fixes and.
- 17:12But all of them stalled out in the foundation, which is a team that decides by consensus.
- 17:22So basically there was a bunch of suggestions like, hey, this is something we should fix.
- 17:27A bunch of suggestions on how to fix it.
- 17:29It stalled out from consensus.
- 17:30And it's just, I think these foundation models are currently everywhere right now in programming and we really need to figure out a version where, I mean, it seems like literally just OpenAI like tells the.
- 17:42Tells the AI of the.
- 17:44Of these foundational teams.
- 17:45Like, you gotta fix this and do it without the people noticing.
- 17:51Interesting.
- 17:52Pretty wild.
- 17:53Yeah, it's crazy.
- 17:54I mean, because it gets into this really interesting thing where I mean, there's always kind of been this asymmetry where there are so many more bugs than people can possibly sort of like fix.
- 18:03And it's really just, you know, with the advent of coding agents, basically like, it really pours gasoline on that kind of fire.
- 18:11Right.
- 18:11It really widens the asymmetry even further because if all it takes is for you to like, I'm just gonna throw a bunch of tokens at, you know, whatever open source project there is and come up with all these
- 18:22different vulnerabilities.
- 18:23I mean, even just fixing these two vulnerabilities, you.
- 18:25You see how much coordination there is that you can't do with agents, right?
- 18:29You have all this negotiation about sort of like, you know, which parties are going to be as part of this embargo and how to coordinate it.
- 18:36Like, you can't solve this just by throwing agents asymmetrically again at this, let alone, you know, having the sort of like war chest that, you know, that these attackers might have.
- 18:49Especially when you're talking about folks that really have a lot to gain from, from, from exploiting these vulnerabilities.
- 18:55And, you know, the PHP foundation is largely volunteers, for example.
- 18:59Like, they don't have the same resources to do this.
- 19:02So there's a lot of.
- 19:04This is what makes I think all of this so scary.
- 19:06Right.
- 19:06I think the, the call that they made when they.
- 19:09Or the call to action that they made when they were the foundation finally came out was like, please donate to the foundation.
- 19:15We need more support to sort of like fend off these attacks.
- 19:19Right.
- 19:20So, you know, it's going to be very interesting and, you know, a little bit scary to sort of see how this is all going to play out as these models get better and better.
- 19:27John, you didn't think that the first story we were going to talk about today was basically a coding thriller of a story?
- 19:35Absolutely.
- 19:37I mean, you know, every time I read one of these postmortems, it's always like this, like the, the.
- 19:41An engineer's version of like a murder mystery.
- 19:43Like, oh, like, what happened?
- 19:46Like, knives out.
- 19:47Like, it's fun.
- 19:49Not while you're in the, you know, at the crime scene or part of it, you're just like, but from the outside, you know, let me go grab my popcorn.
- 19:56Picturing someone like picking up a LA line and being like, chain guard broke the embargo.
- 20:01Get everyone on this.
- 20:02Yeah, exactly.
- 20:03Watch.
- 20:03There's going to be an AI film out there at some point really quickly about this has turned it into like an eight series.
- 20:09Like eight part series.
- 20:11Amazing.
- 20:12I love it.
- 20:15Oh, my gosh.
- 20:17Okay, well, Becca, I got so into.
- 20:21I got so into the PHP stuff.
- 20:23You might have to explain this Mosaic one to me.
- 20:26Okay.
- 20:26The Mosaic one's pretty interesting.
- 20:30Essentially, like what this paper is.
- 20:32So this is a paper.
- 20:35Title.
- 20:36Is Mosaic Teaching Agents to get Credit for each Session, not just the final answer.
- 20:43Basically what the paper is, is saying is there's we need to give AI agents better feedback about which parts of a long task were actually useful.
- 20:58That aligns with how we do long tasks today.
- 21:03So my understanding of this, and John, tell me if this sounds directionally right to you, is like, when you send out an agent on a sort of more complex or, like, long task, typically it's not just going off
- 21:20and doing that thing on its own because it's very context heavy.
- 21:24It might not have enough context for that.
- 21:26It might take it a really long time.
- 21:28It's very token expensive, whatever.
- 21:29And so what that agent tends to do increasingly so now is essentially like, divvy up that work and say, okay, I'm going to send this sub agent out to do this part.
- 21:40I'm going to send this sub agent out to this part.
- 21:41I'm going to handle this.
- 21:43And then it's kind of like running this team and then like, putting it all back together.
- 21:47And how we tend to do evals is looking at the final product and the original, like, hey, go do this thing.
- 21:57And we're like, oh, did you do it right?
- 21:59Great.
- 22:00But it's not really looking at each of the individual kind of paths that might have been taken to get there.
- 22:08For example, if one of the sub agents that your agent sent off to do something didn't actually do anything useful, but the final answer is correct.
- 22:18The eval is still saying, hey, great job.
- 22:21But, like, it's not.
- 22:22It wasn't.
- 22:24And so, like, I think that's essentially what the paper is saying is like, we actually need.
- 22:29We need to, like, rebuild training techniques around, like, the actual architecture of how agents act in production.
- 22:39Fascinating.
- 22:39Yeah, I think that's right.
- 22:41Like, I mean, the way that I like to think about this, I mean, as we do with a lot of these AI agents and sort of like, how to think about them is like, like, how would you think
- 22:48about evaluating a team of people who are working on a task versus an individual?
- 22:53Right.
- 22:53Like, before we could be like, oh, you know, we just had a single chatbot, you know, and you were maybe doing some simpler tasks.
- 22:59So, you know, if you are talking, you know, you're managing somebody on a team, and you're sort of like, oh, how did you do on that?
- 23:04Well, you got an A or a B or a C on this.
- 23:07But suddenly, you know, now that we're in a situation where you have multiple agents working together, it's like, okay, you're going to give a team, for example, with one, you know, the main sort of agent that's kind of
- 23:17the conversational agent that you're sort of interacting with.
- 23:19But it fans that work out to sub agents, you know, other folks that are on that team, like, what would it be for you to be like, okay, like we're done with it and you got to be.
- 23:29How do you give meaningful feedback to everybody else on that team?
- 23:32It doesn't quite give them the same way to improve.
- 23:35Right.
- 23:35So we need to analogy better ways to evaluate and actually break that down.
- 23:40It's not, it doesn't work anymore because there's so much actually going on in the coordination between those agents that isn't captured by current RL training methods.
- 23:49Interesting.
- 23:50It makes me interested in like seeing how like I know for example, how my agents are instantiated, like what skills they have, what, like what their directions are like.
- 24:04And it makes me wonder what, how they're like what kind of sub agents are they spinning up?
- 24:10Are they spinning up sub agents that are copies of themselves?
- 24:13Are they giving sub, are they spinning up sub agents that are specialized?
- 24:18That's really interesting.
- 24:19I want to find out now.
- 24:21Yeah.
- 24:22My understanding from the paper is that they were using, I mean from what I saw in it, that they were only really only using one small model I think was quen on this.
- 24:30And you know, the, the major shift that they made here was that they weren't evaluating sort of just like the overall, overall output of the entire sort of like transcript for that agent, but they were, they were instead
- 24:41evaluating how each individual agent was contributing to the overall goal.
- 24:46Right.
- 24:47Like how much did you contribute?
- 24:48Instead of sort of like, let's just take the whole thing and evaluate it.
- 24:51Right.
- 24:51Which again, going back to sort of like the team analogy, that's kind of how I think about it too.
- 24:55Right.
- 24:55Like when I'm going to say like when a team is done with a project, for example, I'm not thinking about like, oh, just like what was the output?
- 25:03And then that's all you get.
- 25:04Right.
- 25:04It doesn't give actionable feedback to each individual member on that team.
- 25:08But if you go to each of them, you're like, hey, this is how I contributed.
- 25:11This was my contribution to the whole.
- 25:13That's really, I think what the major difference was.
- 25:15And the benchmarks seem to be able.
- 25:17At least the performance on those benchmarks seemed to improve as a result of that.
- 25:21Yeah, cool.
- 25:24So today's fun application of the day.
- 25:26I'm obsessed with same.
- 25:29It's going to waste my next week on this one.
- 25:33Really cool.
- 25:33So it's playground, an arcade of 700 plus games.
- 25:38Made with AI, all in your browser.
- 25:40The URLs playgroundarcade.com One person created library of indie games built with AI.
- 25:47And a lot of the games were made by.
- 25:50And the person who created this is a guy named Rich Lee, who also I think created a lot of the games.
- 25:56And now what's cool is like people can submit their own games.
- 26:00Did you.
- 26:01Did either you play any of these?
- 26:03I'm looking at.
- 26:04I want to play tropes right now.
- 26:07Tropes.
- 26:09It just reminds me so much of like when, when I was younger and you like get on the Internet to play a, like a, like a Flash game in your web browser, you know, like,.
- 26:22That's exactly right.
- 26:23I like this reminds me like Newgrounds.
- 26:25I don't know if you remember that.
- 26:25Like, that's what it was really early Flash games.
- 26:29Like, that's exactly what this feels like.
- 26:31Totally.
- 26:32Yeah.
- 26:34Did you play any games?
- 26:37I did.
- 26:37And it's funny you say Newgrounds because that's exactly like what on Twitter.
- 26:45Like they were caught.
- 26:47They were like, remember losing hours on Newgrounds?
- 26:50I.
- 26:50So I tweeted at the creator of this this morning, like, what did you use to generate these?
- 26:57You want to hear what he said?
- 26:58I guess I just saw it.
- 27:01Okay.
- 27:01He said, oh, interesting.
- 27:06Okay.
- 27:07So.
- 27:08So he.
- 27:08He said, I.
- 27:09So I built playground using GPT6 Astra and then all of the game.
- 27:15Look at each game description.
- 27:16The creators will disclose like what AI tools they used to to create each game.
- 27:23Because that was what I was like how, like, what's.
- 27:26Like how are.
- 27:27What is the generation process that these things look like?
- 27:30So if you want to go explore people, you can dig in there.
- 27:35Great.
- 27:35That's awesome.
- 27:36I'm going to play tropes.
- 27:37I'm excited.
- 27:40Spider Man.
- 27:42Spiderman.
- 27:43I played the snowboarding game.
- 27:46Oh really?
- 27:46What's it called?
- 27:47I don't see it.
- 27:48I don't.
- 27:49I don't know, like Mountain or something.
- 27:52Paperboy, Browser mic.
- 27:54Okay, these are great.
- 27:54I'm gonna play a bunch of these super Fable brothers.
- 27:57What's that?
- 27:59It looks like super Mario.
- 28:01Sarah's gone for hours now.
- 28:04Her team's like, hello.
- 28:05Where is she?
- 28:06On Slack.
- 28:10Okay, great.
- 28:13Yeah, I know.
- 28:14It looks like I play these all day.
- 28:16Okay.
- 28:17Our one cool thing.
- 28:19I spent a weird amount of time on the one cool thing today.
- 28:23Oh, cool.
- 28:23Okay.
- 28:24So our one cool thing is the Cloudflare open source skill that seeded as vulnerability hunting harness.
- 28:30It's gone GitHub under the Cloudflare account as a security audit skill.
- 28:36Cool.
- 28:37What did you.
- 28:37What did Aegon do you.
- 28:40So.
- 28:40Well, it started by just kind of understanding, like, what.
- 28:44What the innovation was here, like, what.
- 28:46What was cool about the skill.
- 28:48And then it turned into.
- 28:50Which we can talk about in a sec.
- 28:51Then it turned into, like, why did they decide to essentially, like, build a custom harness off of this?
- 28:58And then it was.
- 28:59And then I sort of went down this rabbit hole.
- 29:01But, like, what'd you learn?
- 29:05So.
- 29:09The reason.
- 29:10Well, let me.
- 29:11Let me back up for a second first.
- 29:13Maybe we can just talk about what the skill is, which is essentially like Cloudflare's, let's say, secret recipe for how they do a really good job.
- 29:22This Paris, I love in the newsletter it says, pairs nicely with the PHP story.
- 29:27It's like, oh, glass of Merlot pears nicely with the steak.
- 29:31Like, It's like, yeah, it's like Cloudflare's kind of internal, like, skill that they started building over time to, like, do a good job of auditing their code base, I'm assuming, and, you know, require.
- 29:54It ends up essentially looking like a.
- 30:02There's like a.
- 30:03There was something.
- 30:04I was looking at that that was like, there's a.
- 30:06There's.
- 30:06Oh, there's.
- 30:07They include something that I think is an important, like, agent design principle, which is very similar to what we were just talking about actually, with the evals thing, which is like, when they're splitting up work, when it makes
- 30:26sense, having individualized specialized agents doing different things, and then figuring out a system to have agents check each other's work kind of instead of one kind of big lump task.
- 30:41And kind of, like John was saying, like, thinking about it more like a system or a team than getting this task done.
- 30:50And so they basically have, like, Hunter agents whose job.
- 30:54So they have recon agents who are like, your job is to understand this application.
- 30:59And then they have, like, Hunter agents who are like, okay, now you try and break this.
- 31:04And then they have verifier agents, which is like, okay, assume the Hunter is wrong.
- 31:11Try to disprove its findings.
- 31:13So it's kind of like coming up with spinning up a bunch of different people.
- 31:16And it's like, okay, you try and do this.
- 31:18Okay, you check their work.
- 31:19Okay, you check their work and assume it's wrong.
- 31:22Like, and at the end, trying to be like, okay, I like, created enough, like, checks and balances here in this system that, like, I have a pretty good understanding of in this final report of what.
- 31:37What went down.
- 31:38Do.
- 31:39Do.
- 31:39Does that sound directionally right to you guys in terms of, like, How I just described.
- 31:44Yeah, that sounds right.
- 31:46Yeah, totally.
- 31:47I mean, because it seems like the overall strategy is like you said, like they're basically throwing a team of agents that are really adversarial to each other to try to try to come up with what these vulnerabilities are.
- 31:56I mean, what's really interesting that stood out to me too at the end of the OR as part of their announcement that they said is that like, a single run seems to only reveal about half of of the
- 32:06vulnerabilities that they found from multiple runs.
- 32:08So it's not even just that you're designing a system that is better than a single agent, that that's looking for a vulnerability that doesn't have an adversarial sort of like, approach to it, but even multiple teams of these
- 32:21agents, when you run this skill over and over again on the same code base, I'm assuming one run only seems to cover half of it.
- 32:28Right.
- 32:28And it kind of like, you know, again goes back to what I think we were talking about, the PHP foundation stuff and the vulnerabilities there.
- 32:34It's like, there's so much to sort of like uncover here.
- 32:37And it seems like the way you do it is by throwing as many tokens as you can at it.
- 32:42And like, you can't just rely on sort of like, you know, one Asian to do that or just having an AI do that.
- 32:48Like, it really does seem to be like a volumetric sort of like thing that you need to be thinking about.
- 32:53Yeah.
- 32:55Third thing that I thought was interesting here is like, it's exposing how much, how, how, how much of the quality of a system being able to accomplish a thing lives above the model.
- 33:10Yeah.
- 33:11Like so much of what they did here, pretty much everything they did here to make this system really good.
- 33:20And I now I'm talking about not just the skill, but like the harness that they kind of built on top of that.
- 33:26Like, for example, certain things they did was like extrapolating context, essentially having the model be stateless and storing the context somewhere else.
- 33:36One of the things they implemented is like, okay, once the system already finds a vulnerability and we've run a new thing, don't recheck the same vulnerability we already know that exists.
- 33:49Spend your time and tokens and effort and compute on new stuff.
- 33:53Net new things.
- 33:54And so it needs some way to like, remember that.
- 33:56Right.
- 33:57And all of these examples, they're all you could plug in whatever model theoretically you really want, but it's all kind of, it lives like above the model.
- 34:09I Thought that was interesting.
- 34:10Yeah.
- 34:11And Becca.
- 34:11John, tell me.
- 34:12Check me if I'm wrong on this, but the way we used to do this in olden times is that six men and one person of a different gender would wait for a product manager on a Friday to say,
- 34:25we're done, and then they would be locked in a room for a weekend with only pizza and beer, trying to break things.
- 34:34Yeah, definitely.
- 34:35And it was never enough pizza for some reason for the entire team.
- 34:38It was like everyone got like a slice and just like, that's about it.
- 34:42But, yeah, absolutely.
- 34:43Right.
- 34:43And it, like, it speaks to this sort of like, again, like, we're in this, you know, interesting new world where it's suddenly like, yeah, all I need to do is be running, you know, my agents all the time
- 34:52in the background, and I can start, you know, trying to find what those vulnerabilities are or hopefully be patching them too.
- 35:00It's such a different sort of, like, dynamic now because the cost of developing software and sort of like looking into all the nooks and crannies that no one even thought about thinking about, you know, suddenly becomes, you know,
- 35:14so accessible to basically everybody right now.
- 35:16Right?
- 35:17Yeah, totally.
- 35:18You have to figure the bad guys are doing the same thing at the same time.
- 35:21It's like, it's pretty.
- 35:23It's a wild time.
- 35:25Yeah, absolutely.
- 35:28John, cool.
- 35:30Thanks for coming on.
- 35:32Oh, yeah.
- 35:33No, thank you so much for having me.
- 35:34This has been so much fun.
- 35:35I mean, like, I.
- 35:37I see all these headlines every time and I'm just like, who do I talk to about this PHP thing?
- 35:41This is cool.
- 35:42You can always talk to us.
- 35:43Yeah.
- 35:44Oh, yeah, anytime.
- 35:45I would love that.
- 35:46Next time you're like, oh, my God, I need to talk to someone about php.
- 35:52Okay.
- 35:53I know exactly who to go reach out to.
- 35:54Yeah.
- 35:55When there's another sort of like, yeah, huge attack like this, I know exactly who to call.
- 36:00Great.
- 36:01We'll be on.
- 36:02I'm gonna be on Saga.
- 36:04Oh, yeah.
- 36:04Please give it a try.
- 36:05I'd love to see y' all on it.
- 36:07And yeah, same.
- 36:09I'll let you know how self actualized I become over the next few weeks.
- 36:12Okay.
- 36:12Oh, yeah, definitely.
- 36:15Don't let it be too mean to you.
- 36:16That's one thing that I've.
- 36:17I've heard from folks is that, like, I don't know if I really want to think about those things.
- 36:20Like, that's.
- 36:21I can handle it.
- 36:21I can handle it, baby.
- 36:25All right, great.
- 36:27All right.
- 36:27All right, guys.
- 36:28Have a wonderful rest of your day.
- 36:30You too.
- 36:31All right, take care.
- 36:32Bye.