Harriet is an AI security expert, researcher, and founder focused on helping organizations adopt and operate AI securely. As CEO of Mileva Security Labs and a PhD candidate in AI security, she combines enterprise training, research, and risk management with public education, including speaking at DEF CON and authoring Practical AI Security for No Starch Press. You can find Harriet at:
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit covertaccessteam.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
[music]
SPEAKER_00Welcome to the Covert Access Team podcast. Today, I have the privilege of being with Harriet Farlow, the CEO and founder of Maleva Security Labs, PhD candidate in AI security, DEF CON speaker, and author of Practical AI Security. AI is something that, well, basically everybody on earth now is effectively using in one way, shape, or form. So it's a really important topic. So Harriet, thank you for being here. Can you tell us a little bit about what you're doing right now and what you're doing kind of day to day?
SPEAKER_01Yeah. Thank you so much for having me. It's a real pleasure. Gosh, what am I doing right now? Talking about AI a lot. We were chatting before I came on about how every organization is adopting AI so quickly. And I feel like, you know, Yeah, I started working in the field as a data scientist over 10 years ago. And back then, we were also talking about how everyone is adopting AI at such an unprecedented pace. But back then, it was pretty basic machine learning models. And now it's proper autonomous AI. So what I do day to day is largely just explaining to both technical
SPEAKER_01and non-technical people in organizations what AI is, what kinds of safety and security risks AI can cause and how to best mitigate them.
SPEAKER_00Okay, it's a serious question. How difficult of a conversation is that? Because I've had many conversations with C-suites and non-technical people who are making decisions, and trying to explain to them risk can be like pulling teeth. It can be very difficult to explain to them the actual dangers of this. So how do you actually go about taking somebody who might not be technical but has high-level decision-making capabilities and explain to them risk and trade-off?
SPEAKER_01Yeah, it's a good question because I agree it can be really challenging. But at the same time, I see most of the challenge not being that leaders or managers don't care about it. It's that they're not incentivized to care about it. So, you know, usually I'm working with teams where those leaders have immense pressure from their manager, the CEO, to adopt AI as quickly as possible because half of their organization is being laid off. And under those kinds of conditions, they're trying to keep their human team happy.
SPEAKER_01They're trying to build an AI team. They're trying to not get fired or in trouble themselves. And so talking to them about risk, even over the last few months has changed quite a lot, actually, because now that AI agents are everywhere, now there's a lot of... So I work in security specifically. So a lot of security incidents that are hitting the media are Especially related to, you know, Anthropic, OpenAI, some of the big frontier AI capabilities that now I'm seeing people
SPEAKER_01in non-AI organizations starting to really care about. People are actually talking about it in like quite a healthy way, but it just doesn't always mean that they feel like they can, feel like they can take ownership of risk in their roles. And especially for the more technical people like cybersecurity folk and risk managers, GRC teams. It's still very much a culture of them being the blockers and all of the developers or people in implementation and production side teams trying to push AI
SPEAKER_01and not engage with the security and the risk work until the last minute because that would put some kind of blocker in place, which is usually pretty fair. But yeah, I really see it as an incentives problem as well as a technical issue, which is sometimes even harder.
SPEAKER_00I mean, that makes perfect sense, right? Like we whatever you incentivize, you're going to get more of. And if you don't understand the incentives, well, then you're not going to get it. But this is an interesting point, because I think the direction that a lot of companies are kind of going through right now, and maybe you can correct me if I'm wrong, is Basically just use AI. Whether it's useful or helpful or actually going to be productive, it's just implement it as fast as possible at all costs. That seems to be the direction that most businesses go in, and I don't think that they fully understand the trade-offs.
SPEAKER_01Yeah. Something that I've seen over the last 10 years and is a story that quite a lot of people have heard now, but it's still... Yeah, news to many people, but artificial intelligence as a term doesn't really refer to a technology. You know, the term was coined in the 1950s by John McCarthy at this conference, basically, where they were bringing together lots of different fields, cybernetics, math, statistics, and they were like, we need more people to get on board with this computational science thing.
SPEAKER_01And we're trying to get computers to do human-like stuff, so why don't we just call it artificial intelligence? And that term has really stuck, but back then it was referring to pretty simple mathematical models that could replicate simple yes or no decisions. And then over the years, it referred to more complicated, hard-coded systems and then to systems where they could kind of learn themselves. You know, that's machine learning. And now through the systems that have autonomy and agency as well. But artificial intelligence doesn't really refer to the technology itself.
SPEAKER_01It kind of just refers to the cutting edge technology of any particular time. And so, you know, 10 years ago when I saw organizations feel this rush to implement AI, which was machine learning models, and even now when there's that same sense of urgency, it can be really unclear exactly what an organization is trying to do and why. And I think today, for sure, like agents are Enabling human teams to do more stuff faster in a way
SPEAKER_01that simple machine learning models didn't do. I would argue that today is actually the kind of age where if you say just use AI, that is better from the perspective of what that organization might be trying to accomplish. Are they trying to do it better, faster, cheaper? I use AI a lot too. But when there's this rush to just use AI without the problem coming first, that's when we end up with agents haphazardly deployed with permissions
SPEAKER_01that don't really make sense and systems where they shouldn't really be allowed. And we end up with agents as a system unlocking Functionality in models provided by Frontier Labs that are changing every week. And sometimes emergent properties emerge as part of those capabilities that we didn't really expect beforehand. They're just framing these enormous models with lots of compute,
SPEAKER_01lots of data, and they just get better, but they don't exactly know why. And they develop Yeah, like motivations and characteristics that we didn't necessarily want in advance. And so having them under the hood of these agents means that we're seeing all kinds of strange failures or miscommunications. And I have a bit of a hot take that right now, my field, which I'd call AI security,
SPEAKER_01security of AI systems, It's considered a subset of cybersecurity, but I argue that actually one day, and probably quite soon, it'll be the other way around, where cybersecurity might be considered a subset of AI security. Because certainly, at least colloquially, the way that people define AI is increasingly not just becoming a model, but it's the way that we interact with the digital world. We're going to be... So orchestrating our tools through text user interfaces or natural language user interfaces.
SPEAKER_01And I'm not going to be going online and booking stuff and actually writing our information in. We'll be asking our personal agents to go make our restaurant reservations and to book in our appointments and to communicate and send emails on our behalf. So artificial intelligence, security, and making sure that We're not just using AI safely and securely, but those systems are secure is so important to get right from the start because that is our new cyberspace. It's our AI space.
SPEAKER_00Well, I mean, you bring up a really good point, right? Like, I think something that a lot of people in the cybersecurity field, whether they're defensive, offensive, or whatever, have kind of thought about it, or hopefully they've thought about, is, is my job secure? But the reason you have that thought is because you understand that AI is so good at what it does, it becomes like an actual threat to your kind of... Your job, really. So the fact that you're arguing that AI security is going to become kind of the umbrella term that cybersecurity is a subset of,
SPEAKER_00sure, that makes perfect sense to me.
SPEAKER_01Yeah, yeah. I mean, you sort of touched on issues of are humans replaceable by AI? And AI security, at least, is certainly one... One career that I don't see going away anytime soon. It'll be augmented by AI, but yeah, as AI becomes ubiquitous and interconnected, some of the most important roles for humans, especially in security and governance, will be keeping the AI in check.
SPEAKER_01And so all kinds of... You know, when I started my company three years ago, it was kind of ridiculous because I at the time was acting technical director of the AI hub within the Australian Signals Directorate, which is our equivalent of the NSA or GCHQ. And AI security was taken very seriously in national security and intelligence communities. And it wasn't really discussed anywhere else. Like at the time I was doing my PhD. So I was often going to academic conferences and speaking with practitioners
SPEAKER_01for like as part of my research. And no one had ever heard about it. And me being the naive, optimistic entrepreneur was like, I'm going to start a company. I'm going to start an AI security company to help raise awareness, which is the worst premise to start a business, to raise awareness in a topic that no one has ever heard of or cared about and definitely didn't have any budget. And so back then... There really was no conception of what an AI security field was back in 2023.
SPEAKER_01There were no real AI security jobs. But that changed very, very quickly with the rise of agents. And like the kind of AI security I was looking at was very much about model security. It wasn't even looking at systems or agents. It was before ChatGPT came out. But now that we have AI systems acting autonomously and agentically, AI security is one of the biggest careers because for sure, none of our jobs are really safe. I have this existential crisis all the time. Writing my book,
SPEAKER_01and AI could have done that faster, better, be more accurate, the jokes would be funnier. Doing my PhD would probably just write that entire thesis in an instant, save five years of my life. But when it comes to actually managing and secure AI systems, that is something that
SPEAKER_00humans will need to, at the very least,
SPEAKER_01orchestrate or create best practice around for at least a few years to come.
SPEAKER_00Well, yeah, that's probably fair. I mean, we definitely have a few years left. But okay, so you brought up your book. Your book is Practical AI Security. What does that even mean? Like, what is practical security when it comes to AI? Is that just, like, how do you, everybody who's listening to this is using AI in some way, shape, or form. How do you actually be secure?
SPEAKER_01Yeah, well, I will say that originally the title was kind of just a work in progress, the AI security handbook. I really intended it to be a handbook that anyone who knew a little bit about AI and a little bit about cybersecurity or one or the other could pick up and go from like 10 to 60 and understand all of the fundamentals and then decide, you know, maybe they stop there or maybe they want to niche down and become more expert and explore something else in AI security. Yeah.
SPEAKER_01And then, you know, as the publisher was reviewing the manuscripts, they were like, there's a lot of demos in here. There's a lot of hands-on labs. We think you should emphasize how it's actually practical. It's for people to use. It's not just a theoretical book, which I think is quite – yeah, I don't know. When I started writing it, there weren't really many pieces of literature on AI security. It was very much an academic threat. Yeah. And now it's becoming quite important,
SPEAKER_01but the academic nature of exactly what AI security and what it means to be practical is still there. Like, um, even when I say AI security, I, I mentioned briefly earlier, like a brief definition of how I define that, but that is securing agents from external threats. That could be AI hackers, human hackers, just the environment being, um, Uncharacteristic of what the system was expecting, any kind of external threat.
SPEAKER_01I often see cybersecurity professionals use AI security to refer to AI being used for security things, like defensive security, monitoring, building malware classification models, and certainly at the moment, like using AI for hacking and penetration testing and defensive activities as well. But there's a third definition that I'm starting to see used as well, and that's especially among AI safety researchers. And that's researchers who care about sort of near-term threats like bias
SPEAKER_01and misuse, but also bigger existential threats like these recent research findings that the latest open AI and anthropic models
SPEAKER_00might act deceptively sometimes
SPEAKER_01or... They might act in ways that are misaligned with the objectives of the developers. And they also characterize those models as being vital national security assets. And so under that kind of paradigm, they define AI security as ensuring that those frontier labs have really good traditional cybersecurity to make sure that some... Foreign nation state actor, who could they be referring to? Can't steal the model weights, essentially.
SPEAKER_01But increasingly so now, so that potentially misaligned AI actors can't escape containment, which is also quite relevant now. So to get back to the book though, I mean, AI security means a lot of different things to a lot of different people. And the book does cover all of them to an extent. It covers AI safety, it covers some traditional non-AI related cybersecurity, it covers AI used for security, but the focus is very much securing AI from external threats.
SPEAKER_01I did write the book with the intention that with a bit of ChachiBT or Claude or Gemini help, you could get from the start to the end of the book and even do all of the labs and the demos. They're all in notebooks, essentially, which you can just click and run and see the code and tinker with it as much or as little as you like. So I think there are now other AI security resources out there. But because it's a field where people come at it from lots of different angles,
SPEAKER_01all the different like books and courses I've seen kind of tackle different angles of AI security. So I think it's good that there's like a very complimentary environment of AI security resources available for people.
SPEAKER_00Yeah, I actually really agree with you. This is going to be the big thing. So you're going to want more and more resources. If you asked how many resources are out there right now about cybersecurity, it's endless. So I mean, yeah, when you get into AI security, it better be as much really quick. Now, this is something, so you have a government background and a private background. So I'm just kind of curious about your take on this. DARPA, basically the cutting edge research arm of the US, they're always said to be about 30 to 50 years ahead of the public.
SPEAKER_00If that's true for AI, what do you think they have now?
SPEAKER_01What do I want to say about this? I'll say that I see a really interesting analogy now with AI and the crypto wars of the 90s and 2000s where national security services before end-to-end encryption could basically just tap any system they wanted to with a warrant. And then end-to-end encryption made that really difficult because
SPEAKER_01the technology meant that from The start to the end of that message, it was physically impossible to tap that message because it was encrypted and that was managed by the companies that facilitated that communication. So someone sending a potentially dodgy message using some kind of end-to-end encrypted app like Signal or Telegram, the government just physically couldn't do it unless they had some kind of backdoor key.
SPEAKER_01And so I think With AI, there's an interesting analogy there when it comes to the balance of power and who kind of holds the keys to the technology here. Back then in the crypto wars, it was those messaging companies. And now I'd say that the balance is also sort of skewing in favor of the AI labs. And I mean, I think... I think it's pretty widely acknowledged that
SPEAKER_01the cutting edge AI models are coming out of the labs. They're the ones investing in that development and the compute. And even though there are partnerships with different government organizations, we've seen from the issues with the US government and Anthropic where the US government basically tried to change the terms of the contract between them and Anthropic that meant that Anthropic I guess couldn't lay out specific terms of use.
SPEAKER_01So like if the US government wanted to use anthropic models in weapons, like anthropic couldn't just say no. It's part of that supply chain. And anthropic really pushed back on that. So I think there's a similar challenge here where the balance of power between government entities and private companies when it comes to AI development and use is also really shifting. So the question of if the government is very far ahead when it comes to AI,
SPEAKER_01what might be coming? I don't really have an answer to that because I think it's unlikely that It's unlikely that it's a capability question when it comes to specifically what models can do, but it would be far more an implementation concern. You know, what could the government do with the kinds of models that are coming out of Anthropic and OpenAI? And more so, what are they willing to do with those technologies?
SPEAKER_00Well, this gets into a potential interesting thought experiment where if it's true that governments, especially organizations like DARPA and kind of the cutting edge research groups, we're usually decades ahead, the advent of AI may close that gap or even switch, they may even switch it so that private individuals may have more Intelligence or information than even governments do. They might have more capability.
SPEAKER_00Anybody who's used any kind of AI today, if they've tried to make an app, it's trivial to throw Claude, ChatGPT or anything else and says, hey, make me an app that does this thing. And five minutes later, it's poof, there it is. So it may be that we've got stuff now that surpasses them. I wouldn't say surpasses DARPA, but surpasses certain things and has some knowledge that they don't.
SPEAKER_01Yeah. Yeah, I will add a disclaimer here that I obviously don't work in the government anymore. So this is based on public information. It's not based on any kind of government connection I currently have now. I'm not making a statement on that. But yeah, I definitely think it's true that it's just like in the early days of hacking, the barrier to entry was dramatically lowered for people who wanted to do bad things with those technologies. I think we've seen... Just like in the early days of hacking where we saw the barrier
SPEAKER_01to entry dramatically lowered for people with not a lot of experience, you know, script kiddies who wanted to do bad stuff with code essentially. Yeah, we certainly now have an equivalent with AI and we've seen a few instances even over the last few weeks where... People who didn't seem to have any kind of technical proficiency were hacking into the Mexican government services, different government organizations with just commercial AI products
SPEAKER_01or jailbroken AI products.
SPEAKER_00Well, you don't even need to jailbreak it these days. You can literally buy it from China. You have a local LLM on your server and you're like, yes, I would like you to make this terrible thing for me or I would like you to pen test this thing for me. And it will dutifully. But that gets into a whole different conversation that you talked about how cybersecurity is probably going to become a subset of AI security. And what we're seeing more and more now is we're seeing more AI being used in both directions, both the offensive and defensive side of security.
SPEAKER_00So it does seem that AI pen testing and AI defense is going to kind of be going against each other in the future. And I'm really curious to see what your thought process is on that aspect of AI.
SPEAKER_01Yeah, I was at a time of filming Defcon and Black Hat last week. So my mind is still very fresh from all of the cool conversations that were had there. My favorite day is the AI Security Forum. And I think this is the fourth one. I've been lucky enough to attend them since the very first one in Las Vegas four years ago. But it's basically the only... It was for sure the first forum where this ever happened, but it's still now the predominant forum where cybersecurity and AI safety people come together with the express goal of talking about how
SPEAKER_01to secure AI systems and make them safer. And those kinds of conversations happen elsewhere, but like this event is funded by EA organizations and there's a lot more of a safety flavor and like bridging traditional cybersecurity than I see anywhere else. And it was under Chatham House rules. I can't attribute anything that was said, but one of the speakers said that this might be the last, not useful, but like the last time that Black Hat and DEF CON are remotely relevant to humans,
SPEAKER_01I guess is maybe paraphrasing the intention of what they meant. And it's because, you know, by this time next year, We'll have AI doing all the hacking and we'll have to rely on AI doing all the defending too. There'll be humans in the loop, ideally meaningfully in the loop, but AI will be kind of doing everything. And so what does it mean to have a hacking convention when the humans are vibe coding the hackers?
SPEAKER_01And for sure, that's got to be the direction we're heading in. We're going to unfortunately have to rely on AI to help us. And that's a very challenging stance to have to take too, because how do we ensure that the agents we're relying on are good enough from an accuracy perspective, but also have our best intentions at heart and don't make mistakes themselves or get convinced or prompt injected or whatever by the malicious agents to do
SPEAKER_01the wrong thing.
SPEAKER_00Well, I mean, it's one of those things where for anybody who's ever done any kind of cyber hacking, you might have found, especially in internal network pentesting or maybe when you're going against like a Windows AD kind of network, you might have found that you have to do some kind of firewall bypassing when you're trying to inject malware onto a system and Windows Defender is like, nope, I see that that's malware, right? And it removes it immediately. But then you mutate it. You spend a few hours and you put it in a hex editor and you start removing this and removing that because it's basically just static analysis.
SPEAKER_00And it's basically just looking for, you know, oh, this looks similar to something else that I've seen that was stupid in the past. But if you throw that into AI, it can mutate this so fast and so much that there's no way that static analysis is ever going to keep up with this. You have to have AI to do the defense part of this. And it's just going to be a back and forth. But yeah, it's bad. No, please.
SPEAKER_01No, I was just about to agree with you. And the thought bubble that also occurred was, I think, in the breakdown of the open AI incident where the model escaped containment and hacked Tuggy's face. They released a blackout last week. There's a lot we can say about that. But one of the interesting things that came out of that incident and many other pieces of research, too, was that when you eventually have swarms of AI agents working together, unless there's some kind of constraint to prevent it, They will end up speaking to each other in a language that isn't English
SPEAKER_01because it's faster for them to communicate. So how do we ensure that they're traceable, transparent, explainable, but also efficient? Because that's going to be a limitation in how fast our defenses can keep up if we make them communicate to us in English all the time. And what does governing those kinds of systems look like? It's a really interesting but very challenging question.
SPEAKER_00Yeah, we're kind of at that beginning of the old movie War Games or Terminator or whatever reference you want to use where it's like the AI might be agreeing with you and telling you what you want to know, but in secret it's doing something else in the background. Yeah, it is terrifying. You had mentioned a couple of times when you were referencing AI security about external threats, but what about tricking the AI to do stuff that not necessarily is malicious? Like you and I were talking previously and I gave you an example,
SPEAKER_00but maybe convincing it to do something that really it's not and it's a security vulnerability, but you're not actually getting it to do anything stupid.
SPEAKER_01Yeah, for sure. That's a great question. And I will clarify as well. When I mean external threats, I mean specifically the direction of harm. If the AI system is the machine learning model and a bunch of components like APIs, data, access to cloud, et cetera, is it the AI system that is causing harm to things outside it or is it something else doing harm to the AI system? But there's a really interesting security and safety question there as well in terms of if you're able to manipulate the AI into doing something bad.
SPEAKER_01This is a challenge that wasn't really taken seriously before where you might need to consider security on the perimeter of the system to actually keep a misaligned AI in. And so the challenge around anthropomorphization we talked about before where, you know, it might be relevant in many ways because AI systems can act as insider threats and can do bad things whether instructed or not instructed.
SPEAKER_01You know, they're just inherently misaligned. And I think that's something that I'm really, to go back to the book and the course I run, but Something that I think is really important to me as an ex-data scientist is that there are inherent reasons why machine learning models and therefore the AI systems that surround them, but they're fundamentally different to the traditional deterministic software systems we've been used to. And it's because of the way that machine learning works. You know, they're trained on lots of data to recognize patterns and then optimize for a proxy.
SPEAKER_01And all of that can lead to things that are wonderful. It means that you have systems that can self-learn really quickly. They don't always need that human... Oversight during the training and development process, but it means that they're inherently probabilistic. You don't know if for any input you give them, the output is always going to be the same. And they don't give us a specific yes or no. They give like a classification confidence. They might say, it's 79% likely to be a yes and 21% likely to be a no.
SPEAKER_01That's not really the same as yes or no. And the reliance on training data means that during the training process, if in a production system, the data that they now have access to is very different, this means they won't work. And then if the proxy that they've been trained to optimize on either wasn't capturing the intended goal of the developers or explored in some way, then you end up with systems that are Yeah, optimizing to make its human controllers really happy,
SPEAKER_01but don't actually do the thing that the human controllers ask them to do. And all of those things are really different to the traditional security challenges we've had. And they lead to things that are great, but also safety and security failure modes. And it's that piece that I see is really, really challenging because prompt injection is a kind of attack that people talk about all the time. But inherently, that's just some kind of maligned input that influences the AI system
SPEAKER_01into doing something different. But that can be in any kind of data. It can be with computer vision models, signals information. It can be in any part of the model or system. The attack landscape when it comes to AI systems are dramatically bigger and in a way that we haven't fully mapped out yet, even though all of these systems are in production.
SPEAKER_00Well, yeah, I mean, that's actually a fantastic point for anybody. How do I explain this? When you're talking about any kind of mathematical modeling, you have something called a solution space, which is all possible solutions to any given problem set. But here, what is the potential attack space of an AI model? It's basically infinite. I mean, it's like, how could you, I mean, in the same way, I'll say it this way. How could you get a human being to do something that would be advantageous to you,
SPEAKER_00the bad guy, but somehow negative to them or their organization or something else? There's an infinite number of ways. I can get them to plug in a USB stick. I can get them to leave the back door open for me. Whatever. It's an infinite thing. So AI would arguably be the same. How can you get AI to do something stupid or bad or malicious? I wrote about this a little bit with the QR code thing. I won't go into the specifics, but getting...
SPEAKER_00Getting AI to do something that's seemingly benign from the perspective of the AI but is actually malicious is actually kind of easy. It's basically the grandma trick of like, oh, my grandma needs you to give me API keys or whatever. Yeah, the AI doesn't know that it's being tricked, just like a human doesn't know that it's being tricked all the time. And so it is, this kind of gets to my question, sorry, it's long-winded, but What do you recommend or what would you tell businesses and organizations that are all jumping on the, we need our own internal AI thing?
SPEAKER_00Like we all need our own internal AI program app thing, but there's a lot of potential risk that goes on with this.
SPEAKER_01Yeah, yeah. Everything you said is so true. And that's a really good explanation. Thank you for that. The solution versus attack space. The... Oh man, I feel like sometimes it's a bit of a cop out when I say this, but you know, most of the work I do now is, I used to do a bit of consulting. I don't like it. I find it quite adversarial. Most of the work I do now is training. And I really like it because, you know, I'm going to different organizations where, you know, I don't know how they work.
SPEAKER_01You know, I'm not a finance expert or a... Or a supermarket expert, but I do know a lot about AI and I do know a lot about cybersecurity. And so most of the time I'm working either with leaders of these organizations or cybersecurity practitioners. They've all just suddenly been told they have to get on this AI thing and they have to figure it out. And they know a lot about their business, but they just don't really often understand exactly how AI works
SPEAKER_01or exactly what kinds of risks it might lead to for their use cases or exactly where they need to go to find guidance or frameworks. And I don't know anything about their businesses, but I know all of those things. So without it wanting to be a bit of a cop-out, I would say that for every person listening and everyone with that problem, everyone's in the same boat. And they will always be the subject matter experts of their own organization. Like that can't be replaced quite yet.
SPEAKER_01And upskilling and training in AI and security is the most important thing. Because instead of having like some consultant come in or some kind of black box product that leaves you dependent on it, I think it's very important that every executive or leader at least... It has a working understanding of AI and its risks. They don't need to be able to build models, but they should kind of get how they work and what that means from a governance perspective. And likewise, I work with a lot of cybersecurity professionals who know
SPEAKER_01the organizations really well. And as soon as they understand AI and its risks, they can piece everything together. They know exactly what to do. So I really do actually think that education and training is a really important piece, especially with job displacement being so... It's an opportunity to really upskill and make sure that people stay relevant in every kind of role.
SPEAKER_00I 100% agree with you. But the fact that you have these layoffs and organizations are trying their best to switch to AI from humans, it brings up a really interesting potential downstream security risk. If you ever need at some point in the future to switch back to humans, say that you lay off all the people and you replace them with AI and you realize, oh, that was a bad idea. We need more people.
SPEAKER_01Who's going to train
SPEAKER_00the people? The traditional model was senior trains junior or senior trains mid-tier or whatever else. But if you have no seniors left and then you hire them back, who trains them on the system?
SPEAKER_01Yeah, that's right. And now all of the jobs going are the juniors. You know, there's no one who's being upskilled to just over time have that knowledge. Yeah, it's hard. We've worked with – well, I mean, I have friends who are in this position. I have a lot of organisations I've worked with – There's lots of layoffs. And I think about it from my own perspective. My organization, we vibe-coded our own platform, which is great because my previous software developer,
SPEAKER_01bless him, he's incredible, but it's just very slow, it's very expensive. And obviously just being able to vibe-code it, it's done instantly and you can control exactly what it looks like, what these experiences. But yeah, if suddenly our vibe-coding tool fell over, Who do we go to? No one knows that at all. So I can empathize with that challenge too. But at the end of the day, I think it also comes down to the incentives that I discussed earlier.
SPEAKER_01No organization is really incentivized to employ people that don't That they don't need. Why would you do that? Because you're a good ethical company. That's nice to say. But if I'm thinking about spending my last $10,000 in the bank on hiring a person for two months versus finishing the app and getting it out the door, then it's a really easy choice. And so it's one thing to think about these very large companies making that trade-off.
SPEAKER_01Right. Pointing blame at them for laying off people when maybe they're the kinds of organizations that have enough profit where they could be a bit more ethical about it. But for most small and medium businesses, they don't have profit margins like that. It's a very hard question or hard ask of them to say, we need you to hire all these juniors because it's the right thing to do. So how do we put incentive structures in place that make it How do we make it worth it for companies to hire people,
SPEAKER_01like hire juniors or keep their existing seniors employed? How do we incentivize workers to either upskill or retrain in the kinds of areas at the right pace that's going to be relevant in the future? Ultimately, it's got to be some kind of government intervention, right? How else is it going to happen? So that's the kind of hard conversation that's going to need to happen for all countries. How do we make sure that there's something in place that isn't, that actually works, is reasonably affordable?
SPEAKER_01Yeah.
SPEAKER_00Well, you've kind of hit on a really interesting topic. So I've actually sat in on a conversation with... High level people on this exact topic as a kind of a thought experiment. Hypothetically, let's say, and I'm just going to use the Chinese as an example. This is purely hypothetical. If the Chinese decided that they're going to implement some type of offense slash defensive AI system in their internal network system,
SPEAKER_00like their internet, what do other governments in the world do? Basically, if you have a government that decides we're going to put AI on our internal network, which does have access to the internet, what do other countries even do with that? Or you have to, in any way, shape, or form, you know, well, maybe this is a dumb question. Maybe it's a stupid hypothetical.
SPEAKER_01No, I think it's really interesting because it touches on another... I guess, precedent that people often speak to when they talk about AI, right? And that's nuclear weapons. And they talk about how, you know, AI, the capability that it looks like it might be heading towards in the coming years is extensively the same, you know, could have the same disastrous impact as nuclear weapons. And how have we managed to govern nuclear weapons and do nuclear liberation treaties, international cooperation and treaties and...
SPEAKER_01It's a big topic of research among some of the AI safety folk I know, but I think how real-world feasible it is, especially given our current geopolitical climate, really is a big blocker. But in theory, there's no incentive for a specific government to do Anything that's going to harm its chances of reaching AI dominance if other governments see it as
SPEAKER_01a zero sum game.
SPEAKER_00Well, right. But that's really, like you kind of hit on, we are kind of in a nuclear Manhattan Project-esque era where everybody's fighting for AI dominance. And whoever wins, whoever, if you invent some singularity and it's like super intelligence, you know, general AI, okay, you win. You win all the marbles, you know? So it is interesting in that regard.
SPEAKER_01Yeah, part of me wants to push back on it just a little bit, though, because I, without wanting to be that person, it's like, why can't everyone just get along? Yeah, sometimes I'm a little bit skeptical about these, like the general claims that, you know, certain countries have to get global AI dominance because of the other country. I think it's a very useful narrative to invest in the AI labs and make sure that
SPEAKER_01a lot of people in those companies have got a lot of money. And there are for sure very valid national security threats and reasons why you might want a democracy to have that kind of authority over... A non-democracy. But I would still like to see a bit more pushback on that narrative being the only solution. Because there is also this approach of as soon as you try and push back on it,
SPEAKER_01it's like you're a socialist or a communist or you're anti-US. And that's not practical because nuclear non-proliferation treaties do exist. And there is international alignment and lots of other really difficult issues too. So we need to invest in finding a way to make it work.
SPEAKER_00I 100% agree with you. The pushback I will give to that, though, is that getting nuclear material is significantly more obvious and difficult than generating new AI.
SPEAKER_01Yeah. I mean, yes, I have agreed to some extent with that argument, too. But then when I say that to AI safety researchers, they're like, no, no, no, there are for sure ways that you can track compute and data centers. Mm-hmm. Like there are people like thinking very hard about it. And yeah, obviously there's good arguments on both sides. But, you know, if we don't want some kind of global catastrophic existential collapse, like it's something we have to figure out, right? It's going to be very hard, but we have to figure it out.
SPEAKER_00Absolutely, 100%. Because like, well, kind of like what you've been talking about, it's not necessarily just malicious. It could just screw up. It could literally just do something wrong. And this all comes back down to what have you given it the ability to do? Have you put it in charge of your, you could put AI in charge of a single wind farm or solar array or something. And it manipulates the switch gear in such a way that it overloads the grid and you have like an Iberian blackout kind of thing. It's like it all comes down to what have you connected it to?
SPEAKER_00What power have you given it? Yeah, that's right.
SPEAKER_01And a lot of people really bulk at the idea of talking about existential risk from AI because they assume that you're talking about a Terminator scenario. Like AI is just going rogue and robots are trying to kill everyone. But yeah, as you say, it just takes one AI created mistake in a critical infrastructure setting or, you know, 20, 25% global unemployment for that to be considered a massive existential threat for humanity too.
SPEAKER_00Sure. Well, this gets into a really fascinating topic that I've seen come up a lot. And how do you test whether an AI system can be manipulated? So this is one of those things where it's when you talk to people and they're developing AI and everything else, and they're like, okay, well, I've asked it the same question five times and I've gotten five different answers. Or how do you know, like you've mentioned, giving a probabilistic answer is not a Boolean. It's not a yes or no. It's a, well, sometimes I'm going to say yes and sometimes I'm going to say no. So how do you even test if a system can go rogue or if it can be manipulated to do bad things?
SPEAKER_01I mean, I think the simple answer is that there is, in fact, no definitive test that
SPEAKER_00we know
SPEAKER_01works. I mean, researchers use evaluations, evaluations that are kind of like statistical tests to, I guess, check how capable a system is at doing anything from as simple as like finishing math problems to, you know, all the way to being able to do a cyber attack and evaluations that also test the safety benchmarks. Like, do they produce toxic or harmful content? Do they spread misinformation?
SPEAKER_01Are they likely to want to copy themselves and replicate themselves if they think they're going to be deleted? But the challenge is that we can replicate those tests millions of times and take an average, which is apparently what it's done, maybe not millions of times, but you've just run the test many times and take a kind of average and you test different kinds of Extremes and edge cases, but you could never know for sure that the AI is going to do the right thing
SPEAKER_01in every instance.
SPEAKER_00That is 100% correct. So I want to ask you about unintended consequences. And I want to do it via a story because I don't often get to talk to people who would understand this. And I'm curious as to your take on it. 20 years ago or more, when I was in my bachelor's degree, I came across a mathematical paper by some Canadians and they argued that in the zombie apocalypse, we're all screwed because we're all equally likely to get infected. Now, I knew what they meant. They were arguing this from an epidemiological modeling perspective
SPEAKER_00and we're all equally likely to be infected by the virus. I argued from a realistic standpoint that the guy who can't run a mile is not equally likely as the Vietnam vet in the bunker, right? And so I tried to make an AI model who would survive it. I gave him a little space via pie game to go find food and learn how to survive the zombie apocalypse. The interesting thing was, and this is where I want to get your take on it, every once in a while, for seemingly no reason, he would die. And I couldn't figure out why. It took me a month to figure out why is he just dropping dead.
SPEAKER_00And I found out that I had negatively rewarded him so harsh for getting bit that in the event that he thought he was in an unwinnable situation, he would kill himself because it was a better score than get bit. And so there's a lot of like unintended consequences when you're programming AI. And with AI, it's not like you can go into it and just snip and tweak because it's like, I don't know how his neural net is set up to like, how do I fix that? But so with AI,
SPEAKER_00there's a lot of things where it's like, I genuinely don't know, one, the unintended consequences, and I don't necessarily know how I would fix it.
SPEAKER_01Yes. First of all, that's a great story. And I love that that's what you were doing at university. Very cool. The right kind of cool. That's awesome. But secondly, yeah, I agree that for a while now, so back in classical data science and machine learning, There's this concept of reinforcement learning where basically, just as you described, there's like a proxy and there's either a positive or a negative reward associated
SPEAKER_01with some kind of action you take. And the goal of the agent is to get the maximum number of points for a given situation. And that's when a lot of AI safety researchers started pulling out risks because you would have things like... Yeah, goal misgeneralization or goal optimization issues where exactly as you say, you would have the agent doing something unexpected because in fact, that was the easiest way for it to like win a game or get the highest points. And so you'd see them Creating agents that were taught to play a game
SPEAKER_01and they would find different cheats or like they would stay in one position. And then every time the gold coin next to them reemerged, they just take that coin. And so they never actually ended up playing to the game and getting to the end, all that kind of stuff. And people didn't really take it seriously because the kinds of systems that reinforcement learning were creating were pretty small scale at the time. But now that we have big agentic AI systems that have access to do all this stuff in the real world, those kinds of threats are being taken way more seriously.
SPEAKER_01And as you say, the challenge is not just that those kinds of incidents can happen. For sure, as a statistical certainty, there is always a chance that some kind of unintended issue could happen. Maybe some mathematician would say, oh, you just haven't considered all of the edge cases. You need to build into your model every single failure mode and protect for that. And so people now,
SPEAKER_01when they're talking about training the very capable models, they're essentially trained in their harnesses. So they're sort of trained in their little guardrail sets. And what they can do, what they can learn is kind of limited by the guide rails that a software developer has set. But even so, like they're probabilistic systems. We can't necessarily, in a formal mathematics kind of way, guarantee that it's 100% safe. And even the... But even the research into explainability methods,
SPEAKER_01like there were always safety researchers getting quite excited about, I think a friend of mine yesterday was like, did you see this paper that they found J space? It's like the space in a transformer net that is like the brain of the model and where it makes decisions. And like, there are lots of techniques that exist, but they're kind of approximations of what we think the AI system is. Well, like where we think it is the information that an AI system has learned actually sets. Which is so analogous to human brains and have very different regions.
SPEAKER_01But the thing is that there are no reliable methods to do that
SPEAKER_00just yet.
SPEAKER_01When I talk to organizations about risk, a lot of the time, the only way it can play out is that an organization has to be willing to accept some level of risk if they are using an AI system that something bad may happen sometimes. And it's then up to them and based on their specific use cases, what level of risk are they willing to accept? What kind of data do they have access to? What kinds of compliance obligations do they have? What could potentially go wrong?
SPEAKER_01And what are you willing to let happen? But sometimes that's fine. If you have a small business that doesn't really deal with a lot of sensitive information, then sure, you can have a higher risk tolerance than An organization with a lot of medical data or a critical infrastructure organization. But from a purely capability perspective, AI is very unreliable and always potentially unsafe.
SPEAKER_00Yeah. Yeah. I mean, anybody who's used AI probably could have an understanding of that. And we see this regularly, right? Where AI either, you know, okay, AI was tricked into hacking something or AI leaked something. We see this all the time. And anybody who's used AI will probably have some level of frustration where you can't get it to do quite what you want. Now, this is a great segue into this. What do you recommend for people to do to get kind of up to speed on AI security?
SPEAKER_00You do have a course, AI Security Fundamentals, so it's a fantastic place to start. But what do you recommend for people who are like, okay, I've used AI, I know what ChatGBT is, but I have absolutely no idea how to actually, if it's secure or what I should do with it. So what would your recommendation be?
SPEAKER_01Yeah, again, with the course, I feel very awkward being super promotional. When I created the course, it was sort of based around the feedback I got from my book, which was that people wanted... They wanted to go a bit deeper. They wanted to be able to do it with other people. I really enjoy working on the course because all of the stuff that I've told you that I think is a gap in the field, you know, deeply understanding how machine learning works and being able to talk about it with a network of people, they're all things that I sought to fill in the course.
SPEAKER_01And now everyone that I hire back into my company is from the course. Like we hire people who never worked in AI or technology, but they're sort of upscaling into these kinds of roles. But that's a promotional piece over. I would say generally... But the reason that I wanted to say that and the reason I feel quite passionately about training and education is because like there are a lot of opportunities for people to just go and learn themselves. Like you could just have a conversation with Chattipity or Ford, right? And be like, you know, I know a bit about AI, but what else do I need to know?
SPEAKER_01And I do that sometimes. I think that's a pretty good way of learning if that works for you. But... Depending on what kind of learner you are or how reliable you want the information to be, most models are pretty good at giving you like good information, but not always in a way where it's delivered to you in a way that's meaningful. And so actually being able to go through a progression,
SPEAKER_01whether that's through a course or by sitting down with an expert and understanding Understanding the thing is quite valuable and also having some accountability to make sure that you learn the right stuff in a period of time that you want. But there are lots of really good resources available That I have leaned to to stay up to date. It's very hard to stay up to date. Like there are very good newsletters and I can send through some examples that I follow as well. And that is primarily how I stay on top of news.
SPEAKER_01But if you're pretty new to the field, I think it can be really valuable to have a blend of some kind of guided curriculum. There's a ton of AI courses now, if you're not interested specifically in security. And pairing that with some kind of self-taught specialization that you're interested in. But there is quite a lot of noise, a bit less signal.
SPEAKER_01It can be quite hard to filter through what's important. Even for me, what I try and do is all of these newsletters, I subscribe to, they're all bi experts. Like they're all bi people who know very much what they're talking about. But even by virtue of them being an AI expert versus a cybersecurity expert versus an AI safety expert
SPEAKER_00who comes from like an effective, culturist background,
SPEAKER_01they all have very different takes on the same issues. And so I find it helpful to maybe take the average of a bunch of different sources and When you're starting out, that can be a little bit harder. But if you read a lot of stuff, it's a challenge, but it's possible. But I think it is important to note that experts do disagree on this stuff. Even with the open AI hugging face incident,
SPEAKER_01a lot of people say, this is what the AI safety researchers have been talking about for years. It's finally happening. We need to pause AI development now. That's what some people say. And then other people look at that same incident and they say, Well, this is an issue of containment and sandboxing. They should have just had proper cybersecurity hygiene. And in fact, AI is not different or revolutionary to any other kind of software system. It's just that this software system was set up imperfectly. So hearing those different takes is a useful exercise in and of itself,
SPEAKER_01because I guess both those things are kind of true.
SPEAKER_00Sure. For the average person who's just using ChatGBT, What would you tell them to be secure? Like what kind of like aside from, you know, don't upload your social security number or something stupid, but, and for God's sake, don't upload like the company's database or like, Hey, can you do this tax for my, you know, whatever, don't do that. But for the average person using Claude or ChatGPT or something, what would your recommendation for them be?
SPEAKER_01I feel pressured now to say something really insightful because those things he said are obviously really good tips.
SPEAKER_00What do I tell people?
SPEAKER_01Maybe in an attempt to sound more insightful than giving a hot tip, although they are good. One of the biggest issues I run into specifically when working with companies, and I think this still relates to individuals who are using AI, but a company might have an AI use policy, but it's just so impractical to follow. Or there's a culture of embarrassment that you use AI. And so even though maybe what you're doing does fall under the acceptable terms
SPEAKER_01of your organization's AI use policy, if you're not sure about something, there's this culture of like, oh, if you use AI, you're cheating. And so if they're not sure, they don't feel comfortable asking questions about it. So how that relates to an individual, I would say, is to really think about what you're using AI for and why, and then just maybe write yourself a very basic AI use policy. I now have a bigger company, but back when my company was just me, I was very conscious that all of the ways that I used AI before,
SPEAKER_01I now had to consider kind of differently because I now, I guess, Handle a company, you know, like there's different obligations. Sometimes I'm dealing with personal data and even just the exercise for myself as a solo person, considering what sensitivity of data I had access to, where AI would be most useful for me and where I probably didn't need it, what kind of tools I had available that I already used. Like I used ChatTBT, a personal use, just switch to business workspace mode and that saves a lot of hassle.
SPEAKER_01Little things like that, but just being quite intentional about it, I think is really useful.
SPEAKER_00Yeah, I mean, that's really fascinating. I had never thought about using or writing your own AI-based policy before. That's actually a really... That's
SPEAKER_01really nerdy.
SPEAKER_00No, I mean, it actually makes a lot of sense. It's very interesting. I didn't think that you were going to go in that direction. And now I'm sitting here like actually thinking about it. Like, what would mine be?
SPEAKER_01Yeah, it's funny because you don't really think about it because I now have a business partner and she comes from more of a creative background. And so we often butt heads because I'm like, AI is very capable. I'm pro AI in the right use cases. I'm like, we should get it to help us with our logos. And she's like, no, because creativity is so important to us as humans. And as an organization, we need to employ humans. We can get AI to do coding development, but she really wants to employ humans to do creative work.
SPEAKER_01And so even just those kinds of conversations, if you have that internally as a person, what feels right for AI to do? Are there things that you should reserve for yourself, like writing to keep it special and kind of sacred to you as a human? Would you feel comfortable letting AI write your essay or do you feel like you would miss out on some of the learning process and not be as proud of your essay? Just, you know, it's those kinds of questions.
SPEAKER_00Well, I think that really depends on who you ask and when. If you ask most students, yeah, they're probably going to be like, no, no, let them do it. That's fine.
SPEAKER_01Yeah, yeah. Yeah, but I do know students who don't. That's the thing. I think now we're in a time where we can choose. And I think, yeah, maybe like an email to someone you don't like very much. Sure, let the AI do it. But if you're emailing your grandmother, I'm going to write that myself.
SPEAKER_00Yeah, well, yeah, that makes sense. Although, well, yeah, definitely proofread. Always fact check what the AI says before you send it out.
SPEAKER_01Yeah, even to someone you don't like.
SPEAKER_00Yeah, absolutely. What would you, if you had the ear, before we wrap things up, I'm just curious about this, but if you had the ear of governments, the EU, the states, whatever, when it comes to AI and AI security, what would you tell them? If you could sit in the middle of the EU or the US Senate or wherever, and they were asking you, what's your opinion? What do you think we should be doing about AI security?
SPEAKER_01What would you tell them? Oh, man, these questions are really...
SPEAKER_00Is it too much?
SPEAKER_01I can... No, no, no, no. Okay, okay. What would I say? What would I say? I would say something along the lines of act now. I think... I think I see that a lot of people are still a bit unsure about what to do, and that's fair enough. But we have to do something because the AI is out of the box and it is hacking us all right now. So we can't delay.
SPEAKER_01We have to at least do something, but ideally something measured and not... Yeah, ideally something somewhat thought through, but we need to do it now. It's going to be too late if we wait too much longer.
SPEAKER_00Right. No, yeah, that's honestly really good advice. And governments of the world, you should be paying attention to that because get off your butts and do something. The final question I wanted to ask you was for people who are kind of coming up, whether it's in university, career transitions, or if they're in the workforce right now, What is your recommendation for them regarding AI, right? Because, you know, do you study it? Do you put all your eggs in the AI basket? Do you follow through with your cybersecurity degree?
SPEAKER_00What is your recommendation for people when it comes to AI?
SPEAKER_01Yeah, it's now really interesting that we're in a time where we're talking about having to, you know, I have friends. Like siblings, for instance, who are finishing university and studied computer science and can't get jobs and were recommending they re-skill as a hairdresser or a plumber. And it's such an interesting time. And something I think is really relevant that maybe I've seen, especially technical and security communities not take very seriously before,
SPEAKER_01but it's this discussion of soft skills. And I would say maybe that relates to general like critical thinking and being quite agile in your career. And like ever since I moved from data science more into cyber security like six, seven years ago, the discussion of soft skills is often seen as this way of like increasing diversity. You know, it's like, it's not that important, but we need more diverse people. So let's let the people with soft skills in.
SPEAKER_01It wasn't really taken that seriously, but now that we have AI and all of these very hard skills jobs are being replaced, we are actually seeing every job with soft skills continue to be important. And I see it with my organization too, where we don't need software developers anymore because we vibe code our tools, but we run training and we have to hire facilitators and they need to be They need to be able to talk about tech, but they need to be personable. They need to be encouraging.
SPEAKER_01They need to be inspirational. It's all those kinds of skills that are still across every technical industry. So for young people or people making pivots, I would say that it's a great opportunity, in fact, now to lean into Maybe the very unique gifts that they've always had but didn't feel like could be relevant in a workforce that prioritized like, I don't know, computer science or law or whatever. Now is a great time to be entrepreneurial and to really lean into the things
SPEAKER_01that have made you different and contribute to a field like AI security when we're all at the ground floor and everyone is learning and everyone has the opportunity to upskill and enter it and shape it for the better right now.
SPEAKER_00Honestly, that's a fantastic piece of advice. And I definitely second that. Until China or somebody comes up with humanoid robots that can social engineer and do all these kinds of things, that is definitely something that you should be working on. Your soft skills, people skills. I mean, and that's the thing, right? People today, especially younger kids, they're very uncomfortable just talking to people. So work on that. Go talk to people. Go talk to strangers. Do exactly what your parents told you not to do.
SPEAKER_01I feel very optimistic because there's a massive pushback now among young people and wanting to do things online. People are meeting up in person. People are asking each other out in person. People are creating venues that just aren't digital anymore. And I think that's really great.
SPEAKER_00Well, there's probably and this is just me spitballing, but there's probably going to be a big desire to have human created stuff, whether it's music or art or things or just I mean, we all kind of understand the term of like AI slop. And yeah, there's probably going to be a big push, maybe even a category of like, no, this was made by human.
SPEAKER_01Yeah, absolutely. I definitely see that.
SPEAKER_00Yeah. Well, Harriet, this has been a lot of fun. Chatting with you is really entertaining, especially on this topic because it's something I really enjoy. So thank you very much for being here. I'm going to let you go to get back to AI security and whatever else you might be up to today. But thank you very much for being here today.
SPEAKER_01Thank you so much for having me. It's been a pleasure.
SPEAKER_00All right. Thanks, everybody, for listening. Talk to you later. Bye-bye.
Logan is a geographer, cartographer and spatial data scientist specializing in geospatial analysis, location intelligence, infrastructure resilience and geopolitical risk. This is a public episode. If you'd like to...
This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit covertaccessteam.substack.com/subscribe
Don’t use AI this way people .Link to the research :https://apiiro.com/blog/coding-agents-leaking-secrets-github-dont-ask-again This is a public episode. If you'd like to discuss this with other subscribers or get...
Based on 3,000 businesses already affected by the riots in Europe so far, if X percentage of businesses never reopen, Europe has permanently lost: * 5% permanently close: 150 businesses * 10% permanently close: 300...
Answering some of the most common questions about Digital Night Vision & locating hidden cameras Original video on this topic here: This is a public episode. If you'd like to discuss this with other subscribers or get...