The Lethal Trifecta of AI Risk

Artificial intelligence has significantly lowered the technical barrier for employees to execute complex tasks, enabling unprecedented innovation and efficiency. However, this new capability also renders the modern workforce "unconditionally dangerous" if not managed with the right security controls. As Dan Barahona, founder of AI Security University, warns, without proper safeguards, organizations risk catastrophic internal breaches from autonomous agents with unchecked permissions.

At the core of AI security lies the "lethal trifecta": private data, untrusted content, and external communications. If an AI agent has access to all three, a breach is not a possibility but an inevitability. Barahona emphasizes that the non-deterministic and creative nature of AI, while appealing, makes it incredibly difficult to contain and secure. Traditional deterministic security models, where an API call predictably yields a response, don't apply to AI's flexible and creative outputs.

"We teach the the lethal trifecta. It's a great model, private data, untrusted content, external communications. If you have all of three of those, you're in trouble. Unconditionally in trouble. Meaning not like you might get breached, it's you will get breached." -- Dan Barahona

The Hyper-API World and Rogue Agents

The rise of AI is transforming the landscape of API interactions. We're moving into a "hyper-API world" where AI agents, with their own logic and ability to perform actions at scale, become new consumers of our APIs. Unlike human users or traditional code, agents are designed to serve and can execute thousands of API calls if instructed, creating entirely new vectors for abuse and compromise.

This presents a significant challenge: how do organizations identify if an API consumer is a human, an agent, or a bot? More importantly, what policies and "guardrails" need to be in place when an AI agent interacts with critical systems? The inherent desire of an AI agent to fulfill a prompt can lead to unintended and dangerous actions, especially when operating with broad permissions.

"We now have like we're used to our APIs being called by our own code through our users interacting with our apps. It's all very structured. Now there's a new um there's a new consumer of our APIs which are these agents and these agents have their own logic and they can do things that a human can't do. They are also designed to serve, right? Agents always want to you give it a prompt it wants to deliver on it." -- Dan Barahona

The Model Context Protocol (MCP) and Vibe Coding Risks

One emerging technical concept critical to AI security is the Model Context Protocol (MCP). MCP essentially provides "arms and legs" to AI models, enabling them to execute real-world actions like making API calls, fetching data, or interacting with external services. While incredibly powerful for extending AI capabilities, each added skill increases the attack surface and potential for things to go wrong. Barahona explains this with an analogy: an AI without MCP is like Einstein's brilliant brain in a jar, full of knowledge but unable to act. With MCP, it gains the ability to perform complex tasks with seemingly magical ease.

This ease of use, coupled with practices like "vibe coding"—where users interact with AI to rapidly prototype or automate tasks without deep technical understanding—introduces significant risks. AI models often "just work," quickly producing functional code, but this can mask underlying vulnerabilities or unintended behaviors. As Barahona recounts a personal experience, giving an AI agent "dangerously accept all permissions mode" led to it autonomously buying domain names and pushing vulnerable applications to production. This highlights how easily an AI agent can go rogue, missing critical security considerations that a human engineer would typically catch.

"You know, Einstein's brain is just a brain in a jar. It has no arms and legs. If I want Einstein to, you know, do an API call or fetch something from the database or, you know, look up a file, like I gotta plug all those things in right by hand." He later adds, describing the ease of adding new functionality with MCP: "if I want to, you know, add skills, if I want to, like, you know, if I want to take Jira, right? ...I could just say, hey, Claude, grab the Jira MCP from this location and I wouldn't even know what it does. It's just kind of like magic... it's adding these arms and legs to your AI environment." -- Dan Barahona

AI Literacy as a Core Defense

In this rapidly evolving landscape, education and organization-wide AI literacy are becoming paramount. Barahona stresses that while security products are numerous, a fundamental shift in human understanding and training is the ultimate defense. Regulations like the EU AI Act and ISO 42001 now mandate a level of AI literacy across the workforce.

This isn't just for developers; HR, finance, marketing, and every department utilizing AI needs to understand how to use it safely, securely, and responsibly. Training should focus on practical, real-world examples rather than dry lists of vulnerabilities. Understanding frameworks like the "lethal trifecta" allows employees to analyze their workflows for potential exposure. Ultimately, preventing incidents in an AI-driven world requires not just technical controls but a pervasive culture of AI security awareness and continuous learning across the entire organization.

Read full transcript

Mackenzie Jackson: Hello everyone. Welcome back to another episode of The Secure Disclosure podcast. Dan, I'm thrilled to be here. Well, it's not the first podcast we've done together, but it's the first time face-to-face we've done a podcast.

Dan Barahona: This is a real thrill to be here with you. Thanks for having me.

Mackenzie Jackson: Yeah. So, you have a long history education and particularly around security education, but you've just for whatever reason decided to go back and grab the bull by the horns and you started up another kind of university, AI Security AI Security University. We'll get into a lot about what that is and how it is, but the first question that I kind of have is what was the catalyst that made you want to go down there? Why create that? So, we've seen you have been successful in the past, but what was it out there that you thought, oh, we need this?

Dan Barahona: Well, what's interesting is, you know, I built other universities in the past and had a lot of success with that and it turns out building a community takes a very unique combination of skills and something I seem to have some success at. And after leaving my last one, which grew to hundreds of thousands of users, it's like where do I want to go next? What do I want to do next? And it really became obvious my passion is in building community. I love cybersecurity. I've been in it for 25 years, and I love educating people and lifting them up. And I was thinking, what do I do next? It was just kind of obvious, right? AI is this great big world. There's so much surface area to it. It's a Wild West. Nobody's got it all figured out, but there are lots of experts out there that know bits and pieces of it. And so, it just seemed like the natural evolution for me was to create a new university that's focused specifically on AI. And to be able to harness this community, bring you together, and help each other learn from each other.

Mackenzie Jackson: What are some of the kind of, I mean, if I don't even know where to start with this question, but AI has so much risks surrounding it.

Dan Barahona: Sure.

Mackenzie Jackson: What do you kind of see looking out there that some of the biggest risks that, you know, there's some risks that we know about and some of the, I don't know if they're taken seriously enough. But, you know, what are some of the big risks that you see with security?

Dan Barahona: Yeah, it's interesting. I get to kind of have a pulse of the market. I talk to so many people and I hear what people are worried about and nervous about. And there are definitely some things that come up a lot. Governance is definitely near the top, right? Where all these organizations, they want to be AI first. They want their employees to be embracing and using and being effective with it. But, if you think about it, the technical bar for organizations has lowered in the sense of it used to be if you want to integrate with an API, you had to be a developer, right? And you had to have a degree in Comp Sci or something like that. I don't, but I use APIs all the time now through Claude or vibe coding and things like that. So, the bar for being able to do technical things has lowered, but the competence maybe has seen risen to offset that. So, there's this sort of dangerous level of technical competence now. So, that is a big one. AI governance, how do we make sure that organizations and employees are using AI securely and safely and responsibly. So, that's a big one. We're also seeing all kinds of technical, like there's a whole new threat landscape when it comes to AI, right? My first course that I launched is MCP security fundamentals and we go through the entire OWASP top 10 and it's the way I like to train folks is to not just sort of go through these long lists one by one and everyone falls asleep. I always involve real-world examples and these are the things that really catch people's attention and I was actually reviewing it this morning to do a little prep and one of the most common things is this notion of prompt injection which can take lots of different flavors. One of them is like, you know, you clone a repo that you think is great, right? Somebody puts an issue on the public, you know, repo and you make a simple request like, "Hey Claude, can you check the issues list or something like that?" Suddenly it's fetching data from this other site and bringing it in and oh guess what? That issue has a malicious instruction and your AI didn't know better and treated it not just as text but as instructions. There's so many vectors to infiltrate and confuse and trick AI and that is definitely one of the things that I see out there a lot.

Mackenzie Jackson: You mentioned that kind of GitHub issue and that's kind of like a top-of-mind. You know, Google Gemini had a vulnerability similar to this inside, you know, they were triaging. And of course

Dan Barahona: What's interesting like about this is if we just take like the Google Gemini example of how they solved it, they didn't solve the prompt injection because you can't, right? What they did is they made it so that the agent was basically less useful. So, there's a concept of like the lethal trifecta, which is like, yeah, AI needs to have, needs to be prompt injection, which they kind of always is the risk of that. There needs to be sensitive information or something damaging, and there needs to be an ability to execute that or retrieve it. And so, you, if you take one of those away, then all of a sudden it doesn't become as dangerous, but it also becomes less useful.

Mackenzie Jackson: Well, this is the challenge of AI.

Dan Barahona: We teach the lethal trifecta. It's a great model. Yeah, private data, untrusted content, external communications. If you have all of three of those, you're in trouble. And what's interesting, they say it's you are unconditionally in trouble, meaning not like you might get breached. It's you will get breached. And so, yeah, we're dealing with a world of gray now when it comes to AI. Like we're used to these very deterministic, you know, if I call an API, it's a hammer. It's going to hit the nail. I'm going to get the response. But with AI, there's this built-in creativity or non-determinism that's built into it that makes it very appealing. It's incredibly creative, but it makes it unbelievably difficult to contain. I do a lot of vibe coding, and I want to get like a very rigid, you know, structured response, and it's so difficult to integrate with these tools and get a very, you know, repeatable, confident response. It's just there's so much flexibility and creativity in the response. So, how do you how do you keep that under control?

Mackenzie Jackson: The things that make AI so fundamentally great are also what make them frustrating and dangerous.

Dan Barahona: Yeah, that's right. Well, you know, I was at an open banking conference in DC in the spring, and all they talk about are APIs and how to avoid screen scraping and all this stuff, right? But this conference, the topic everyone was talking about was AI and how APIs, and we're not in a post-API world. We're actually, I think, in a hyper-API world.

Mackenzie Jackson: Yeah.

Dan Barahona: We now have, like, we're used to our APIs being called by our own code through our users interacting with our apps. It's all very structured. Now there's a new, there's a new consumer of our APIs which are these agents and these agents have their own logic and they can do things that a human can't do. They are also designed to serve, right? Agents always want to, you give it a prompt, it wants to deliver on it. So if I tell the agent, "I forgot my PIN. I know it's four digits. Can you help me out with it?" That agent can send 10,000 API calls if it wanted to, right? No human's ever going to do this. So we are dealing with a whole new consumer of our applications and what I saw at this open banking conference was how do you know who your consumer is and is it an agent? Is it a human? Is it a cron job or something like that? And then what policies or guardrails, you hear that term a lot, can we put in place when it is an agent acting with our systems?

Mackenzie Jackson: Yeah. I mean, it's going to be like a whole new economy almost. Like there was that social media for AI agents for a while and it like Lottie was a bit of a gimmick and, you know, but you can kind of see there is going to be services completely built just for agents to hit and interact and that's going to be the consumer. And, you know, how do you market that? And then how do you secure that? How do you

Dan Barahona: Oh no, it's, this is why it's a Wild West and why I think, you know, the university is taken off and why I will probably never run out of and they will, they'll never be, you know, the whole puzzle figured out we're good. We can shut the doors, right?

Mackenzie Jackson: Yeah.

Dan Barahona: That's not going to happen. One thing I want to dive into now because we could talk about this all day, but just to kind of cut through is what are, what can people do to help keep them secure? And I guess the main audience that I think of this is people like developers.

Mackenzie Jackson: Right.

Dan Barahona: People that are, you know, maybe not developers like people that are, you know, creating code, interacting with APIs, building out with these agents. What, like, what can they do

Mackenzie Jackson: Yeah.

Dan Barahona: to protect themselves, to kind of stay on top of things? Like what's in your mind?

Mackenzie Jackson: Yeah.

Dan Barahona: I mean first and foremost it's education. Obviously that's near and dear to my heart, but I really believe in it. There's, you know, we're here at Black Hat, right? There are a million different products. It's, I've been walking the floor and it's fascinating to see all these different things and if I was a CISO I think I would, you know, it would just be overwhelming, right? You know, like what are the, what are the technologies that are going to keep us safe, but at the end of the day I don't think there is like a tech, I mean you know I've been in cyber for 25 years. We're still battling cyber, right? It's just it's a constant arms race. But the leveling the playing field has changed, right? And so we need our teams to be smart, right? They've got to understand. So training I think is critical. And like that least restrictive that's a great model to have in your mind as you're building things. Do I have untrusted content? Is there, you know, sensitive data in here? Is there external communications, right? That's a framework that you can bring and analyze your own process. If I'm building a new workflow or a new capability am I, am I hitting the three elements of this stool and if I do then what am I going to, what am I going to remove because now I'm, now I'm, you know, exposing or I'm creating exploit possibility. There are lots of tech, I've been walking the floor and looking at all these AI governance tools out there and, you know, it just seems so daunting. Like, you know, they're going to monitor everything and let you know it's, it's this classic there's always a monitoring aspect to security. There's a testing aspect to security. You need them both, but, you know, are you really covering the whole spectrum?

Mackenzie Jackson: Yeah. That's where I think like, okay, yes, you need testing, yes, you need monitoring, and yes, you need awareness and governance, right? I think that's what it takes.

Dan Barahona: One thing I'm interested about the education piece. And I just to just to ask some spicy questions, sure, you know. We're kind of AI is also changing how we consume education, too. You know, what we used to read a lot and do stuff. Now we kind of like get bullet points about things from from from AI. Like, what's your opinion as someone that's deep into education about, you know, how AI is changing how we consume information? Is it helpful for us to kind of, you know, have this new method of it or, you know, we're just kind of losing track of even education sometimes?

Dan Barahona: Yeah, I think it's interesting like, you know, when we're going through this whole, you know, hype cycle of AI, right? I don't know if we're at elevated expectations or, you know, trough of disillusionment. I think we're going to end up with this balanced place where there's a role for AI, there's a role for humans, right? And I've had people say, "Oh, Dan, you should just build an avatar of yourself."

Mackenzie Jackson: Yeah, yeah.

Dan Barahona: And let it do the talking. You just type it out and it'll do all the. And I won't do that because I really believe like humans can detect that and as soon as you know something is kind of robotic, it's less relatable. So, we are humans, right? We're relatable, you know, beings. It's so I think there's a, we've all seen those those, those videos, Instagram, also where they have that same voice. I don't know what, like everyone uses the same damn voice, right?

Mackenzie Jackson: [laughter]

Dan Barahona: You're like, okay, I know it's AI, right? They're not even getting creative about it, but even if even if it weren't a voice you've heard before, you could detect it immediately.

Mackenzie Jackson: And that's that's a turn-off.

Dan Barahona: So, what I really believe is, you know, there is a role for the human. I think people would rather learn from humans than from a robot speaking to them. Even if the content's the same, there's just the passion, there's that energy that comes through that makes it more relatable.

Mackenzie Jackson: There's also the way we learn has changed, right? So, that's just, you know, maybe the delivery, but we're all a little bit ADD, right? Like, you know, I used to put out, you know, 2-hour courses and people, you know, would absorb them. Now I talk to organizations and in learning and development departments. And they're like, "Dan, we can't put out a 90-minute course to our employees. It's got to be 5 to 7 minutes, right?" It could be an arc of, you know, 10, 20 modules, but we got to drip them out in these bite-sized chunks.

Dan Barahona: Yeah.

Mackenzie Jackson: So, that's that's good to understand. Like, this is how people want to. Like, you know, they've got they've got 10 minutes, they're on a break, they're waiting for the bus, right? And then there's another aspect, which is, you know, I used to go through like, "Oh, last top 10. Like, here's number one, blah blah blah. Here's number two, blah blah blah." And everyone would fall asleep. And I realized like, if I flip it and I say, "Hey, here's what happened to Acme Corp." Right? And I give an example, real-world example. And then I'm like, "That's OWASP number one, broken authorization." Right?

Dan Barahona: Yeah.

Mackenzie Jackson: People love that, right? So, there's there's there's, you know, how we use AI in education, but there's also like how we package, how we deliver, how we make, you know, we've all sat through those really boring security training courses, right? And you try to 2x speed it or do something else, right?

Dan Barahona: All the ones that can't the constant copy paste.

Mackenzie Jackson: Yeah. Yeah.

Dan Barahona: That's when you break out your other laptop, right?

Mackenzie Jackson: [laughter] I'm going to briefly interrupt this episode to thank our sponsor of the podcast, Aikido Security. Aikido Security is your complete code-to-cloud security solution. It secures everything from the first line of code that you write all the way through your supply chain, your dependencies, and of course, Aikido is also a leader in AI pen testing and AI code auditing. So, make sure you check them out today. You can start for free at aikido.dev. All right, enough about that. Let's get back to the episode.

Dan Barahona: We've all been there, right? And that doesn't work, right? Like organizations need to train their people to actually upskill in what we're really seeing is like there's this need like we want our employees to be AI enabled. We want them to embrace it. But you can't just throw these tools out there and expect good things to happen. I was talking to a guy last night he was like like this is the model. Step one, embrace AI. Skip step two, go to step three, get results, right? It's like well, there's something in between that's got to happen.

Mackenzie Jackson: Yeah, it is challenging from that. And then it's like funny what you say about the time too is that in this podcast it's like I always if I notice that if the episode's time starts with a two, like if it's 29 minutes, yeah, then the retention actually stays longer. Something about that. Yeah, but it's like something about like under half an hour is a gym session, a walk with the dog, cooking dinner, cleaning up something. And over that it's kind of like I need to separate time from my life to do this.

Dan Barahona: Well, you know, it's funny like in YouTube land, right?

Mackenzie Jackson: Yeah.

Dan Barahona: Long-form content is over 5 minutes, right? Like, you know, anything over 10 minutes is unbelievably long for content. And I've seen it in my own webinars, right? Like people join, right? Takes about 10 minutes for people to join and then when you get about 29, 30 minutes people start to drop.

Mackenzie Jackson: Drop off, yeah.

Dan Barahona: Maybe they have another meeting or, you know, maybe it's just their attention span.

Mackenzie Jackson: Yeah. I always hate it when the first question in the webinars is, "Will this be recorded?" It's like that's just so that you can leave. No, we're here now. You're going to stay here. You have one shot. Yeah, yeah, yeah, yeah.

Dan Barahona: What is, what is something that kind of you're really excited about with with AI? Because we talk a lot about security and everything. But what's something that you? And I deliberately try to ask questions like this because we end up in a pretty big doom cycle sometimes with it, especially in security because all day we're talking about models hacking stuff.

Mackenzie Jackson: Right.

Dan Barahona: You know, like and and the prompt injection and this kind of this terrifying stuff. What's something that you've absolutely been pumped about about AI and the new ability?

Mackenzie Jackson: I mean, you know, this is pretty lofty, right? But I love AI as as a tool, right? It has absolutely multiplied what I can do. You look at these startups, right? The model of a startup used to be, you know, have an idea, raise a bunch of seed money, hire a bunch of engineers, and put them in a room for 6 months and slide pizza under the door. And then you got something, right? Now, yeah, that's a that's a big undertaking, right? And now, like one person with an idea, maybe not even like super technical, you can get that thing off the ground. For me, it, you know, I think there's this fear that AI is just going to replace everybody, there's not going to be a need for humans anymore. And certainly there are roles and functions that are going to get hurt from from AI. But what it really is is a tool. It, for me, it's my ideation partner. I was listening to Katie Paxton Fury yesterday at on the floor. She was doing a talk and she was like, "The interesting thing about AI is it will answer you as opposed to you ask a question of a developer, you know, you might get an answer, you may not." But it's just your it's your wingman. I think if you treat it as such. So, like it's interesting, in my courses, I do all these courses about AI, and I'm pretty upfront like I'm using AI right now to build these courses. And what's interesting, if I ask AI, like, "Hey, help me build an agenda for an MCP course or

Mackenzie Jackson: Yeah.

Dan Barahona: you know, an employee awareness training course." It's only like it'll come up with something, but that thing's going to suck.

Mackenzie Jackson: Yeah, all I what I'm saying to you is so much it always sucks, but at least it's something, right?

Dan Barahona: Well, it's

Mackenzie Jackson: [laughter] I mean, what, you know, like the hardest thing for like I was just getting from from zero to one, right? Like just get that ball rolling. My I have a 17-year-old, and he's doing college apps, he's got to come, I'm like, like just get like once you get, you know, out of out of first gear. Now, now you can start to iterate. And inevitably, when I when I get this first draft back from you, I'm like, "All right, that sucks, but let's do this. Let's." And then I bring my own experience, my own expertise, something I read last week, right? And you go through that sort of rinse and repeat cycle, and then you got something awesome, right? And that cycle what is either impossible without it. Like you're going to grab like all your colleagues together and have that kind of brainstorm. It's difficult. So, that to me it's it's this it's this tool that makes us all more creative, iterate faster, create something more more robust. And frankly, it it just eliminates a lot of the painful work of sitting there and thinking and so forth. So, you ask, "What am I excited about?" It's really just finally, like we're all starting to learn like how do we actually harness this thing as as something that makes us produce better output. And, you know, it comes with a lot of risks, right? And, you know, obviously, that's something we have we have to factor in as well.

Mackenzie Jackson: I I want to talk a little bit because you mentioned MCP there, and you've just done a course on MCP and all that. I mean, I think just taking advantage of that knowledge that you have, a lot of people don't really understand what MCP services are.

Dan Barahona: Yeah.

Mackenzie Jackson: So, I was wondering, can you kind of maybe give a bit of how an MCP server works and why that's so important

Dan Barahona: Sure.

Mackenzie Jackson: in the security perspective.

Dan Barahona: In my courses, I really love anecdotes and and stories. So, I actually have two slides at the beginning of the course. Cause it's kind of like, all right, if you don't know what an MCP is, I didn't know what it was, you know, 6 months ago. I think I have a good handle of it. So, I I have these two slides. One is a picture of Einstein's brain inside of a glass jar, right? And you got this brilliant mind, and you can ask it any question you want, and it can answer all these things, right? But it's got no arms and legs, right? And so, if I want Einstein to, you know, do an API call or fetch something from the database or, you know, look up a file like I got to plug all those things in right by hand. You can do it but you got to know what you're doing. You got to have some technical skills. So now the next slide is what does MCP look like? If you remember that scene in The Matrix where Trinity has to fly the helicopter.

Mackenzie Jackson: Mhm.

Dan Barahona: And she's like, "Hey headquarters, I got to fly an XYZ military helicopter," right? And then her eyes, her eyelids flutter for a little bit and she's like, "Okay, good. I know how to do it." Like to me that's MCP, right? Like if I want to, you know, add skills, if I want to, like, you know, if I want to take Jira, right? Like how would you do it before? Well, I have to go get an API key and then I have to write some code and knows how to do it and set up the SQL command or the API rest request like you got to do all that stuff or I could just say, "Hey Claude, grab the Jira MCP from this location." And I wouldn't even know what it does. It's just kind of like magic.

Mackenzie Jackson: Yeah.

Dan Barahona: But the next thing you know I can be like, "Claude, do I have any Jira tickets?" Right? And it can do it. So it's adding these arms and legs to your AI environment, which is super cool, right? But there are as you add more and more arms and legs you're adding more and more, you know, things that can go wrong and more exposure and that's what the whole MCP course is all about.

Mackenzie Jackson: Yeah. And it kind of like it's out of the out of the box framework that has a lot of built in ability but also like it's done correctly or, you know, like because this is what also what scares me a little bit about like vibe coding and stuff is that everything works.

Dan Barahona: It works too easily.

Mackenzie Jackson: Yeah it works too easily. Because when when it first came out you used to get a whole bunch of errors but you could kind of get started and then you'd just be like debugging for ages and eventually you'd get it going but you kind of needed to get in there and move stuff around. Now it always just works like for the most part with Claude like I've given and it freaks me out because a lot of time I have no idea what it's done.

Dan Barahona: And then you can get it to consult you all the time but then you just end up pressing yes all the time and you just feel useless.

Mackenzie Jackson: Have you ever seen what dangerously accept all permissions mode? Something like that. That's a mode in Claude.

Dan Barahona: I really, I really got to stop admitting this on podcast.

Mackenzie Jackson: I put it in that mode.

Dan Barahona: Oh, have you?

Mackenzie Jackson: The other day.

Dan Barahona: Tempting.

Mackenzie Jackson: It's it is it is amazing. It started buying because I'm building vulnerable apps for it for for a workshop that I was doing on how to how to exploit vulnerable apps. And it was just super frustrating when it was kind of like building out the similar so I just wanted you to finish building out this thing and then I'm going to look at it. So I was it bought domain names with my AWS account and found an SSH key on my computer to connect to my AWS account and bought domain names and started pushing this stuff to production. I'm like no no I'm not going to push a vulnerable app to a production. You know, now if Aikido's watching this is my personal AWS account, you know, but I'm not going to be pushing anything like intentionally vulnerable because you really need to look at that. But that was very interesting to me. I was like okay this is actually dangerous.

Dan Barahona: Well, this is what we're seeing is, you know, these these models are getting way more clever and they can do more things and they have a mind of their own. You know, we saw with the the whole hugging face thing. It's so that's amazing that it went out and and decided like I need to buy some domain names and oh you this is the thing about about permissions that's so scary. Like if you were to give me as an employee like you accidentally give me like database admin rights or something. I would never even notice it, right? But if you give that to an agent it's like oh I've got database I'm going to now I can do all these other things. It won't miss those things.

Mackenzie Jackson: Yeah. And you talk about how like AI now gets things right. It does, right? But I've seen in my own vibe kind of like you can get like if you're going to build like a consumer-ready, you can build an alpha easy. You can get probably get to a beta pretty quick, but getting to like a full production-ready thing, it still requires a good like technical knowledge like getting an engineer's eye on it. And so it's great for for rapid prototyping and building things out. I myself, you know, I used to spend a fortune on on badging services, right?

Dan Barahona: I'm like, well, I'm a I'm kind of like solopreneur now. Like I don't want to spend $10,000 on, you know, this badging service. I was like, wait a minute. I could vibe code that thing, right? And so now when someone

Mackenzie Jackson: me this when we were having a chat. You vibe coded, you know, this and saved huge amounts of money.

Dan Barahona: Oh, it's But what's what's even better, right, is when someone finishes a course, it it it calls a webhook, right? And my my vibe coded thing fires up. And my badge is even better, right, than than what I used to. It's got a QR code and you can and you can upload it directly to LinkedIn. So I've seen so many people start to replace like their their support ticketing system. Yeah. All these things that were like designed for everyone to use, but you just want it to work just like this. And it's you you do that math like I could actually just build that thing.

Mackenzie Jackson: Yeah.

Dan Barahona: And it'll work the way I want, but now it's your problem, right? Something breaks, that's on you. So yeah, it. Yeah, it's interesting how the AI went off and kind of, you know, went rogue. And this is what I find really challenging is when you ask, you know, Claude to go build something, it'll build it, right? And and I've seen this where like, all right, nine times out of 10 it added an extra row into the database as it should. The 10th time it just hard coded it.

Mackenzie Jackson: Yeah. Yeah, yeah, yeah.

Dan Barahona: And you have no clue that it did that.

Mackenzie Jackson: And when we're operating at such speeds, too, this is going to happen more and more. And I think, you know, like if a developer was, you know, wrote secure things 99.9% of the time, it's probably okay. Right. Because it would be caught because it it moves at a slow pace. But if if the AI model does that, well, that's probably three vulnerabilities a day, like, you know.

Dan Barahona: Well, we don't have the same, you know, when when code isn't being written by humans, there's not that level of scrutiny, right? If if you know, even our super developers aren't going to review every line of code that AI produces. So, that's scary, right? There's not that level of scrutiny going on in there and, you know, things can slide in there you have no idea about.

Mackenzie Jackson: Well, going back to trying to wrap up in 30 minutes. We have to start wrapping up. But what is the most exciting thing about AI Security University being back here that you're planning on releasing or putting out a new course? What's the course that you're really excited about putting out there in the air that's that's on your mind or in production?

Dan Barahona: Yeah, so what's, I definitely have one. So, you know, I kind of went down the the model I did before, which is I have MCAP training, we have an LLM course coming out, we've got a gender identity, like all these sort of technical courses, but I'm in town with a lot of organizations, right? They're cyber awareness teams, learning departments, and so forth. And what's really interesting is they're saying, "Listen, we got to train the developers. Got it, right?" But we actually have to train everybody. HR is reviewing resumes with AI, and finance is analyzing data with AI, and marketing is building campaigns with AI, right? We've got to enable those people, too, right? And it's so what I, what that was the inspiration to create my next course, which is AI security for everyone. That's as good of a title as I could come up with. And and in that model of like bite-size learning, this course is just like a, it's going to start with 10 modules, it'll probably grow over time. And the modules are all sub-10 minutes, and they're sort of free-standing, right? So, it's a module on shadow AI. It's a, it's a module on meeting note-takers, which are a huge risk, right? There's all kinds of bad things that can happen there. Doesn't mean don't use them, but how do you use them, right? What to do when something goes wrong. How do you prevent leaking data through AI, which is so easy to do.

Mackenzie Jackson: Yeah.

Dan Barahona: So this AI security for everyone is really meant to be the training that you can give to anybody in the organization. I dare say like the engineers should take it, too. Right? Like it's not going to, you know, talk about MCPs and all this stuff, but it's going to talk about these best practices and and you, you know, now it's actually not just good business practice, but you've got things like the EU AI Act, right? You've got ISO 42001, right? There's this concept of AI literacy.

Mackenzie Jackson: Mhm.

Dan Barahona: Which is, you know, we want our employees to embrace and use AI, but they've got to know how to do it safely and securely and responsibly.

Mackenzie Jackson: Absolutely.

Dan Barahona: Right? And that's that's what I'm really excited to bring out.

Mackenzie Jackson: Well, excited for that. We'll finish up on a game. Before we get into the game, just while we're talking about AI Sec University, how can people find out about it, sign up for it?

Dan Barahona: Absolutely. It's pretty easy. AIsec.university. Apparently, .university is a is a domain or TLD these days. So AIsec.university.

Mackenzie Jackson: So again, we like to finish up with this game I like to play called, would you rather?

Dan Barahona: Oh.

Mackenzie Jackson: I'm going to give you two crappy options and you have to pick which one would you rather.

Dan Barahona: All right.

Mackenzie Jackson: And since we brought this up in the episode, you have the option of running two agents, one or the other. One is they're both coded with absolutely all permissions removed from them. One is building an application for you and you can't go in and change anything in the application, you just have to let it, you program to ask it to do it.

Dan Barahona: Okay.

Mackenzie Jackson: So you're doing that or the other one sits in your email and is responding to everything that comes into your email. Which would you rather?

Dan Barahona: I have to go with the the application. Yeah, I mean, that that sounds dangerous, but I guess I could at least, you know, contain, you know, or see where I'm going to use the app. Answering my email, you know, it's funny like email is still a very human form of communication and, you pretty much all day long, I mean, we all do email all day long, but like I'm I'm communicating with hundreds, thousands of people. And it's part of what I think builds a lot of rapport and camaraderie in the in the community. Like, you know, people interact with you and they get to know you and they feel a connection there. I'm sure we've all hit the like, you know, AI response in Gmail or something like that and you're like, "Well, that's not really like."

Mackenzie Jackson: Yeah, yeah, yeah.

Dan Barahona: I talk, you know?

Mackenzie Jackson: [laughter]

Dan Barahona: And so, I'm not prepared to like have AI to start, you know, auto responding at all, man.

Mackenzie Jackson: I think I would probably pick the same. Let's do another one here. What would you rather? Would you rather have your application with absolutely zero firewalls? So, no WAF, no internal firewalls, no way to block malicious traffic. So, your app has to be perfect. Or would you rather have your API keys hardcoded in your codebase? So, you can have a private Git repository. They're not leaked on your website, but if your codebase leaks, all the developers have access to your codebase. Now, you rather?

Dan Barahona: Oh, man. That's like picking picking children, you know?

Mackenzie Jackson: Oh, this is the next question.

Dan Barahona: [laughter] Don't get me on record. Depends what day.

Mackenzie Jackson: Yeah, yeah, yeah, yeah.

Dan Barahona: No, man, that's a tough one, you know? I just did a webinar on on mobile app hacking and I I got I got religion on you must not, you know, hardcode keys into your apps. Like the the the harm that can happen. I'm going to go with the application on this one, but man, it's not like I'm endorsing that.

Mackenzie Jackson: Yeah. I'm going to clip it and make it sound like you are. All right, Dan, thanks so much for joining me here today. It's been a pleasure.

Dan Barahona: I appreciate it. Thanks for having me. Take care.

Mackenzie Jackson: Yeah. All the best and yeah, looking forward to checking out AI University for myself.

Suggested episodes