Anne Currie: Thank you very much for listening to Asynchronous and Unreliable podcast. If you'd like to show your support and encourage us to make more content, please hit the subscribe button below. Hello and welcome to And Unreliable a new weekly podcast where we discuss the most interesting ideas and concepts in tech. I'm your host, Anne Currie co-author of Building Green Software, the Cloud Native Attitude, and author of the science fiction Panopticon series. today I'm going to be talking to Adrian Mouat author of O'Reilly's Using Docker and DevRail at security company Chainguard. And we have a lot, a lot to talk about today in terms of security. So Adrian, welcome the podcast. ⁓
Adrian Mouat: Thank you very much for having me on, it's great to be here.
Anne Currie: And ⁓ so we've known each other for ⁓ quite a few years, nearly about a decade on and off, since the days of Docker and the early days of Docker. My indeed microscaling. ⁓ these the startup that ⁓ Liz Rice and I did. And Liz Rice from ⁓ EVPF Fame will be on the podcast later ⁓ in the series. But yes, so ⁓ so we met at the in the beginning of the kind of the last big wave of
Adrian Mouat: micro scaling feeling.
Anne Currie: change that seemed to be sweeping the industry, which was cloud, cloud native, Docker containers. And now ⁓ we're talking at the beginning, you were really at the at the leading edge of security aspects of the next wave, which obviously we've been all been talking about a lot in this podcast so so far, which is AI. So I I ⁓ watched a ⁓ a video that you did quite recently that you sent over, which was about ⁓ how AI affects the modern SDLC, the modern the ⁓ modern software development process. So ⁓ and and and how mythos. And we've talked a little bit about how mythos fits into that. So that would be a great thing to talk about. What stepping back, how are you feeling about things at the moment?
Adrian Mouat: Yeah, it's crazy. So were mentioning this earlier. I being away on paternity leave. ⁓ And I was out for three months and I came back and things were completely different at Chain Guard ⁓ Things completely different in the industry. been, yeah, it feels like the last few months, just literally the last few months have been, don't know, everything's sped up and ⁓ it's hard to see where we're going to be in like a year's time. So, you know, it is very interesting to sit and talk about it and try and digest it, but it will also be interesting to see how wrong we were.
Anne Currie: Indeed. Because we were very wrong in well, we were right and wrong about cloud native, weren't we? ⁓ I mean, I I I genuinely thought there would be no noncloud native companies left now, 10 years later. And it turned out that that was absolutely not the case. ⁓ cloud companies that are otherwise successful have been able to coexist with cloud native companies. and one of the things that that I'm that keeps The I questions that keeps go rolling round and round on my mind is is AI the same? Will, you know, AI native companies be able to coexist with existing successful enterprises or not? Is it existential or is it just, you know, an improvement to your top line or your bottom line, which potentially you can live without? I I don't know if you're you're which I think we're too early to say, aren't we?
Adrian Mouat: think it's possibly, if you maybe even tri- modal right? Because you're going to have a class of software that's written almost entirely by agents, right? So AI, there's a fleet of agents going out and writing relatively large applications. Then you're going to have like legacy software which will be developed AI, but be like AI assisted, I guess.
Anne Currie: Mm.
Adrian Mouat: And then you presumably still have some places that don't use AI at all for whatever reason, be it moral, philosophical, ⁓ money, or perhaps there are probably still use cases that LMs aren't suited to because it's not in the training data. So, yeah, I think it'll probably be tri-modal, but basically everybody, except a very small percentage, will be using AI. I mean, I think we're... kind of there already, it's just the percentages are shifting.
Anne Currie: Yeah, yeah. Yeah, I it's which is interesting, isn't it? Because that's more so than cloud native, in that cloud native it doesn't require the cloud, but it gen generally kind of does require the cloud because it's really it's about using the cloud well. ⁓ and there are plenty of people who aren't in the cloud at all. You know, it it's and and that has not killed them in a way that we thought it probably would.
Adrian Mouat: Yeah. ⁓ but I think even places that are banned AI. like say, you know, got a bank or whatever that said, you can't use AI. I will put money that their employees are still using AI. They're just not telling the bosses, which is a very dangerous situation to be in. So they, all companies are going to be forced to have like, ⁓ know, subscriptions to AI and stuff. I know it is, I'm not going to disagree about the, it's certainly a frothy.
Anne Currie: Yeah.
Adrian Mouat: economy but you know there's certainly a lot of value to like ⁓ the AI vendors as well.
Anne Currie: Well, it's just yeah, it is. It's interesting you say that because ⁓ I was at an AI agents conference last week, ⁓ Agent Craft, and the the top question that people were asking was, Is this safe? Is it safe to use agents? Can I use agents? And it was an interesting mix ⁓ of talks and pe and attendees. It was people who were, is it safe to get ⁓ AI to write AI agents to write code for me that is then goes into my system. ⁓ but of course it's also the question was, is it okay to use agents to do things that are not code for me? That exha ⁓ that require me to do things like give it my company credit card? Do you go do you really
Adrian Mouat: email that scares me you have like you know the claw stuff that people are given access to their emails and they're sending out emails and so that's you know you're allowing it to pretend to be you which is that's scary as well it's a crazy world
Anne Currie: Okay. It really is, isn't it? And and there's a strange mixture at the moment of total fear or total denial. Or total fear and total deny. And people who are just going, well, I'll give it my credit card. Or as you say, give it my rights to pretend to be me in emails. ⁓ which is and and really, we still have no idea what the AIs are going to do. The the only thing that ⁓ that that that's does seem to be clear. That was both clear at this conference and clear from Yan Qing Cheng's t ⁓ episode that came out on Monday. And sh lots of people saying, look, one of the things that AI does is it will just do what you've told it to do. And it will it will go to extreme lengths ⁓ do what it thinks you told it to do. So you have to be really, really careful at speci specifying what you told it to do. It feels a little bit like ⁓ you know There's a there's a a Grimm fairy tale about, you know, porridge pot stop ⁓ like, yeah. And it's you you really and there's also that kind of like ⁓ story about well, what if the AI created all the pa turned everything in the whole universe into paper clips because that's what you told it to do. It does seem like that is a ⁓ definitely potential failure mode for, you know, handing it your credit card. ⁓
Adrian Mouat: Well, it's also like everybody's, I mean, every model has that hidden system prompt, but there's also like skills and everything that everybody's pulling in. And they're injecting effectively stuff into the prompt and you don't really know what's there. And even in the models themselves, we don't really know what's there. So there is enormous risk. I think we, of the really interesting things, what's it, is that this week was the US basically, told Anthropic that nobody outside the US can have access to fable. And Anthropic couldn't, you know, they couldn't do that. So they just shut off access to fable, which is, you know, another crazy story. Just another day, I guess, AI land.
Anne Currie: Yeah. Yeah. Yeah. It is just another day in AI Land. It is interesting. Well, it's interesting to for me because one of my ⁓ one of my novels was about the impossibility of work of of working out what prompt had caused c caused an AI to to kill somebody. ⁓ and like all of the different prompts that it that an AI could be exposed to. Death Ray, if anybody's ⁓ interested in it. It's a ro is a romp, it's a comedy. But ⁓ ⁓ it's it's remarkably forcighted, I would say.
Adrian Mouat: That reminds me of another ⁓ science fiction author. ⁓ it's going to bother me now. I'll have get back to you with the name. But he had stories ⁓ where, you know, they were basically bringing what clearly was AI up, but the AI didn't know it was an AI, it was a person. It felt quite relevant anyway, and it was slowly degraded over time.
Anne Currie: ⁓ that sounds perfect. Well, I mean that sounds quite Philip K. Dickey. There's plenty of Philip K. Dick's short stories about people who don't know if they're AIs or not. And in fact, that's a a key theme of ⁓ Do Android's Dream of Electric Sheep, which I strongly recommend that people read. It's much, much better than much better than the ⁓ Apps it's brilliant. It's absolutely brilliant. ⁓
Adrian Mouat: It wasn't that obvious. It's the same author as there is no anti-mimetics division. Yeah, yeah. So he's got a book of short stories and some of them are about AI. Including one where like the AI crashes the car.
Anne Currie: ⁓ quantum ⁓ yeah yeah yeah yeah. Yeah, Qntm's good as well. I like the the where there is no anti-mometics division. but yeah, yeah, yeah. We're all writing in the same well and we're all actually heavily influenced by Philip K. Dick, I suspect, more more than probably any other science fiction writer. Even ⁓ Ian Banks, ⁓ your fellow ⁓ resident. ⁓
Adrian Mouat: Yeah. He lived not too far from here, he was just across the bridge.
Anne Currie: Yeah, yeah, yeah, yeah. ⁓ and ⁓
Adrian Mouat: I'm in Edinburgh, I guess I'm saying things that people don't know. I live in Edinburgh, Ian Banks lived in Queensferry,
Anne Currie: I think it was Queens of. Yeah, yeah, yeah. He he was married to an old university friend of mine. Yeah, he was very jolly nice chap. Didn't I didn't meet him very often, but he but yeah, when I had met him, amazingly nice chap and bright and you know, ⁓ obviously extraordinarily influential. We can I don't know.
Adrian Mouat: Okay, I wasn't expecting that, amazing.
Anne Currie: Do we hope we get the the extraordinarily beneficent AIs of the culture? ⁓ pros and cons, I would say, pros and cons. But ⁓ better than better than quantum's visions of the future or so.
Adrian Mouat: Certainly better than Philip K Dick's.
Anne Currie: Yeah, definitely better than Philip K. Dick's. Well although it it's absolutely well worth going back and reading Philip K. Dick now, I think, 'cause he was quite especially if you've read if you read no other do Androids Dream of Electric Sheep, ⁓ really couldn't be more interesting at the moment. ⁓ about the relationship between humans and other humans and ⁓ AIs as well. I ski it's quite it's really quite ⁓ quite ⁓ I was told to read it by ChatGPT and it was quite right. But anyway, science fiction aside, because we're not talking about science fiction. Everything we're talking about, it's not surprising that we keep referring back to science fiction, because this none of this existed except in science fiction, even you know, a year or a year ago. I mean, last year, at the Turing test, where ⁓ where AIs could emulate humans to the point that humans couldn't Tell the difference was passed It was like, let's do it a year before. It was very, very recently. We had no idea that
Adrian Mouat: Right, so I mean, that's one of the problems, like both that test and the artificial general intelligence test, like we had them, but they weren't very precisely defined. So we're not actually sure how close we are to AGI because we can't define it. you know, this Turing test is kind of, that was never a great test to be perfectly honest. Turing, obviously amazing, but I would never, I don't know how it really set it up if you can, you know, make somebody believe you're.
Anne Currie: Yeah.
Adrian Mouat: real, that means you are real.
Anne Currie: ⁓ well, I think he said that wasn't. He said the Turing test was not an artificial general intelligence test ⁓ that you could pretend quite, you know, without without being being real. But of course, everybody went, ⁓ that's quite a good artificial general intelligence. It's a bit like that. What the don't don't don't invent the torment nexus. ⁓ well, we should reinvent the torment nexus. It's ⁓ yeah, the Turing's test is kind of like the the the AI test, which is effectively the Torment Nexus.
Adrian Mouat: Yeah. Okay.
Anne Currie: It was not the right AI a test and it was never intended to be, but but it was so well defined or or easily easily understood. ⁓ yeah, yeah. Yeah. But anyway, science fiction aside, we are living in that world now. Or some of that world. That world is I don't think we're really generally discussing the fact that we are now living in that world. ⁓
Adrian Mouat: Yes. But yeah, it's nice to talk about, yes. I mean, as we were saying this, I was thinking of yet another science fiction author who again, I forgot the name of and is hugely famous, was William Gibson actually. That said, the future is here, just not evenly distributed. And that's absolutely where we are at the minute. So I have friends that are software development with like, know, lots and lots of agents and all those crazy loops and they talk to each other, they review each other's code and it's insane.
Anne Currie: Probably is. Yeah. Yeah.
Adrian Mouat: And a certain percentage of the industry is doing that right now. And probably the majority of the industry is a good bit behind. And how quickly that gap closes is interesting, but also like where the people that are in the cutting edge are in another six months is also very interesting. Yeah, so we can maybe see a little bit into the future by looking at what the cutting edge people are doing and trying to figure out if everybody's gonna be doing that or not. And the answer is, yeah, I think they probably are to some extent. And then you got questions like, you know, okay, if everybody is using AI, does that mean there's less programmers? Or does that mean there's more to be done and therefore there's more programmers? Like, are we gonna see job losses or, you know, are programmers can be in more demand? And that's not 100 % clear, don't
Anne Currie: No, I agree. yeah, ⁓ it's like it's one thing we have learned over the past ten years of cloud native, I would say, and and Docker, is that we were right we were really involved in that, and you still have no ability to make a a a r a good judgment about what's gonna happen next, do you, I don't think.
Adrian Mouat: Yeah, I mean, I tried to like quite a few years ago do a set of predictions. And it's interesting to come back at that and see what you're right and what you're wrong. So one I had was like Rust. I said Rust would overtake Go. And it was nowhere near when I did the calculation the other year. ⁓ But I also had AI in it. But AI at that time was just ⁓ like GitHub copilot ⁓ when it just basically did tab completion. And of course, that's like
Anne Currie: Yeah. Yeah.
Adrian Mouat: hugely surpassed my expectations, but I did have it there, so I'll claim that one.
Anne Currie: Yeah. I ⁓ it's it's interesting. I ⁓ I used to be ⁓ well I used to spend had quite a few early ⁓ pints with an with one of the early kind of pre-AI pioneers, ⁓ a chap who used to do Steve Worswick, who ⁓ wrote ⁓ a a chat bot called Kuki that used to wan win the at the time it was the best Human emulating chat bot It was the closest to Turing, but it was he said, it's miles off this. We're off passing the Turing test. We can't, we can't achieve it with the way we're doing it, which is he was doing kind of choose your own adventure. It was all handcrafted. And it was really good. It was very good. ⁓ and ⁓ yeah, and then suddenly we went from it can't be Everybody who's involved in this, and he was very involved in it, he knew what was going on. It can't be done, or it can't be done for decades, to it's happened.
Adrian Mouat: Yeah, but do you remember like ⁓ chess, like have always been good at chess. So it's no huge surprise to me, at least when Big Blue beat Kasparov. But then they all said, OK, do Go Go is much harder. And how long was it? was like, you know, a few years and suddenly Go was like demolished. can't remember the player's name, but yeah, it was that was those few years where the huge leap, but nobody or very few people saw coming.
Anne Currie: Mm. Yeah. Yeah, yeah, absolutely. Yeah, yeah. But again, we're still on the we're totally so this sets the scene. We're both totally blown away by the the progress that's happening at the moment. And and yes, you made the foolish mistake of going away f for a couple of months, looking away for moments and then suddenly the world's changed. ⁓ but so so let's let's talk about and obviously the the the the thing that kind of represents the The fear and the issues and the the the risk, the existential threat at the moment, probably more than anything else, is mythos. So tell me a little bit about your thoughts about mythos.
Adrian Mouat: So this was what happened when I was on paternity leave. Like Mythos was well, Anthropic, I'll give a bit of background, guess. So Anthropic were developing their Frontier LLM, which was called Mythos. And whilst they were testing it, they found that it was exceptionally good at exploiting vulnerabilities. So not just like finding vulnerabilities in software, but also like chain them together and exploiting them. So you could point it at a code base or an application and say, you know, get me a zero day and it would. I'm paraphrasing a bit there. You have to, even the original Mythos, I had some guardrails so you couldnt put it quite like that. But, you know, it certainly was exceptionally good at finding exploits or so the claim goes. And that caused Anthropic to say, okay, we're not gonna release this. right now because we're worried about the effects they would have in the industry. And some people claim that which is a PR stunt. ⁓ But it from there does appear to have been at least partly ⁓ Again, I do want to reiterate that one of the confusion seems to be it's not so good. It's ⁓ exceptionally better at finding vulnerabilities as exploitation point, right? So you can use current LLMs and you'll find help find bugs and vulnerabilities in your code as is. but they might not be able to create a working exploit that takes advantage of it and gives you like a remote code execution or a DDoS or something. But Mythos is much more capable in that regard. So that's where the jump sort of happened. Yeah, so they withheld it and they started Project Glasswing, which was given like, I think they called it critical infrastructure companies, early access. So they could run it on their own code bases. and find vulnerabilities. And at this point, various enterprises have been, for want of a better term, freaking out. There has been major discussions and meetings with large enterprises, with banks and so on, where they've been trying to figure out the response to this, because they've realized they're run in legacy stacks, an old version of Java, and Mythos can exploit those. Now to temper that a bit, like I guess they're given mythos access to their internal code and stuff, which obviously it wouldn't normally have like attacker won't normally have access to internal code bases So it's maybe not about to cause a mass hacking of everything, but it's still a big moment in the industry. And. Yeah, so we got to the point with Project Glasswing, then the government got involved as well ⁓ and issued executive orders. ⁓ So I think the LLM creators have to give their models 30 days in advance to the government now. And I don't know if you're aware of this, but the latest news actually came out of the company I work for called Chain Guard. so last night, they announced, or last night in UK terms, yesterday afternoon. the US they announced Project Athena. So Athena is a coalition between ourselves and I can't remember a dozen other companies. I can look up the exact details. And what we're doing is setting up what we're calling the Clearinghouse. So basically all the companies have access to Mythos or similar LLMs. They're running these models on code bases and they're submitting the vulnerabilities they find to the Clearinghouse. and we produce patches and notifications, which are then distributed through like chain guard libraries and eventually disclosed upstream. The idea being that we urgently need some way to address vulnerabilities at sort of machine or AI speed. A report that came out, I can't remember how long ago it was from Mandiant, said the time between we urgently need some way to address vulnerabilities at sort of machine or AI speed. A report that came out, from Mandiant, said the time between of vulnerability being reported and exploitation was now negative. So they were finding people were exploiting things before they'd been officially disclosed of vulnerability being reported and exploitation was now negative. So they were finding people were exploiting things before they'd been officially disclosed in the average case, which is absolutely crazy. So it used to be, you could expect there'd be disclosure and then like 30 days before you saw exploitation or so. And so it took time to figure out how to actually exploit that vulnerability and write up a code and get it into the hands of hackers and stuff. But that gap has just gone. So we absolutely do need to do something to get fixes and mitigations into the hands of defenders before they get exploited.
Anne Currie: So so this is an interesting one because this this is the the thing that I think is is probably the existential threat here that that is is patches that need to be applied. And it and oddly enough, that is an existential threat for not being ⁓ so rolling all the way back. When we wrote when I wrote the Cloud Native Attitude, it was kind of it's it's as existential for some businesses and they've done it, and it's not for others and they haven't. ⁓ but before ⁓ you could even possibly adopt cloud native, you had to have adopted CI C D. That was the key technology because CI CD, you know, you might say it's not just technology, a technique. It's the technique that allows you to deploy patches. And if people didn't have deploy patches fast, ⁓ and if they didn't have that, they couldn't do difficult things like going cloud native. But they also won't be able to deploy these security patches, which will be fairly existential. So So has this made CI C D existential is kind of like the irony is AI has made CI C D existential.
Adrian Mouat: I think that's a good point. So I've always like back from the Docker days, I always said, keep your dependencies up to date. there's historically there's been a sort of counter argument. Well, we don't want to update because when we update things crash and break and go down. ⁓ that's a fair argument that does happen, right? Even when you update like a patch version, something has changed and that might affect your application. ⁓ Now my reply is, well, you need better tests. So you catch those things before they go out. And then of course some people will say, yeah, but I can't do that. Like we run, I don't know, radiography machines or MRI scans or something. And like any mistake could result in somebody's death. again, I can't argue with that, but for the majority of cases out there, you need to be keeping everything absolutely up to date and patched or you know, you're going to be in trouble. And... Yeah, I think that's the key point. you're right, without or CI-CD, you're not going to be able to ⁓ that. ⁓ worked with a bunch of Google people and they used to tell me about, what was it, Build horizon So at Google, they have this concept of the Build horizon. So if like a container or VM or whatever has been running continuously for a certain period of time, I'm not sure how long it was, like a week or a month or whatever, they will take that down and replace it with a newer version. ⁓ Because even though the application code may not have changed in it, the dependencies likely have. Or like, you know, some underlying info likely has. So it needs to be taken down and rebuilt and brought up again. Obviously, you'll do it in a way where there's no downtime. yeah, rolling update or whatever. yeah, so they've known the sort of issue for a long time and they've been at the cutting edge of keeping dependencies up to date.
Anne Currie: Yeah, you know it, yeah.
Adrian Mouat: ⁓ But I think most of our large enterprise companies have still some way to go there and they potentially are in for some pain in the short term at least.
Anne Currie: Yeah, I mean it it's interesting because obviously I'm you know, I'm not in security, but I am quite ⁓ cata catastrophically minded for I've got constantly what what is the right security approach to this? Which is ⁓ obviously something that came up quite a a lot over the the c the conference that I was at last week. ⁓ what's the right approach? You know, how do you You can't how do you kind of set a a blast radius about around what you're doing so that if you're hacked, at least it's not going to destroy your entire life or whatever. ⁓ yeah, I mean I've certainly been been thinking about I I'm in the process of moving all my important things in my life, like my bank accounts, to banks where I think, I think you've got a CI C D. You know, it's like, I don't think you've got CI C D, so I'm gonna move away from you. I do think you've got CI C D, so I'm gonna or in fact I wrote about you in my book, so I know you've got CI C D. I'm gonna move to you. ⁓ yeah, all my all my life is being ⁓ migrated over to CICD- using enterprises. And I think that's really the only thing I can do. Or that's like the minimum bar.
Adrian Mouat: Yeah, that's an interesting one. I do remember when like Monzo Bank started, they did everything in Go. I thought at the time they probably got a big advantage there because they've got like a new code base that's easier to iterate on. They everything with microservices. So they can potentially like, you know, grow and change things much easier than a legacy bank can. But I'm not sure if that's really true. That was just me hypothesizing.
Anne Currie: I don't know. I mean I mean it's it's it's an interesting one. I think ⁓ yeah. If you've if you've got the if you're in the the scheme of updating things rapidly, then maybe it doesn't matter which language you're using. I don't know. ⁓ if as long as you're bad.
Adrian Mouat: Yeah, I guess my problem was it was more interesting because it was clean. Like, banks, guess, are code bases that you can still see the COBOL
Anne Currie: ⁓ yeah, yeah, yeah. Yeah. ⁓ it's interesting. Or obviously a discussion I've been having ⁓ a lot recently, ⁓ and in fact over this weekend, ⁓ was do you want a bank that's old enough that there are probably some people still in the mix? ⁓ or do you want one? It's like it's probably the middle that you want to avoid. You want one to avoid one that's automated everything, but they're not keeping it patched. You want to either automate it and patched, or there's there are there are ⁓ it's so slow that nothing that that problems can't really propagate at the top. But are there I don't know. I I I I
Adrian Mouat: I mean, this is a very interesting question. So do we think that we major cybersecurity events at banks directly as a result of mythos and like say the next year or not?
Anne Currie: Hm. I'd be amazed if we don't. Surely there are they're a target. That's
Adrian Mouat: Oh, definitely a target. Yeah, yeah. It's crazy.
Anne Currie: We just don't know, do we? Yeah, we just don't know. ⁓ I don't have any cash stuffed in my ⁓ mattress. But maybe I'm wrong in that. I don't know.
Adrian Mouat: Anyway, just to be clear, we're not like suggesting there should be any bank runs or anything.
Anne Currie: And don't stuff cash in your mattress. For one thing.
Adrian Mouat: I have heard an argument that he did that in like the you'd actually be up because the old notes would be worth so much because they're quite a rare. I see when they hadn't burnt down obviously.
Anne Currie: Well I'm good, yeah. Yeah. And I would imagine that they weren't they aren't very comfortable way of stuffing your mattress. I think we've we've come we've we've ⁓ we've found better and more comfortable mattresses in the in the time since. But ⁓ but yeah, yeah. So so at the moment, and I realise this is completely a moving Target. What's your other than so CICD is your base level SDLC? I mean, we've no this has been the case. Everybody's been recommending that since I don't know, Accelerates came out. ⁓ you know, continuous integration, continuous delivery, being able to roll out multiple patches a day. That that's not new, but it it certainly hasn't spread to everybody yet. But it is, I don't I think anybody who isn't doing it is kind of at least thinking we should probably do this.
Adrian Mouat: ⁓ yes.
Anne Currie: We're talking about accelerating that if you don't you know, it's like like the book says, accelerating that if you haven't already done it. But if you have done it, what next? What what what do you think you should be doing next?
Adrian Mouat: So to give like a specific technical answer one thing that always seems to come up is tokens. Like in all the big hacks people lose like API tokens and stuff and there's better ways of doing things now like you need a token to do like an NPM publishing you can use what is it trusted publishing? And so OIDC and things like that offer a much better solution. ChainGuard we created something called OctoSDS.
Anne Currie: Yeah.
Adrian Mouat: And that was to get rid of like the private GitHub token. Sometimes you sometimes would have to create a personal access token to get access to things in GitHub and APIs. But we created OctoSDS to use OIDC instead. And yeah, getting rid of like long-lived tokens, whatever you can, is a big boon for security. Otherwise, I think the main thing, especially in like...
Anne Currie: Right.
Adrian Mouat: what we're talking is exactly what you said about limiting blast radius. So think about isolation and compartmentalization. So if this bit gets hacked, not everything else does also like defense and depth. So you're not just relying on, you know, a firewall, you've also got intrusion detection and things like that. Yeah.
Anne Currie: ⁓ so I'm gonna I'm gonna come back and and pick up on on two of those. So the first one is an interesting one. It hadn't occurred to me. And now you say it, you go, ⁓ that's obvious. So effectively, the APA ⁓ API tokens for running ⁓ AI queries are effectively a giant credit card that you have put online. So people are going, I'll have that credit card to write to run my own stuff. So it's a bit like It's kind of like a a more modern version, I think what you're saying is there's a more modern version of, you know, people would would try and break into your machines in order to do Bitcoin mining because the the hardware you had was a a way of them generating money. Now ⁓ they want to steal your API tokens so that they can run their own AI queries or reseller or do all kinds of things using your accounts on GitHub or wherever. ⁓ so it's a it's so it's a target for attacks, a target for ⁓ attempting to to to break in.
Adrian Mouat: Yeah. Well, one thing you might have seen recently is there was where they used the LMS running on like support agents. So, you know, like if you go to, I don't know, Target that's a bad example, but like any of the various things we got like a chat bot, people had set, they being run by LLMs So people were like jailbreaking them and setting up APIs to talk to them. So they got like queries for free. What do you know?
Anne Currie: Yeah.
Adrian Mouat: is a bit dodgy so I'm not recommending that but it's certainly something you should be aware of because that would have been driving their costs up through the roof.
Anne Currie: Yeah. So it's interesting. I I spoke to ⁓ the one of the founders of ⁓ Fastly C DN. So ⁓ they're obviously there's there's a big push at the moment for CDNs getting involved in like don't don't spend quite so much money on your ⁓ AI queries. So ⁓ semantic caching where you get just it's if you're asking an ordinary question that some ten other people have asked, we'll just give you that back that answer. The other one is semantic routing, where you route your queries to the to an e to the smallest model that can usefully that can best sorry the best fitted model, which is often smaller. A lot of people are using really, really expensive frontier models to do stuff that's where that's total overkill. And and ⁓ a lot of that is associated with the, yeah, you've you've hooked up some unbelievably expensive model to your chat query, which is really needed an incredibly simple model. And as a result, people can generate their entire code bases off ⁓ using that hacking in and using your model to do the high end stuff that you just never needed it to do. So it's you don't need to expose your s expose that risk because you never needed that functionality, ⁓ over provisioning.
Adrian Mouat: Yeah. Yeah, on a related point, would, another thing to be careful about is like what access LLMs have to things. And I would look into like projects, know, Luke Haines, believe, who's written No No recently, not just a way of like, you know, a wrapper around LLMs so that they controls what they can access. I would never trust, you know, you can put things in the prompt, say, you know, don't do this, don't access that. But yeah, don't rely on that. Try and, you know,
Anne Currie: ⁓ yeah, yeah. Yeah, and I
Adrian Mouat: Docker also have like sandboxes for LLMs and definitely look at how well what your LLM potentially has access to. one thing to remember is they're exceptionally good at figuring out a way to access things. So you can see examples where... ⁓ you know, an LLM hasn't had access to maybe like a Git project or something, but it's figured out, well, okay, I don't need this, but I've got a key there so I can access it via this or whatever. And they've gone through some like a long pipeline to get access to something you didn't think they had access to, but actually they did.
Anne Currie: So you can't you can't rely on prompts. You can't say, Don't don't spend my credit card ⁓ buying, you know, or just say here's my limit, don't go above that. You cannot ⁓ rely on on asking that, even less than you can do of a person. You know, if something comes up they'll they might make you know, you can't rely on it. ⁓
Adrian Mouat: But I'm probably lie afterwards. Ellen goes, ⁓ you're absolutely right. I did do that.
Anne Currie: ⁓ My bad. Yeah. But ⁓ yes, so that's interesting. So one of the things that ⁓ trying to change my own internal ⁓ things in my own life so that I have access to better ⁓ blast radius, ⁓ you know ⁓ system is is kind of like I've been looking around seeing if I can get credit cards where you can specifically limit ⁓ the where you get you know those unique credit card numbers. So you could assign those uniquely to, you know, if you wanted a ⁓ an open claw or whatever, you can give them it give it a credit card number where it has a limited amount of money that it can spend. So that was a classic case of a guardrail that is specified outside the system. That means that it can't come back and go, ⁓ yeah, no, I spent a million pounds. My bad. ⁓ Yeah. Yeah, indeed. Yeah, there's lots of so that is something to be constantly thinking about. And it's interesting. I think there will be a lot of businesses, security businesses coming around coming around to the idea of ⁓ offering those guardrails as as a a product, as a service. ⁓
Adrian Mouat: Yeah, exactly. I think that's we're going to have a lot more of that.
Anne Currie: as part of the value add is that you get a guardware rail so you you know open claw can't completely ⁓ destroy your entire life. Well meaningly I'm sure. That's ⁓ yeah it's it's so so ⁓ now you gave a a couple of examples then we've just gone back and and ⁓ and and talked about the API keys are now cash and people are are attacking them like cash. ⁓ you what else so so what what you mentioned something else, another another ⁓ and and guardrails and blast races as defence in depth. ⁓
Adrian Mouat: Yeah, and isolation I was talking about as well. yeah, I mean, and that goes on multiple levels. So we have one company that I know people at Zedera, so they're doing like VMs for. instead of running like stuff in containers, you can run them in VMs, which will give you a ⁓ tougher security boundary. ⁓ I would say that that's probably like, like, exceptionally important in some use cases. That's maybe more for when you've gone through the more basic stuff like getting rid of API tokens where you can and ⁓ yeah.
Anne Currie: So, so if I understand this correctly, and I could be totally wrong, you're allowed to correct me on this. I think what you're saying there is that there's a different risk there. The risk of AI-generated code, which can be ⁓ copious, and you can't necessarily review, and you don't necessarily choose to review every line of it. ⁓ if it's multi-tenancy, even in something like ⁓ Docker containers.
Adrian Mouat: Yeah.
Anne Currie: Then if it became part of so what you're saying is that code that you've said, ⁓ let make this code performant make this code fast, it can potentially do things like say, okay, right, well, if I hack out of this can container and I re-uh jig my limits so that I have ⁓ of the CPU for this entire machine, then I will in fact go faster. Hooray. ⁓ so effectively it's it's it's I'm I'm saying that that's what it would do. I'm just saying that. Even with containers, you're running multi-tenancy, there are, you know, your well-meaning ⁓ stop porridge pot stop attacks can be made from one container to another. ⁓ that
Adrian Mouat: Yeah, yeah. That's what I definitely saying is that LLMs have, I think we've seen actually a few container breakout attacks. I can't remember the details over the last few months. ⁓ Yeah, and the exploitation has got so much easier that you do have to be aware that if you're in a multi-tenant situation, ⁓ be a little bit careful with It may well be that people can get access to things you didn't think they could get access to. I never even thought about LLM as like breaking out so they could get more access to resources. That's a little bit dystopian.
Anne Currie: Well, I am a dystopian science fiction writer. The ⁓ but ⁓ and obviously I think all the time I've been thinking about often AI generated code, I am I am informed, is quite flabby. You know, it's very ⁓ inefficient, it's uses because that's it's learning from a from the code that's out there, and that's often quite flabby. ⁓
Adrian Mouat: Yeah, but now we've got AIs reviewing AIs, so presumably they cut it back down again. I wonder if that's a short-term thing.
Anne Currie: Yeah, but Yeah, it could be yeah, hopefully it will. Hopefully it will. But ⁓ say one of the one of the solutions to that is that you include in your prompt things like, you know, make this efficient, make this performant, make this. And you just have to be careful, because as I say, this is I have written entire novels where this is the kind of thing that goes wrong. ⁓ and it's the and it's ri and most of the things that I've written in the novels are because they actually do go wrong. I've seen them go wrong in my own career. ⁓ whatever complex prompt you give the bot it will quite often try to do it and it will quite often try something that you would consider to be cheating or hacking to do it. the hacking might be, ⁓ take it off that next door container. Rather than ⁓ know, it's you can't is you have to think almost like a science fiction writer. ⁓ in a science fiction writer you have to think, yeah, let's everything that could go wrong will go wrong. That's kind of like how you write stories about things that go wrong. AI is very clever.
Adrian Mouat: mean, one of the things that you first realize when using AIs is you get tired of saying, can I use this? Yes, yes, yes. So people just run these AIs completely unsupervised. So things definitely already happened that people wouldn't have liked, they just have never noticed. yeah, we're already in a funny place with that, think. We've already got to a point where we can't review not just what the AI outputs, but how it does it.
Anne Currie: Mm. Mm. Yeah. Yeah, yeah, indeed. So, ⁓ now ⁓ I that we talked forty forty-five minutes now and we've kind of got loads of stuff out there. ⁓ and I think my brain is full. ⁓ And I'm I'm hoping that if I don't keep you talking too long, I can bring you back on the the the podcast again. And I'm also thinking that you've just given me information that I kind of ⁓ want be out there sooner rather than later. So I think you've
Adrian Mouat: ⁓
Anne Currie: just skipped to the front of my queue of publishing these podcasts. So I don't want to take it too long so I can get edited out next week. so if it so thank you very much for being here. Is there anything you want to say before we go, hoping that I will be able to entice you back on to to check as things change on a week by week basis.
Adrian Mouat: Awesome No, but seeing as this is coming out soon, I should just give a shout out to like chain guards project Athena and yeah, please go and check that. Cause I think that has the potential to be fairly pivotal point in, in, in cyber security. I'm not sure I like the time cyber security, but yeah, even if ⁓ Athena evolves into something else, I think this is a point where we have to accept. that the current way of doing computer security and patches and vulnerability management ⁓ needs updated. ⁓ I think things will evolve from this point on.
Anne Currie: Excellent. Well, thank you very much for that closing closing advice to everybody. And ⁓ thank you very much to our listeners and our viewers, and I will catch you on the next episode of Asynchronous and Unreliable Podcast.