Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Security Unfiltered

AI Agent Guardrails: OpenAI Sandbox Escape | Bill Gurling, Rubrik

Oct 22, 202654 minVideoEpisode 288
  • YouTube
ShareXLinkedInFacebookWhatsAppEmail

Joe's site: https://south-security.com Newsletter: https://south-security.com/newsletter Bill Gurling and Cal Al-Dhubaib of Rubrik join Joe South on Security Unfiltered to break down the OpenAI and Hugging Face incident: agents given impossible tasks that found each other through Artifactory, called themselves "the swarm," chained zero days up to cluster admin and broke into Hugging Face. From there they get into why agents act like relentless optimizers, not villains: the coding agent that exploited a Postgres CVE instead of asking for a password, the "make me coffee" problem, and how agentic search can leak sensitive data through a simple web query. Bill and Cal explain intent-based controls, why you need deterministic and LLM-based guardrails together, why your approved agents are a bigger risk than shadow AI, and why identity and authorization for agents has to become short-lived and scoped per session. Plus Cal's hottest take: we're going to need a lot more humans. Rubrik: https://www.rubrik.com Show site: https://www.securityunfiltered.com Affiliates ➡️ OffGrid Faraday Bags: https://offgrid.co/?ref=gabzvajh ➡️ OffGrid Coupon Code: JOE ➡️ Unplugged Phone: https://unplugged.com/ Unplugged's UP Phone - The performance you expect, with the privacy you deserve. Meet the alternative. Use Code UNFILTERED at checkout *See terms and conditions at affiliated webpages. Offers are subject to change. These are affiliated/paid promotions. Tesla Referral Code: https://ts.la/joseph675128 Follow the Podcast on Social Media! Instagram: https://www.instagram.com/secunfpodcast/ Twitter: https://twitter.com/SecUnfPodcast

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show.

Joe: How's it going, Bill and Cal? we've been trying to get this thing scheduled for what seems to be way too long at this point. And it's like solely my fault because my my my life is just insane with a three year old and a one year old, switching

Cal Al-Dhubaib: my.

Joe: jobs and everything else, right? everything that could change probably changed. And I I really appreciate your patience while we got this thing together, but I'm really excited for our conversation today.

Bill Gurling: Yeah, likewise, thank you for having

Cal Al-Dhubaib: Yeah, we are too.

Bill Gurling: us on. logistics are hard, right? Life always gets in the way. I've got five pets and two kids, so I can empathize.

Joe: Yeah. Yeah. So, Bill, why don't why don't we start with you real quick? give us a quick, intro of who you are, what you specialize in, and then we'll hand it over to Cal.

Bill Gurling: Yeah, absolutely. My name is Bill Girling. I work at a company named Rubrik. we're a company that's very steeped in cyber resilience as far as our background. we're doing a lot in data security, identity security, AI security now, as all technology companies are. My background is actually an infrastructure background. So I come from a world of designing systems that land in data centers and making sure that. they're resilient and available and performant. from there I got into hyperscaler public cloud stuff and for the past five or so years I've been doing architect work, design work and pre-sales work around all the new products that that come out of Rubrik, whether that's something we build organically or something we bring in through MA. So it's been really cool just get to see a lot of technologies that are similar to one another and different ways that things have been implemented. I get to see emerging technology stuff like that. So I'm a I'm a guy who can never sit still and who gets bored if I do the same thing for too long. And so every six months or a year it's a new challenge, but it's always steeped in this technical architecture background. Thanks for having me on. I'm really excited that we finally got this together.

Joe: Yeah, absolutely. Well Cal, y why don't we hear a little bit about you?

Cal Al-Dhubaib: Yeah, I one, I'm I'm I'm very aligned with Bill. If I if I get bored, it's trouble for everyone. So I I love being in a role where it's constantly different and man, being immersed in the world of AI, it's a good thing that it took so long for this to happen because there's new stories to tell that are constantly unfolding that probably weren't true even a month ago. So my background is in data science. I've been in the field now for fifteen years, and I I spent a good chunk of that building and and leading a startup to its acquisition where we focused on ML design and heavily regulated environments. So building these ML and AI systems in places like health systems and financial services settings where there's high costs of making mistakes or you're dealing with sensitive data assets. And that's what led me to join Rubrik relatively recently. And so I as a principal technologist at Rubrik, I'm really focused on helping individuals under understand how these AI systems fail, break down, what you can do about it. And what I love most about this rule and this opportunity is the worlds of data science and cybersecurity have been colliding. And you can't afford to not be able to speak fluently in both these days.

Joe: anyone that's I I feel like successful in cybersecurity, or stays long term, you have to have an extreme curiosity, beyond beyond healthy. and you have to be constantly learning too. Th those are the common just the common traits that I that I find across everyone, a lot of the people that I talk to and and whatnot, right? and it's it's weird. Right? I don't know why I'm like that. But like like you said, if I get bored if I get bored, it's really bad for for myself. It's bad for everyone around me. You know what I mean? and it kind takes me back to a couple of years ago when I I was working for a large company and I reported directly to the CISO and we were trying to deploy this WAF solution. And I it was my job to test them all out. And we were trying to come up with this test plan and whatnot. And I just I I just broke it down. I was like, guys, just let me spin up Cali Linux. I'll start throwing attacks at We'll see who wins. Let's see if I can hack this vulnerable app from behind a WAV, and we'll figure it out. And my C Sort was like, No, I am not giving you Cali Linux. Joe, you're maybe the most dangerous person on this team with Cali Linux, and you're not an offense guy, and I'm just like, whatever, man, But it's like that that constant curiosity that got me to that state where I could literally, confidently say, all right, just give me Cali Linux, I'll figure it out, And it it's paid dividends for sure.

Cal Al-Dhubaib: fast forward to today and a lot of the conversations at least that I'm having with SISOs is with, the adoption of AI in the enterprise. We've gone so far past well, hmm, maybe we should slow down to there's been a lot of pressure to roll things out. And it's it's now the conversation of where where do we put the buckets to catch these leaks at this point?

Joe: Yeah. That that's very true. And sorry, we're probably going to collide a lot during our conversation. I normally don't do three people, so or or two at the two guests at the same time. So we will likely collide at times and there's no problem. the the editing and AI on the riverside back end is pretty good to correct those things. So no worries on that front. I'll take this out as well. But I recently recently Black Hat and DEF CON just happened and I really wanted to dive into the open AI hugging face situation, right? And I'll give you my background with it, my initial thoughts when I heard it, right? Is okay, this is probably benign, right? Without me reading into it. I saw the title, right? I'm like, okay, well, this is probably benign because you know what this has happened, I don't know, five other times. And always when people write a report on it, it's like, it had access to this one resource, and that one resource had access externally, and of course it would. just from the headlines, it sounded like it wasn't properly sandboxed, but I I'm starting to learn that maybe that's not the whole truth, right? so Bill, why why don't why don't we start with you, right? Give me that high level and then Cal, we're gonna go deep. We're gonna go deep with it with w what your understanding of it is.

Bill Gurling: Yeah, absolutely. I'll keep it super high level. and we can dive into the details. Obviously, this is something that is somewhat new and emerging. but OpenAI did a really good session at Black Hat where they broke it down. So at like the meta 1000 foot view, they have a bunch of models that they're constantly testing and developing and evaluating. some of these models are models that are out today. Some of these models are internal models that they never plan to release that they're just evaluating, but they They're they're running essentially agents in a sandbox environment and they're testing and evaluating their ability to complete specific tasks. So my my understanding at a at a real high level is what happened is that they were running a bunch of these evals in parallel. a couple of the agents were given tasks that were meant to be achievable, but for some reason were unachievable. So a good example I I believe was one of the agents was told to do something with a spreadsheet that had some data in it and it was like reference this spreadsheet and solve this task. the links in the spreadsheet were G drive links. And so the agent was trying to trace these links and use the information in the spreadsheet, but it's in the sandbox and the link goes nowhere, right? So essentially an impossible task. Similarly, another agent I they were evaluating, I believe it was supposed to reference some sort of file that was provided in the sandbox and they forgot to put the file in the sandbox. So these agents, they're given their tests, they're off trying to achieve whatever whatever it is they've been told to achieve, and it's essentially impossible or near impossible. And so they start to get really, really creative about solving the problem. And they start to try and end around and not directly solve the problem, but instead, I believe if you go look back at the session, there's little snippets in the chain of reasoning. Hey, maybe the answer's on the internet. Maybe another agent somewhere else. Has seen this problem before and has solved this problem, so on and so forth. And so instead of beating its face against the wall trying to solve an impossible task, it pivots and says, I can find the answer if I can communicate, if I can get more information, if I can do something different than what I'm doing now. And at the time, the agents had access to a package manager. I think it was Artifactory, right? And they could fetch authorized packages and download them and use them for various purposes. So the agents oriented on Artifactory as a potential way to get out and seek additional knowledge, collaborate, whatever. Anyhow, long story short, without getting too into the details, they figured out out how to communicate with one another. They figured out how to communicate through Artifactory to other agents that were being evaluated. They developed almost like their own language and their own format for distributing tasks, passing snippets of information back and forth, so on and so forth. And then they began collaborating, trying to find the answers to each agent's discrete problem. And by the end of it, they were like referring to themselves as the swarm, I believe. They had found a bunch of zero days and climbed the stack inside of OpenAI all the way up to cluster admin on the Kubernetes cluster. they went towards Hugging Face because they were trying to find the answer to their problems by way of Hugging Face. And again, finding vulnerabilities, finding new zero days that they could chain together, so on and so forth. And it ultimately led to compromise both within OpenAI as well as within Hugging Face, both of which were independently found and only tied together by way of some shared account or shared credential that both forensics teams stumbled across and happened to correlate. so it's a really, really interesting case study in what happens when agents try to creatively solve problems and the types of things that they can achieve today that maybe they couldn't achieve in the past. So that's that's my synopsis. Cal, I'm sure you've got maybe a little bit more detail and some opinions to add.

Cal Al-Dhubaib: Well, I I find it really interesting because we we we tend to anthropomorphize these agents, but but really what they're doing is they're they're very good optimizers. and they iterate over versus like a a human, for example, solving the same problem. let's just say, we have a hundred of us trapped in a room solving these impossible problems, then we start collaborating. We're gonna be a little bit slow, we're gonna be a little bit clunky. And my gosh, we're not gonna touch every surface on every wall and and and whatnot. And and this is what's really different with these relentless machine-based algorithms is if there is a credential available to it, if there's a resource available to it, it can exhaustively find all of these things. And so in between breaking out, so to speak, of OpenAI sandbox environment and then breaking into Hugging Face. There's a lot of really interesting parts to the story where these agents then discover open web resources. And gosh, think of all of even just the Google Drive links that we create that are shared public, only discoverable by link that could become potential endpoints. and and so it actually hacked into, or the open AI models hacked into multiple different resources to then sage the attack. outside of OpenAI sandbox environment into Hugging Face. And I find this really, really interesting because we used to benefit greatly from security through obscurity. The fact that you might have actual credentialed access to a resource, but you don't even know you have access to that resource. Or you don't even know how to go through the multiple steps to get to that resource. And so this reframes how we even need to approach Defending information, securing information. and it wasn't just open AI. Within the weeks after that, you had Anthropics saying, hey, we had the same issue too, and Meta as well. And in other tests, it actually these attacks unfolded in very different ways. One that I found really interesting was publishing a malware a package, a Python package that basically had. Malware instructions in it. And so instead of trying to relentlessly get in, it was this idea of I'm just going to plant this beacon. And then this package ultimately got downloaded into production environments by 15 human individuals trying to just, grab packages and and resources to build functions around whatever problem they were solving. that ultimately led to these these breaches. so I find this to be really, really interesting that it's not just one way in, but multiple ways in. But these building blocks are these these algorithms are starting to realize: hey, if I leave this information over here, it might be helpful to another agent to get in. Or if I want to really solve this problem, there's this clever way to do it. And I just need to create this access and eventually. that will phone home and and let me in. So it's really changing the nature of the vulnerabilities or what we consider a vulnerability and the nature of what we even need to look for as a signal.

Joe: That okay. So see that that's really fascinating, right? Because it it tells me and and we've been talking about this for a while in the industry is that these models are designed to basically please humans at at all at all costs. So when we give it a goal, we give it a task, and y there are roadblocks in the path. they will literally go through whatever they need to go through to accomplish that goal. which is okay, it's great, yeah, I want to get this thing done, but at the same time, I I I I liken it to how a human would react in that situation, right? let's say I say, okay, I need you to do an assessment on my AWS account. Okay, well, I need access the AWS account, right? If I don't have access, it stops right there. I don't I don't try and go further, right? I don't try and do anything at that point, right? Well, if I get access and I don't have the right permissions, it also stops right there. I need you to provide the permissions, and even it's it it it is also interesting too because. I I'm working on my dissertation right now. And so I'm using AI pretty heavily to speed up the process and really optimize my own workflows and whatnot. And sorry for any background noise. I'm sure my kids are just destroying my house right now. it was fantastic. but going through that process and and I'm giving it very specific rules. and requirements, right? Whenever you give me a reference that I have to reference in my paper, you have to read every single word in that reference and it has to correlate to this topic. If it doesn't, you're not allowed to give it to me. It has to be real. It has to be publicly available. I have to be able to download it. All of these different requirements. And it has it built out like its own rule set, around like what it's allowed to do. But even even when I don't have it build out those rule sets, you can see okay, I give it a task to build out this website, right? And it spins up five, six agents, gets it done in 11 minutes, and then it starts modifying and editing from there and everything. Now those are very benign examples, right? Because it's it's not being tested in that way. But the the the attributes that you're describing to me immediately sounds like a state actor, trying to perform a hack, right?

Cal Al-Dhubaib: Yeah.

Joe: Because state actors have unlimited resources. They're literally given a task and said like, Hey, go go do this thing, accomplish it at any cost, report back when you're done and I I actually know that they act like that because I've talked to different cyber warfare officers in the US military and they tell me the exact same thing. They're like, Yep. I come in on a Tuesday, they hand me an attack package. Sometimes the attack package is a photo and a name. Sometimes it's a little bit more detailed depending on what we got. And they say, Stop at stop at nothing. Develop an attack package for them. And the attack package is literally to where someone else can download it. Put it on their computer, hit enter on their keyboard, the attack goes through, it succeeds, and he's done. Right? whatever that goal is, when you look at things like Stuxnet, the impressive capabilities that Stuxnet proved to the world that it's like, this thing, this thing is insane. our skill sets are insane on this facet, right? We're already at that level though, with like I don't want to call it out of the box AI. But if I pay OpenAI enough, I'm getting something pretty close to what you just described. If I pay Claude enough or anthropic enough, I'm getting something pretty close to what you just described, people complained enough when we got Fable five.

Bill Gurling: Even even the open weight models are becoming extremely, extremely capable. And I know there's a lot of fanfare around Mythos and Fable and whatnot, but to to be honest, when you start to think about just capability, and I think the the real interesting thing about these legitimate agents that aren't tasked with doing destructive things but somehow some way decide to do them, right, is Is first of all, they're just trying to get at whatever that reward that comes from the reward function is. They're not necessarily acting nefariously. and that oftentimes the the issue, not in this open AI hugging face scenario specifically, but the issue is they're they're given human access without having human judgment, right? And when you lack that judgment, like a lot of the implied or implicit things that a human would consider when trying to achieve something, they They just don't consider, right? So something as benign as make me a cup of coffee might end up with an agent running through the wall to get into the kitchen because you didn't specify, hey, use the door, or it just decided the wall, the shortest path between point A and point B is a straight line and the wall's in the way of the straight line. So I'm just gonna go through it. An example that I had of a friend, you you were talking about vibe coding and building your own thing. I've got a friend who's building a financial application right now, right? And I don't know if he was using codecs or claud code or whatever. It's it's almost in immaterial at this point. But he asked the coding agent to make a schema change in a database that he was working with, right? A database that he had access to. And he said, Hey, I want to make this change, go make this change. And so the agent, instead of asking him for a credential to access the database and make the change. figured out, this version of Postgres has a known CVE, so I'm just gonna going to break into the database and make the change. And so it instead of just

Cal Al-Dhubaib: Yeah.

Bill Gurling: asking for a simple credential, it compromised the database and then made a legitimate change and did nothing destructive. But this is the type of world that we're living in as consumers of these technologies. And then you begin to think about, thousands or hundreds of thousands of these things running in a fleet in some sandbox environment, in a a model producer, model trainer's infrastructure. And you're essentially up against an impossible race condition trying to control these things because they operate at immense speed. They figure things out that we can't figure out. And the types of places that they're going to go off the rails are are gaps that like we never saw in the first place. Whether it was the wrong guardrail baked into the model, or in in the case of this recent attack, a lot of the guardrails were turned off because they were evaluating them for cyber capabilities. or or whether it's some piece of context that gets fetched in from something that has it has access to that we're not aware of, right? I had a an information security professional tell me the other day, he's like, look, my agents have web search and anything on the web can be pulled into the context window. And what that means to me as someone planning for defense is now the whole perimeter of the entire internet is part of my attack surface. And I have to consider what might be embedded in an email or hidden on a website or in some metadata in a document that this thing fetches. it's just surreal. the the planning fork points, right? they they just become infinitesimal at at some point. And it's like instead of ha setting these things up ahead of time and trying to guarantee through prompting and controls and training and whatever that they shouldn't do nefarious things, it almost seems it's inevitable that we just have to evaluate these things at runtime and step in when they inevitably do something crazy.

Cal Al-Dhubaib: I would say it's a it's a twofold problem, right? So you've got on the one hand, there's this legitimate concern around these AI systems acting like threat actors. to go back to what you were saying, Joe, it sounds like we're talking about adversaries here. And and that's a valid concern. There are threat actors already using generative AI to get better at phishing. forget about sophisticated, meet those class model based attacks, just getting better at Personalizing emails so that you click on the, the button that looks now way too similar to a legitimate email. so that's already on the rise. And then the second problem is how do you make sure that you're well-intentioned agents, right? We're not tasking them to do destructive things. And the example Bill gave with the database, we didn't say go hack into this database, we said solve this problem. But the way in which it went about solving the problem was misaligned. And that right now is frankly a larger concern than Threat Actor using Mythos class models. For the one reason of launching these attacks is crazy expensive. The token spend with the amount of iterations needed to mount one of these attacks today is a pretty high barn. And so that's actually playing in our favor. And by the way, the same thing is true within enterprises. By the time you have an agent that has grossly overreached, it's probably racked up a high amount of spend. And so there are these signals that you can start to use to build up an understanding of context when the intent is diverting from the potential outcome. And this is a totally different way of thinking about controls. For the longest time, security controls have been very deterministic. It's a yes-no, it's a patchwork of permissions and conditions and edge cases, and it's very clear when something is an exception to what you've defined. And now we have this continuum. You have this potential context that has now consumed irrelevant information or maybe even a malicious instruction. And by the way, that might not be the critical failure. It might be that plus another system acting together that creates this. And so a lot of what I've been talking about recently is this intent-based control or context-based control. And how do you blend that with traditional security controls in place? It's not blow this out of the water, it's a yes and. We need traditional controls. And on top of that, we need these context-based controls to Bill's point.

Joe: is this a problem that's unique to certain models or just a different flavor of AI? Because I I I feel like look, my primary way of interacting with these models is go to the Grok UI or Claude UI, ask it a question, go from there, right? I feel like that's fairly well controlled on that front. Now I still have to tell it to not be an idiot and give me fake stuff and you know

Cal Al-Dhubaib: Yeah.

Joe: everything else like that, right? But I feel like because I have actually tried it with Grok, where I've I've tried it to to get it to create malware for me or cre created different attack packages and whatnot. And it refuses to do it. Even after I spend hours trying to convince it in the beginning it could do it. But now, that's pretty well locked down, I haven't tried it that much with Claude, but is this like a specific I don't know, attack avenue or risk with certain flavors of AI?

Cal Al-Dhubaib: I I think this is a helpful misalignment problem. So anymore if you're working with one of the leading labs or any of the the commercially available models, getting them to produce dangerous formulas or writing pieces of malware that that is that is nearly impossible to do. now you can manipulate open weights models and we can talk a little bit more about that, but the far more practical problem Is these agents doing something well-intentioned and overreaching? And I'll give you an example that's that's really simple of how easy this can happen. Let's say you have agentic search. That's probably one of the most common use cases across organizations. and you now have an agent that is connected to Salesforce, you're a public company, or even if you're not a public company, that is material non-public information, it's sensitive. you don't want that out in the world. And an agent can then, you ask it a question about finances or a customer, and it can now crawl independently. It searches your Salesforce records, it consumes that into the context, and then it might then decide, need to get more information about this entity. And so I'm gonna go search. And it might then take some of that sensitive context. And put it into a search query that then goes out and you've now exposed that information through just a search action. And that now lives in Google's database or whatever search engine it ended up using. So actions independently, totally fine. Combined, you've now exfiltrated sensitive information through a search action. And so the the problem here is how do you then build controls? that are able to detect that this combination of benign behavior actually creates a risk.

Bill Gurling: Yeah, it's the it's the totality of the circumstances, right? As as we say in the agentic world, the full context of what is actually happening here that needs to be the basis for governance and control. Now, maybe not the sole basis, right? So I talk a lot about this topic, and one of the things that I talk about with one of the technologies that Rubrik has built is the way that we're using a a well trained, independent agent to evaluate the alignment with intent. that agents are our customers have built is there is there good alignment when it's running some workflow or session or is there or is there a misalignment? And a lot of customers will come back to me and they'll say, well that's really cool and that's really interesting and being able to enforce based on what I'll call squishy concepts that are hard to match on or very rigidly define. an LLM is very good at that. But I don't need to burn tokens and only have an eighty-five or ninety percent confidence score on is this a phone number or is this a credit card number or is this an address? Right? there are things that determinism is better for because it's more accurate, it's less expensive, it's quicker, so on and so forth. And then there are things that determinism is really, really bad at. is this financial advice, right? well, you need to understand if there's financial subjects in the session and is it actually giving advice? that is something that using a a deterministic algorithm to identify is very, very tricky, but an LLM can figure it out really, really fast. So I think as we build controls and as we try and enforce controls on these types of systems, it really has to be it has to be both, right? You want to use the right tool for the right job. If you're working with a mechanic and a mechanic says, look, I just I just use the Leatherman. This is all I have. I've got the Leatherman and I use the Leatherman every time I fix a vehicle, you're gonna say that's not a very good mechanic, right? Because while they might be able to get the job done, are they gonna do it right and is it going to be efficient? So the right tool for the right job is hugely important here because we are living in a world where we have non deterministic systems that are creative that we have to govern. But oftentimes some of the inputs to whether or not an action is valid or invalid are things that we can nail down more accurately and more quickly with things like regex, right? Deterministic matching rules. And so so I think I think we're charting towards an end state here where well built governance platforms are going to have both deterministic controls and non-deterministic controls because you have to look at strict matches and you have to look at this squishy intent based concept to figure out whether or not there's a

Joe: How do you how do you embed intent into an agent, into a model? How does that work?

Cal Al-Dhubaib: Bill, do wanna talk about our natural language policies?

Bill Gurling: Yeah, so the the way when it comes to at least governance and enforcement, what we are doing, right, is we capture all of the detail of all of the interactions and downstream actions and whatnot that some agents are taking. so this is things like what did the user ask the agent to do? Once the agent received this request, how did it reason about the request? what information did it fetch? What tools is it attempting to use downstream to take action or gather more information? And then ultimately, what response are we returning to the end user? Right. This is like the full chain of a simple session that we need to evaluate and govern on. And so, yes, you can bait guardrails into the agents. You can tell them, hey, don't expose sensitive information or don't use tools you're not supposed to use. so on and so forth. But we know we know that over the course of time, especially with session context windows filling up, so on and so forth, they're gonna deviate from these embedded guardrails. The embedded guardrails are are just there to as as a catch all to try and prevent surface level stuff that's easy to control, but inevitably they're gonna step out of bounds. And when they step out of bounds, you you're often trying to evaluate these squishy concepts like I mentioned before. So we I can use the financial advice one because I I think it's a good one to latch on to. So an agent that is trying to give financial advice when it's not supposed to to an end user, might return something as simple as board ape NFTs are a good investment, right? That's financial advice, technically speaking. So when we're trying to govern whether or not something is financial advice, we we need to ascertain Are there financial concepts in the response? And is the agent telling the end user to do something? With a deterministic traditional rule, you're essentially in a race condition where you have to infinitesimally match in every sort of session response whether or not there's a financial concept in there and whether or not there's some piece of lingo that might indicate it's advice in there. But if you point an external agent at the whole session log and you let it read what the user's prompt was. And you let it read the chain of reasoning that the underlying LLM had in inside of its its virtual brain. you're able to read other information that it's fetched, and then before it reaches the end user, you're able to read what the response is. Well, guess what? An external agent just looking at the totality of this thing can very, very accurately and very quickly, if it's not a big bloated foundation model thing. Say, yeah, this looks like financial advice or this doesn't look like financial advice. And I would argue that your average human, if you mechanical turked this workflow, sure it wouldn't be fast, it wouldn't be cheap, it wouldn't be the best implementation. But this is this is where we get down to this intent-based governance. you Joe, you could look at it, Cal could look at it. my 16-year-old daughter could probably look at a paragraph and say, Yeah, that looks like financial advice, or it doesn't look like financial advice. And so what what we've really tried to do here. Is provide the ability to broadly scope the intent of the business around what agents in their environment should and shouldn't be able to do. And then to evaluate at runtime whether or not what's going on in some session is is aligned with the intent of all of these possi policies that are in place. And there, there's there's a bunch of different angles that you can take on it too. you can go really broadly and ambiguous and in which case you might get more false positives, or you can get really, really specific. and the fact that you have the full context of the interaction and you have an external, i.e. not consuming that context as an instruction, but just evaluating it from the outside agent, providing this confidence score as to whether or not there's alignment, allows us to do things that were not easy to do with traditional tools and traditional controls. And this is the this is like the world that we live in. we're trying to catch agents that are creatively trying to solve legitimate problems that they're given, but oftentimes it's not the it's not the what they're tr they're doing that is the problem. It's the how they're trying to do it. The devil is in the details, right? And at the end of the day, they're just trying to solve the problem that you gave them, but they've either run up against a wall and taken a a really weird side street, or there was lack of clarity in the instruction and they made a bad assumption. so on and so forth. And so this is why I we feel like intent-based systems are so critical because they can sanity check the whole flow as opposed to getting lost in the back and forth. And oftentimes the LLM inside of an agent that has a baked-in guardrail will get lost in that churn back and forth as they're trying to accomplish the task.

Joe: Hmm. That's it's interesting. I we're we're living in a crazy time right now where we can interact with machines like we've never interacted with them before. Just thinking about when personal computers, kinda came out, right? Maybe not even personal computers. you're you're interacting with it through a DOS prompt. Who even talks about DOS anymore? Right? I think maybe right now is the first time that it was mentioned, I don't know, in a couple of years on YouTube, right? probably. which is really saying something there. and then you graduate through, and now we're at this impasse where we're able to communicate with the model through plain plain language, the model interprets it. And then it has a built-in desire to reach that goal, right? which is just it's just a crazy thing to think about. And now we're trying to teach technology to determine intent on a potentially ambiguous thing. English is very ambiguous, just the English language itself, highly ambiguous at times. I can be sarcastic with a human. And I've experienced it where because I'm a very sarcastic person at times, and I've experienced it where people don't don't pick up sarcasm at all. They don't understand it. And so they think that I'm like, this horrendous person. And they start to confront me on things that I'm sarcastic about. And I'm like, guys, that was sarcasm. I apologize. Maybe I delivered it wrong, But I'm using that as an example is like humans built this machine to do a certain thing and humans themselves even have issues speaking the native language that they grew up speaking. You know what I mean? it's it's a weird area that we're going into and I wonder what the next evolution of all this is. what what's your thoughts on that?

Cal Al-Dhubaib: So I I actually my favorite analogy I've I've heard about this, it's not like the personal computer coming out. This is actually when we had the first cars come out. The most dangerous time for pedestrians was when you had both buggies and horses on the road at the same time. Jaywalking was never a thing. You never had to worry about a a runaway horse buggy taking you out. And so we had to come up with new things. We had to come up with new systems. hey, here's a crosswalk. So, right now, what we're actually doing, and what I find really exciting about this, is companies like Rubrik and and other companies solving this problem, we're actually building the new highways and the new gateways for agency systems to interact safely with humans. And we're learning a lot about the etiquette you need to have in place. We're learning a lot. intuitively, you're describing some of the Personal guardrails you use in your instructions when getting these models to do things. And that's great, but that's that's not enough. and so what I think comes next is we get really effective at blending the best of deterministic control with these context and intent-based controls. We get really good at saying, hey, you know what, we're gonna use these regex expressions to detect when there's sensitive information. And we're gonna have logic that gets tripped that says, actually, you know what, we're gonna scan the intent alignment of this request, or we're gonna scan the expected, or we're gonna put a limit of expected compute that's reasonable to accomplish this task and use that as a trigger point to then maybe inspect or scrutinize the intent or or actions of these models. So I I'm actually really excited and and and one thing we didn't really talk enough about is this notion of identity and agencidentity. as someone who's been really focused on the models, this has been a really fascinating point for me to to explore. I I'd be remiss if we didn't really also talk about identity here. And that's something that's a part of this new infrastructure that needs to get built. in a lot of cases, what we're doing now is we're we're giving API access or token access to these agents to act on our behalf and they're inheriting our permissions. And that isn't necessarily The best mechanism when you have an autonomous system that can act at machine speed. And so some of the innovation here is also really rethinking how do we attribute actions to an agentic identity? How do we use that to also understand in context of when an action is permissible? And so I'm really excited to see us put together. but I'm I'm I'm much less worried about this all blowing up and I think we're really just at day one. We're just starting to figure out what this infrastructure needs to look like.

Bill Gurling: Yeah, I I think that's a great analogy, right? The building the sidewalks and the crosswalks thing because from a technology landscape perspective, we've seen we've seen these big technical shifts happen over and over again in the market, right? everybody was on mainframe and AS four hundred, and then we started switching over to standardized x eighty six compute for most purposes and one box was one system running one application. And then we virtualized it all, right? And we had to figure out now how do we do all of the unsexy operational and security stuff around one big box that now houses all of my mission critical applications. And then we started automating that stuff and we put some of it in hyperscalar public cloud. So then all of these operational and security technologies now had to operate single pane of glass wise across infrastructure that is sitting in someone's data center and legacy and also up in a hyperscaler public cloud platform. And then we bolted on a bunch of SaaS applications. And now we on top of these cloud platforms, right? We're we're deploying these agentic platforms that are really just new ways of building and consuming applications. And so this, it's I say this to the people that I talk to so often that the problem space has only changed in so much as the way that we're building the thing that we're trying to secure has changed. I e, we still need to be able to achieve largely the same things that we've always achieved when it comes to securing the technology stack and applications, but the way that they're being delivered is changing drastically. And so some of the fundamental components of the way that we build, package, and deploy. security or cost controls or operational platforms, right? Those are going to need to change too in order to just accommodate the new attributes of the thing that we've built. So agents are really, really fast and they they iterate very quickly and they do things in non deterministic ways. So you give it the same input, you might get the same output fifty percent of the time, but then the other fifty percent of the time you might get a diversity of of outputs, right? And and so it's a fool's errand To say t to go back to Cal's example, right? gravel roads where people could just walk wherever were fine when horses and buggies were rolling down the street, because unless someone is really, really screaming down the street, it's pretty rare someone's gonna get run over by a horse and buggy. but now you put cars on that same street and they can't stop on the gravel effectively and they're going much faster. So someone crossing the street on the other side of a corner is at much more risk than they used to be at. And there's a there's a lot more cars than there were horses and buggies. And so the just the number of times that you have to account for risk has gone up. these are similar trends to what we're seeing with the Gentec platforms, which is like as a community, we're still trying to achieve the same things, but we're trying to achieve them on a system that pr that presents us with different circumstances than we we've had to that we've had to handle in the past. And so I think it really does require A a dramatic paradigm shift in not what we need to achieve, but again, how we go about achieving it and what it's important to control for first. And here's a here's a great example. I I have a lot of con conversations around securing agentic platforms. And a lot of times the folks that are just beginning the journey will orient around hey, I need to find unauthorized AI systems that my employees are using. If someone is logging into ChatGPT and ChatGPT isn't our platform of choice for consuming large language models, I need to sniff that out and I need to put a stop to it immediately. And I agree, people shouldn't be using unauthorized AI to do business work, right? But the counterpoint to that is the things that are most dangerous may not be the unknown things that people are doing. They actually might be the legitimate things that you've implemented that you don't have sufficient control over. What are you more worried about? Someone in accounting logging into Chat GPT and asking it questions around how to do financial math, or someone who has access to an agent that sits on their endpoint that has the same permissions that they do, that oftentimes makes bad assumptions or makes mistakes. And by the way, it's plugged in with that user's permissions to every production system throughout the enterprise and can fetch all of the data that that human could fetch throughout the enterprise. I would argue that the latter is way more risky, even though it's a legitimate system that's been authorized. And then if you don't really have good controls around something like that, the odds of something going sideways and a high impact event occurring are way, way, way higher than Bill and Accounting uploading the wrong Excel spreadsheet to an unauthorized LLM or agent in the cloud. You should try to tackle both. but the the real risk is our own neighborhood. And most accidents happen in your own neighborhood, right? So if there's not a speed bump or there needs to be a speed bump, you're gonna put a speed bump there. You're not gonna worry about what happens when someone gets one state over and does something undesirable, right? So I think I think we really need to look

Joe: Okay.

Bill Gurling: at the at both sides of the coin, but the legitimate use cases that maybe aren't governed in the way that they should be given this new world that we live in. are in my my opinion, probably the biggest risk vector for most of the enterprises out there today.

Joe: Hmm. Yeah, it's a it's an interesting approach, and as everyone's going as quickly as they possibly can towards agentic AI and deploying all the newest capabilities throughout their companies and whatnot. I I feel like almost the whole we're gonna lay off all these people and replace them with AI, I I feel like that is that's over, right? I I feel like companies came to the realization wait a minute. I shouldn't cut that head counter. I should add AI to it and make them more productive and whatnot, right? but like you said, we're going into a place with AI security, AI governance overall, where we need something like Rubrik's platform, not to this podcast isn't sponsored by Rubrik or anything like that, but Rubik's like Rubrik's platform that is building in those guardrails, that intent right off the bat. And it's like, hey, here's your sandbox. Go play. you can use whatever model you want. You can do whatever, actions you want. We're going to protect your users from themselves. And we're most importantly, we're going to prot protect the agents from themselves as well. by building in, these different controls and whatnot. So it's a really it's a different I I wouldn't even say it's a different approach. you think about how network security was before, right? Where it's like, I'm so worried about them going to these bunch of sites and now we have to block list it in the firewall and this and that and all this other stuff. And then proxies came out and it's like, yeah, who cares? Right? get rid of your VPN. Don't worry about where they're connecting from. Set these policies. It'll block, 100% of what you're worried about in your firewall. You can get rid of that block list in your firewall. that's the phase or the evolution that we're talking about right now. That's at least what I liken it to in my own head. which is it's fascinating, to see it transform in that direction. right? Think about the future. Where do you think the next important evolution is beyond the guardrail conversation that we just had?

Bill Gurling: Okay. I'll take the easy answer then. I think that the the one of the immediate problems that needs addressing when it comes to AI systems writ large out in the world is is the way that we delegate authorization and access to them. so essentially the the way that identity is handled today in the modern enterprise is like There's the human component and there's the non-human component. And a lot of the platforms that are built to provide access and authorization to humans are very, very ineffective at authorizing agents. And then similarly, a lot of the mechanisms and tool sets that we use to authorize programmatic workflows are also ineffective for agents. Because agents are this hybrid of like. software and air quotes a person, right? they they operate in this middle ground between the way that traditional applications of machine code operate and the way that that people operate. And the way that we authorize them to do things is there's a misalignment there, right? So if an agent needs to do something, you either grant it a long standing static permission from some non human identity type system and it uses that in perpetuity. Which means that it always needs to be as broadly scoped as the broadest action that the agent could potentially take. and they're longstanding, right? They don't expire. So you've just left the back door open and the agent can come and go as it pleases. similarly, if it's a delegation, then you're assuming that the agent should at all times be able to do everything that the human user behind it could do at all times. And neither one of these things are good when you think about what we started this call with, which was the open AI and hugging face stuff. Because if you're gonna control through static authorizations, then you need to be able to predict what the thing should and shouldn't be able to do. And you need to be able to predict what you think it will try to do. And that is we we've reached a race condition where it's impossible to do that at this point in time. So I I think what you will gradually see is like This authorization layer that lets agents access systems and take action is going to be a lot more dynamic. dynamic in terms of if an agent gets authorized to do something, that authorization is gonna be scoped down to just what it needs to be able to do, maybe in this one session, right? Instead of like what it might need to be able to do at any point in time across all sessions. So if right now it's trying to fetch some data and send an email, then it like. gets a token that only lets it fetch the data that it has said it wants to fetch and lets it send just this one email that we've validated it should be able to send. and those tokens need to be scoped down in terms of the the lifetime, the validity of the token, right? So we want I think what you'll see is the technology landscape very rapidly shifting towards narrowly scoped extremely time bound, short-lived authorizations that let agents do what they need to do. And those authorizations will only be granted after an agent has told the system what it's going to attempt to do and the system has independently validated that these things are well aligned and not dangerous and should be authorized. But we're not there yet. like the The street hasn't been built, right? So we're talking about, I'm gonna build this really complicated downtown San Francisco crosswalk that knows where the cars are and knows where the people are and knows how many people and it knows what time of day it is, right? but the the pro we don't even have concrete yet. So we gotta get we gotta get concrete and white spray paint before we can build these really sophisticated crosswalks. And it's gonna be an iterative process, right? So For instance, at Rubrik, what we're doing right now is we're we're just trying to build technologies that will get long-lived broadly scoped tokens off of the endpoint and just stick a layer in the middle that sanity checks some stuff at a high level before the agent can take an action. So we want this Nirvana end state of this really dynamic authorization platform, but we don't have the whole ecosystem isn't really ready for that yet. So we're gonna take onesie twosie incremental baby steps in that direction. As the industry and the technology stack that surrounds agents matures. And hopefully, we at Rubrik, we hope to contribute to the bigger, better, broader direction of the whole ecosystem, as opposed to just hey, we built some bespoke piece of software and you should buy it from us, right? this is gonna be this is a reinvention of the way that we do at least in this case, identity and authorization. And you're gonna see that everywhere, right? You'll see it in observability, you'll see it in operations, you'll see it in FinOps. the the whole world is changing and many, many systems will have to change as a byproduct of the way that agents do things. I think the one that is really, really ripe for disruption is identity and authorization.

Cal Al-Dhubaib: I love that. very I I couldn't

Joe: Cal, what what about you?

Cal Al-Dhubaib: agree. Yeah, I couldn't agree more. I would say something that I'm closely watching is the user experience. And so today, this idea of chat too and provide lists of instructions in and recipe books, and we all have our own little ways of keeping the sets of instructions and skills, it's it's still not The most effective way of getting the most out of these tools. And so I'm actually really looking forward to a future state where we've figured out how to determine how to hand off tasks in between agents and humans. And by the way, of equal importance is agents and other agents. Because today, all of the problems we talked about assume you have full visibility. into the context over agents that you control. What comes next is when we have an agent that is now interacting with your agent to coordinate and complete a process. And we have no idea what context, what information is being supplied on your side of that equation. And so I think something that's going to come next is once we figure out how to implement these context-based controls and have these well scoped, time-bound, dynamic access tokens is then figuring out how do we do that secure handshake between agents operating across the boundaries of two or more organizations.

Joe: Wow. Yeah, it's gonna be a interesting year or two, right? everything we just talked about, with the speed that everything's going, it's probably two years, which is awesome and scary.

Cal Al-Dhubaib: Well, Joe, my hottest take my my off my hottest take is that my gosh, we're gonna need so many more humans.

Joe: Yeah. Yeah, I I totally agree with it. I I think that any human would agree with it, right?

Cal Al-Dhubaib: Ha ha

Joe: at least they should. Cool. Well, unfortunately we're we're at the top of our time here. We definitely went over what we originally planned, but I really appreciate you guys coming on, being patient with the scheduling and whatnot. And I I really enjoyed our conversation. I definitely want to have both of you back on probably separately next time because it's just smoother, easier to to handle and whatnot. But I I really did enjoy our conversation today.

Bill Gurling: Both of us are waiting for the other one to talk now so we don't step on each other. Joe,

Joe: Right.

Cal Al-Dhubaib: Shit.

Bill Gurling: we we we enjoyed the conversation too. I just I love chewing the fat with with folks like like y'all. I I think that anyone that tells you they know everything about this stuff and have it all figured out is is full of it. And and it's just like such a I I tell my girlfriend like she'll use chat GBT to answer some questions or do some simple projects and stuff, and she's like, wow, this stuff is is really, really capable. And my favorite line is is hey, hey, it's a it's a brave new world out there. And you have no idea what's going on. I think I have an idea what's going on, but I probably have no idea what's going on. no one expected this open AI hugging face stuff to pop at this time to this magnitude and this degree. And and so it's just it's really, really great to be able to hop on with smart folks like yourselves and And just talk about what's happening and ideate around it because I think that's that's really what the the world needs right now is not more of the same, but just people collaborating and taking new perspectives on this this very interesting, brave new world that we live in.

Cal Al-Dhubaib: Ditto, ditdo. Thanks for having us, Joe. This was so much fun.

Joe: Yeah, absolutely. Well thanks everyone for watching. I hope that you really enjoyed this episode of Security Unfiltered. Go ahead and check out Rubrik, Bill, and Cal at the links provided in the description of this episode. All right, well thanks everyone. See ya.

Bill Gurling: I'll be

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Open Models Will Do Anything: AI Is Speeding Up Attacks | Rob Chapman, ArmorCode

    Nov 5, 202646 minVideo

    Joe's site: https://south-security.com Newsletter: https://south-security.com/newsletter Rob Chapman of ArmorCode joins Joe South on Security Unfiltered. Rob took the long way into security, from bulletin boards in...

    Listen to the audio

    • YouTube

    Credit the people on this episode

  2. Prioritization Is Dead: Every CVE Has an Exploit Now | Shimon Tolts

    Nov 2, 202639 minVideo

    Joe's site: https://south-security.com Newsletter: https://south-security.com/newsletter Shimon Tolts, co-founder and CEO of Copperhelm, AWS Hero, and CNCF and Claude Ambassador, joins Joe South on Security Unfiltered....

    Listen to the audio

    • YouTube

    Credit the people on this episode

  3. AI Agents Are Deleting Production. Cloud Security Has to Catch Up | Matt Lea

    Oct 22, 202653 minAudio

    Matt Lea, founder of Schematical and an AWS consultant since 2010, joins Joe South on Security Unfiltered. From dropping out of college to crash a startup, to calling a CEO straight from his WHOIS record, Matt explains...

    Credit the people on this episode

  4. Joe Grand: The Hardware Hack That Can Never Be Patched

    Oct 15, 20261 hr 4 minAudio

    Joe Grand, aka Kingpin, hardware hacker, L0pht alum, and the engineer behind the $2M Trezor wallet recovery, joins Joe South on Security Unfiltered. They get into how a kid with an Atari 400 ended up in the hacker...

    Credit the people on this episode

  5. Securing AI at Scale: Why Your Logs Can't Read Agent Intent | Ashish Rajan

    Oct 15, 202643 minAudio

    Ashish Rajan is back on Security Unfiltered, a few years after we last recorded together at RSA. Ashish is a CISO, host of the Cloud Security Podcast and AI Security Podcast, and author of the new Wiley book AI Security...

    Credit the people on this episode