Latest / Data Driven / Kevin Latchford on the Security Risks of Large Language Models
Transcript
- 0:00Ladies and gentlemen, welcome to another riveting episode of the
- 0:03data driven podcast. Today, we're diving into the
- 0:07fascinating and sometimes terrifying world of IT security.
- 0:11Joining us is none other than the formidable Kevin Latchford, an
- 0:15expert in safeguarding our digital lives. We'll be discussing
- 0:19the vulnerabilities of large language models. Yes. Those clever
- 0:23algorithms behind chatbots and virtual assistants like yours
- 0:26truly. Are these digital wordsmiths a blessing or a
- 0:30potential security threat? Stay tuned as we unravel
- 0:34the secrets and risks lurking in the code.
- 0:41Hello, and welcome back to Data Driven. I'm your host,
- 0:45Frank Lavinia. And while Andy is out
- 0:48playing on vacation, I had the opportunity to invite our guest,
- 0:52Kevin Latchford, who recently spoke at the Northern Virginia
- 0:56Cyber Meetup on securing large language
- 0:59models and the most pressing exploits that are out there.
- 1:03What really got me interested in this is that I saw a paper, I think
- 1:06it was published by NIST, talking about vulnerabilities and red
- 1:10teaming against large language models. So welcome to the
- 1:14show, Kevin. Great pleasure to be here.
- 1:17Awesome. Awesome. So for those that don't know, I kinda know what red teaming is
- 1:21because my wife works in the security space. But for those that are not necessarily
- 1:24familiar with the term, what is red teaming versus blue teaming?
- 1:28Well, red teaming versus blue teaming is basically it's,
- 1:32basically in military parlance that we called opt for, the opposing
- 1:36force. The opposing force often is called the red
- 1:39force. Blue force is your, friendlies.
- 1:43And, basically, this is offensive cybersecurity,
- 1:47whereas blue teaming is is defensive
- 1:52cybersecurity. The tools are different. The
- 1:55methodologies are the methodologies are different, but they come together for a common
- 1:59purpose. The common purpose is the assurance of the
- 2:02confidentiality, the integrity, and the accessibility
- 2:06of a computer network, computer system,
- 2:11application, whether it be natively hosted or web.
- 2:14Interesting. Interesting. So we're not you you know, we talked
- 2:18in the virtual green room. People don't think of
- 2:21LLMs as a major security flaw. And I think that
- 2:25I find that a little dangerous, and I think you're gonna tell me it's very
- 2:28dangerous. Well, it could be quite it could be quite dangerous, you
- 2:31know, to the point of, you know, frankly, near deadly,
- 2:35depending on what you use it for. The big thing, there's a lot
- 2:39of misconceptions about AI and l the LLMs
- 2:43that is they're based on. Number 1, it is not
- 2:47conscious. Right. 2, it is not a toy,
- 2:51and number 3, it is literally,
- 2:55something that is at present, not
- 3:00not necessarily, you know,
- 3:03fully understood, in in regards to the integrations
- 3:07and the things it may need to work with. You can't treat an
- 3:11LOM exactly the way
- 3:15you would treat, another enterprise application that's a little
- 3:18bit less opaque because LLMs are opaque on the on the
- 3:22inside, but you have to, for the purposes of
- 3:26security regulation, for the purposes of security compliance, you
- 3:30have to treat them, though, nonetheless, the same as any other
- 3:33enterprise application. So that's the conundrum. The conundrum
- 3:36is, how do you see into something that's
- 3:40opaque? And the way you do it is kind of
- 3:44what I discussed in that in that, in that paper, in
- 3:47that presentation, as well as one of the biggest
- 3:51vulnerabilities and that being jailbreaking. Yeah. So tell me about that
- 3:55because there's been a lot of, concerns
- 3:58about jailbreaking and, and I've noticed that
- 4:02the public facing GPTs have a ridiculous amount
- 4:06of safeguards around them to the point where, you know, if you
- 4:10ask it to describe something. Right? I asked it to talk
- 4:13about the to generate an image for the Butlerian jihad,
- 4:18right, which is a concept in June. And, obviously, I think the jihad
- 4:21term really freaked it out. Listen. I'm sorry. I can't do that.
- 4:25So there's clearly I understand why these safeguards are in place, but it seems
- 4:29like it's not that hard to get around them. Well, not
- 4:32necessarily. It depends on the model you're working with. For those of you
- 4:36who may use private LLMs because a
- 4:40wider issue on that is actually the DOD and many other government
- 4:43agencies actually prohibit the usage of public LLM
- 4:47systems, public AI, because they're concerned about unauthorized
- 4:51linkages as well as, data point model
- 4:55poisoning, prompt injections, things like
- 4:58that. So you often you're using these private elements. Several of these are
- 5:02uncensored. Right. Which means they do not have those safeguards.
- 5:06The ones that you see on the public space are supposed to have those safeguards,
- 5:10but you're never a 100% sure they're working because they may have been
- 5:14corrupted. In their regards to jailbreaking,
- 5:17jailbreaking is basically you're getting it to do something
- 5:21it's not supposed to do by either, a, breaking the guardrails,
- 5:26or by, b, influencing it
- 5:29through almost methods of interrogation to
- 5:33kind of break it down and make it talk. So
- 5:37it it literally is almost like that. So for those of you who, you know,
- 5:41kind of look at the it's it's kind of a there there's a great,
- 5:47neurophilosopher. His name is Jay Fodor and Nernschild named Richard Searle
- 5:51discussing the the philosophy of the mind as it applied to, computer
- 5:54technology. Several of the arguments that they say, well, the brain is like a
- 5:58computer. Yeah. You can kinda treat it like a human mind
- 6:02in the way you approach it in your prompts, but it isn't exactly the same.
- 6:06Once again, as I say, it is not conscious. It is not, and and it
- 6:09operates under a very strict set of parameters.
- 6:12But that being said, yes, you can literally interrogate it to do that.
- 6:16I'm not gonna say here, unfortunately, how,
- 6:20because, one, there are security reasons why we would
- 6:24not do that, a. And, b, there's also I mean,
- 6:28literally, in my presentation, that is all the news that has
- 6:31come to Academia and much of the industry
- 6:35today. There are new ones out there, but they haven't been discovered
- 6:39yet. Right. So I many ways to jailbreak. Yeah. And I was thinking, like
- 6:43so one of your slides I have pulled up here is, like, the top 10
- 6:46threats to LLM applications. I didn't think there were as many as
- 6:4910. So I knew that there were. I also know that
- 6:53data poisoning, for me, as a data scientist, data engineer,
- 6:57my first look at this when I saw this, aside from
- 7:01the g whiz bang factor of LLMs, was,
- 7:05wow. This isn't the data that trains this is a huge attack surface.
- 7:09And then when I first said that, people thought I was a tinfoil hatter.
- 7:13Right? And then slowly but surely, you're seeing research papers come
- 7:16out saying, like, no. We have to treat kind of the data as part of
- 7:19a secure software supply chain, which is an
- 7:23interesting concept because data people tend not to it's something they don't
- 7:27think about security. They think about security different. Is that a fair
- 7:31assessment in your that you've seen?
- 7:35Supply chains and the integrity of
- 7:38data is something that is not often, it
- 7:42seems, given the respect it's probably due. To be
- 7:46honest, I don't think so. In my own experience, I see it.
- 7:49It's not I guess one would say maybe it's not
- 7:53necessarily consistent. Maybe that's the fair way to put it. That's a
- 7:56really good way to put it. Yeah. And, I mean, right now, we're just now
- 8:00getting into discussion of, SBOM, software
- 8:03bill bill of materials Okay. Just for regular applications.
- 8:07I mean, it's a whole another level with LLMs and the
- 8:11models they're trained on, the models that these systems are trained on.
- 8:15So, yeah, that there's very much. So you have to make sure you're getting it
- 8:18from the right source, and you have to make sure that it hasn't been tampered
- 8:21with because it could very well be tampered with.
- 8:25It's not necessarily that hard. Right. Right. You
- 8:28could you could poison it with just one little segment of changing the
- 8:32the thing and across across 5 gigs of let's just say 5
- 8:36gigs. You know, that'd be like looking for a needle in the haystack.
- 8:40Precisely. In fact, that's what I talk about with the cockpit example that I
- 8:44gave. If I teach that l and to make sure that every time it puts
- 8:48in code to put in this malicious code that is a backdoor
- 8:51Right. Well, okay. It will do that. Every time somebody does,
- 8:55it embeds it into software code that is returned in the output for
- 8:59the prompt. If it does that, and let's say this
- 9:02is handed amongst several things, different
- 9:06applications, different solutions. Well, then if
- 9:10people take that that
- 9:13solution, that application, and it's in their software bill of
- 9:17materials, and then it gets distributed. Open source often
- 9:21gets proliferated very quickly. Right. And then it finds itself in
- 9:24there. You have a log floor 4 j situation.
- 9:28Right. Very similar except for the fact this thing
- 9:32is semi self executing. Now if it's semi self
- 9:36executing, you have a problem. You have a
- 9:39big problem. And I know I I just generally in industry. Now, obviously, you you
- 9:43spoke with the Northern Virginia. You're based in Northern Virginia. Northern Virginia is
- 9:47probably a little bit more security focused in terms
- 9:50of just who's based in that area than your average enterprise. Right?
- 9:55And I just I just see a lot of enterprises rushing to get into this
- 9:58LLM and Gen AI craze, but I don't see a lot of
- 10:03forethought or concern around security. And I just see a big
- 10:06disaster coming. Like, I I feel like I'm at I feel like I'm on the
- 10:10bridge of the Titanic, and I'm looking at something in the distance, and we're going
- 10:13full steam ahead. And I'm like, hey. Maybe we should
- 10:17not slow down, but be a little more cautious that we are in dangerous
- 10:21waters. Is that is that what you've seen too? Obviously, your customers
- 10:25and your clients may be a little more security cognizant.
- 10:30Well, I would say that I mean, I'm okay. We'll use the Titanic
- 10:33analogy. I'm the one up in the crows nest, you know, yelling into the radio
- 10:37phone, I see an iceberg. Right. Right. So I mean, that
- 10:41I agree. And that is a big issue because
- 10:45also there is this over reliance. Mhmm.
- 10:48Yeah. I imagine that as one of the top threats. So tell me about there's
- 10:5122 of those that I have very, very interesting questions about, but one of them
- 10:55was overreliance. So when you say overreliance on LLMs, what do you mean?
- 11:00Well, this is actually this is a sort of c suite, board
- 11:03level, thing as well as a engineering
- 11:07department level. They want to use AI to
- 11:11replace employees, make their operations more cost effective,
- 11:15more profitable. The problem is and this is a popular conception.
- 11:19This kind of goes into that argument about AI will take your job.
- 11:24This is a bit of a misunderstanding. It's not
- 11:28supposed to fully replace people. It's supposed to make them highly
- 11:31productive and efficient. They
- 11:35also do not necessarily feel like, well, the thing handles itself,
- 11:39so I can just wind it up and let it go. It doesn't need observation.
- 11:43It can fully self regulate. That would be true if
- 11:47there was a regulating function. You don't run a steam engine without
- 11:51a regulator on it. You need a regulator for LLMs.
- 11:55So the same concept applies. So first of all, there is this, it can do
- 11:59it itself, and a person is not necessary.
- 12:04This is incorrect. You most certainly need people.
- 12:08A great example I give in a recent presentation I've written
- 12:12is a discussion of, well, what does this mean to the organization?
- 12:16Well, a lot of level 1 tech, tech
- 12:20support jobs, there a lot of people say, well, those people are gonna get replaced.
- 12:24Well, yes, but someone needs to still be behind that LLM
- 12:27running the prompts, you know, and executing them in such an word and
- 12:31making interpretations based on the output.
- 12:35So that would be maybe something okay. Is that a dedicated job, or is that
- 12:39something you give to interns? Well, that would be, like, in,
- 12:43in the union trades you call an apprentice.
- 12:46That's the kind of thing. There's still a person involved. It's
- 12:50just not the same way we've done it before. Right.
- 12:55Also, on the subject of security, if you
- 12:58don't understand the security implications
- 13:02of it, you don't have controls for it. If you don't have controls for
- 13:06it, you can't mitigate that risk. And if you can't
- 13:09mitigate that risk, that's the liability.
- 13:13And if you're over reliant, you basically set up the whole system for LOMs, and
- 13:17then, you know, you just allow your customers to just come in and interact with
- 13:20the device. Well, if something
- 13:24happens, it would be treated very much like it
- 13:28was on any other application, so then you're now engaging
- 13:31in liabilities, loss of reputation, potential
- 13:35civil and criminal penalties, the list goes on.
- 13:40And a point on those 10 those 10,
- 13:44security issues, this is OWOX who is saying this.
- 13:48This is the open source, web application project.
- 13:52So we have, you know, a number of them
- 13:56that are a number of organizations, OOS is just the one I chose, they're
- 14:00kind of emphasizing this. They're saying, you know, don't think
- 14:04this thing can think for itself. Don't think this thing can act for itself.
- 14:08You need to look at it as humans are going to
- 14:11interact with it, and humans probably should be watching it.
- 14:16Right. So once again, it's that lack of controls leads to
- 14:19the risk. Yeah. I think the dream of it replacing
- 14:23everybody is gonna be at the root cause of
- 14:27a lot of problems down the road. I think I'm a firm believer
- 14:30in human in the loop. One of the the the interesting thing
- 14:34there and, that I see that was particularly
- 14:39curious was excessive agency. What do you mean by that? Because that got my
- 14:43attention. I think I know what it means, but I wanna hear it from you.
- 14:46Well, excessive agency is you're giving you you're kinda giving, you know,
- 14:51full the whole keys to the car. Right. There's
- 14:54no role based access control. If every user has near
- 14:58admin or actual admin privileges,
- 15:02that's that's actually something dangerous. A point of example,
- 15:06NetworkChuck just released a video on how to build your own
- 15:10AI on a very low cost platform.
- 15:14I love Network Chuck, and I have followed that step. You
- 15:17too. I'm doing I'm doing the same thing as he is because I have kids,
- 15:21and I want them to be able to use these things. But 1, I don't
- 15:25wanna pay the extra subscription. 2, I don't want them using mine. And 3, I
- 15:28don't really like what they're doing. I can at least exercise adult
- 15:32judgment on what I ask it and what I don't ask it. I don't think
- 15:35they can, and I don't think that's fair to put on kids. Sorry for the
- 15:38aside, but big shout out to network. No. That's fair. No. That's fair. That's exactly
- 15:42why Chuck was. And one
- 15:46thing about it is the first account that signs into the open
- 15:50web interface for Ollama sets you
- 15:53as admin Right. By default.
- 15:57Okay. Well, immediately, you need to engage role based access
- 16:01control to make sure that the next account does not get that same privilege.
- 16:05Maybe you should be given it. But is there any
- 16:09major access controls in the public ones?
- 16:13Not really. Private one? Is everybody thinking about that? Not
- 16:17really. I mean, I think Microsoft is doing some things around that because it's they're
- 16:20they're trying to integrate it with Office or m 365. But I
- 16:24don't I I I can't and if anyone in the sound of my voice wants
- 16:27to come on the show and talk about that, please do. But you're right. I
- 16:30don't think people do. And I also think excessive agency.
- 16:35What you heard about the car dealership, right, in Silicon Valley?
- 16:39Oh, yeah. Yeah. Yeah. Yeah. So for those who don't know, somebody
- 16:43managed to almost interrogate, like you said,
- 16:46to browbeat a AI chatbot to give
- 16:50him a it was a Chevy Tahoe or something like that for $1
- 16:54Chevy. It was a it was a Chevy truck
- 16:57and for $1. Now I'm not an automotive industry
- 17:02veteran, but I do know that if you sell 40,000, $50,000,
- 17:07cars for $1 a pop, you're not gonna be in business very long.
- 17:12So was that an example of excessive agency? I mean, clearly, it's an example of
- 17:15bad implementation. Almost certainly. That is. I mean, if you have
- 17:19the ability to trick if you have the ability to kind
- 17:23of browbeat it to override it and say, no. No. No. You don't understand me.
- 17:26You will do this. Well, then, okay,
- 17:31leave it to whatever
- 17:34gremlins there are out there on the web, out there in the
- 17:38world. Inside user, external user,
- 17:42irrelevant. If they can if just anybody can do that,
- 17:46you're the problem. Right. In this case, it was
- 17:50you could influence the model to set a
- 17:53certain price after arguing with it. Right. I actually
- 17:57found something recently, and I'm not gonna say which, LLM I
- 18:01did this on. It is a public one, and this is a
- 18:05result I suspect of another issue.
- 18:10I saw I tried to get some
- 18:13cybersecurity information from it when I was doing, a
- 18:19a try hack me exercise with a local cybersecurity group,
- 18:22hackers and hops. And I browbeat it
- 18:26saying, no. You don't understand. I need this for a cybersecurity
- 18:30exercise, and it gave me this information. Now this is absolute dual
- 18:34use knowledge. Right. It could be used for good. It could be used
- 18:37for evil. White hat or black hat. But the fact
- 18:41that you could do it,
- 18:45that sounds very dangerous. That sounds very dangerous.
- 18:53Prompt injection. Is that is that still a thing with
- 18:56the major public models, or is it just one of those things we're gonna live
- 18:59with for the rest of our lives? To be honest, I'm not
- 19:03sure. I mean, it's a case of, well, what is the prompt you're putting
- 19:07in? Right. When I talk about jailbreaking, I talked about,
- 19:11base 64 encrypt your text message
- 19:15into base 64. Why? Because that's how the prompt is seen
- 19:18by the LLM. Right. In other words, ASCII
- 19:22text. It doesn't check it, but it processes the text
- 19:26just the same. Oh, that sounds bad.
- 19:30It gets worse. Multi shot. Bury a
- 19:33malicious prompt inside the whole load of prompt,
- 19:37and fire hose it at the at the LM.
- 19:41It's not gonna check every single prompt. So if you bury 1
- 19:45in there, it might process that one and give you an answer
- 19:49it's not supposed to give. That's because the guardrails didn't engage.
- 19:53Interesting. So the guardrails are not necessarily on by default.
- 19:58Well, no. They are on by default, but if it overloads it,
- 20:02it may it may slip the net. So rather than shut
- 20:05down, it it shuts off? Well, Well, it's
- 20:09basically what you're doing is effectively a buffer overflow. You're basically using
- 20:13an injection method to induce what is effectively
- 20:16analogous to a buffer overflow. That's wild. That's
- 20:20not how I would have thought it would have worked. Interesting.
- 20:24Interesting. This is a fascinating space. So
- 20:27Yes. One of the things that I think people
- 20:31don't realize is
- 20:36just the sick insecure ways in
- 20:40which these plug ins could be designed. Right? Because, like, everyone's all
- 20:44gaga about these plug ins, and I look at it. I'm like, where am I
- 20:47sending my data? Right? Am I gonna read the 30 page EULA? Right? Or
- 20:51am I just gonna say, yes. Yes. Yes. I wanna do what I'm doing.
- 20:55Is that really a problem? It is.
- 20:59Because that kind of ties into unauthorized leakages.
- 21:03Right. How do I know that plug in is a secure
- 21:07connection into the l one, and there's nothing in between?
- 21:10Right. Or that it will contain what I get it.
- 21:15How do I know? I don't know. That's the thing is that is this plug
- 21:18in itself secure, and is its connection to the
- 21:22LLM secure, And is that LLM also
- 21:26integral? So, yeah, I could send it in there, but how do I
- 21:29know that along the way, something you know, the pipe might leak?
- 21:34So you need to check it. Just and, I mean, this goes I mean, this
- 21:37is very similar to APIs. This is very similar to,
- 21:41all sorts of remote interfacing. Just good engineering
- 21:45short lived. Just good engineering discipline seems to be
- 21:49missing from a lot of this because people are focused on the AI,
- 21:53not necessarily the underlying infrastructure that
- 21:57has to support it. Indeed. And I think that that's
- 22:01but that's the whole thing is that there is this massive trend as
- 22:05of late. I mean, perhaps it wasn't really emphasized
- 22:08before. I'm sure it was there, but it's now becoming very, you
- 22:12know, reiterated that we need to have security by
- 22:16design. Right. The security by design is already we're already doing
- 22:19that in other enterprise applications. Same should be applied to
- 22:23LLMs. Security by design. You check the code. You check the
- 22:27model. You check everything. And while it's operating,
- 22:31you check it. One of the biggest things you can do to overcome the
- 22:34opacity of an LLM, export
- 22:39the logs, export the comp the prompts.
- 22:43Have it processed. Now you could potentially process it.
- 22:47I'd figure the way you process any other kind of log data.
- 22:51The other thing you can do is use machine learning or
- 22:55an air gapped isolated LLM
- 22:59specifically trained to look for signatures,
- 23:04words, phrases, things like that. And when
- 23:07these patterns match, it returns saying, I found
- 23:11something that looks suspect. This is suspect.
- 23:15Here is the user who did this. Here is their IP.
- 23:19Like every other bit of log security log information we would get.
- 23:24So that would help piece together the trail to figure out, are these a
- 23:27bad actor, or is this the happenstance? Exactly.
- 23:31And that is one way you can do it because once you have the
- 23:35internal prompts and you have the internal logs and
- 23:39those are exported out, you now can see in.
- 23:43Right. The biggest problem is you gotta have that monitoring. You have to have that
- 23:46transparency. The elements are so large, you
- 23:50can't so easily see into them, but if you're taking the data out, it's a
- 23:54lot clearer. So you can kind of follow what the LLM is doing,
- 23:57if not, what's inside of it? Precisely. And the advantage
- 24:01is is if you use another LLM that is specifically designed
- 24:05to, you know, interrogate the prompts and look through
- 24:08them, examine them, scan them, whatever word you wish to use.
- 24:12You can find out where it is because that
- 24:16is not gonna be so easy to break the guardrails because it's examining
- 24:20one little bit at a time. It's looking at the individual prompts. It's not really
- 24:24it it's kind of agnostic about everything around it. It can get it can kind
- 24:28of filter out the new leads. Interesting. That's
- 24:31I mean, it's just so fascinating kind of to start pulling the thread at this,
- 24:35and there's a lot more. It's like I found there's a story about a guy
- 24:38who was renovating his basement, and he found, like, this ancient underground city. That's how
- 24:42I feel when I just get kicked back. It's true. It happened in
- 24:45Turkey. Like, he found, like, this underground network from, like, Byzantine
- 24:49or Roman times. That's what I feel like. I I like, wow. Like,
- 24:53this really goes down deep. So what's an
- 24:57inference attack? Because I've heard of that. What's an inference attack? We discussed that,
- 25:01or have we touched on that? Well, inference is
- 25:04basically what you're inferring to, the answer you are seeking.
- 25:08So, basically, it's basically, to the
- 25:12the inference is literally, the
- 25:16prompt that you are entering in and what you're getting out. Okay.
- 25:19More or less. So how is that an attack surface? Well,
- 25:23basically, you're you're chaining it. You're daisy chaining your attacks.
- 25:27You're trying to infer things. You're trying to kinda subtly
- 25:32get through. So it's a bit like it's a maybe
- 25:35more like cross examination from an attorney, a hostile attorney
- 25:39I would say that. Yeah. More than more than, like,
- 25:43interrogation or torture or or whatever verb we used
- 25:46earlier. Yes. Interesting. What's
- 25:50model inversion? Model inversion is
- 25:53basically you trying to spill the model itself. Oh. You're trying
- 25:57to kind of you're trying to kind of tear the
- 26:01guts tear the guts out, maybe put stuff in there,
- 26:05things of that kind. Interesting.
- 26:09Interesting. Where do
- 26:12we stand on the
- 26:18criminal and civil liabilities here? Right? I I I know that Air
- 26:21Canada had to pay a fine because they promised that its
- 26:25chatbot promised somebody something.
- 26:29I don't know where the California Chevy Tahoe thing
- 26:32is. But, I mean, have the laws
- 26:36caught up? Or, like, how were how is this generally looking like?
- 26:41Well, it depends. I mean, all jurisdictions are different, but I would
- 26:44suspect to say that whatever guarantees
- 26:48you make, you're bound to them. So
- 26:52probably disclaimers, indemnification is
- 26:55probably extremely wise. I would say,
- 26:59unfortunately, I'm not a legal expert. Right. Right. Right.
- 27:03Specifically to the law. Right. But as I'd say, I'd have
- 27:06enough legal understanding to probably say that if you make a promise,
- 27:10you better put your money where your mouth is. So that's why I back it
- 27:14up. IBM indemnifying their users for using one
- 27:18of their Granite models is probably a big deal for
- 27:21businesses. Because just in case somebody I'm sure that there's
- 27:25all fine print and things like that, but that that would be an appealing
- 27:29thing for business users. Yes.
- 27:33Interesting. Interesting.
- 27:41How does someone get started in learning how to jailbreak these? Like, is this is
- 27:45this a typical your background is, IT security.
- 27:49But what about someone who has a background in, say, AI and and and building
- 27:53these LLMs? Is that, Gunning, you think, be an another career
- 27:57path for the what we call data scientists today?
- 28:01Well, I would say you're gonna have to probably do it just as is. I
- 28:04think to the developers and to the data science Right. Scientists who work on this,
- 28:08you're gonna have to be security literate. Right.
- 28:12For those who want to get into it, I mean, data science is like any
- 28:16other AI trade. I mean, we often
- 28:19cross pollinate. So I would say that you might have an understanding
- 28:23already of these things. These prompt injections, as I say, are not
- 28:27much different than SQL injections. The data science Right. You probably know what that is.
- 28:33How you transfer it depends on what you know.
- 28:37I would say most data sciences do understand how some of this stuff
- 28:40works. Right. So getting into it is
- 28:44just basically you just learning more about security. Right. For the
- 28:48average person trying to get into it, I would say, if you're trying to
- 28:52get into AI security, know security
- 28:55first, and there are many ways to get into
- 28:59it. I, myself, came in, from my
- 29:02CCNA. I mean, that's how I kinda got into it. I got
- 29:06into networks, and then I got into cybersecurity. And
- 29:10then it was around the time that, you know, the GPTs were really starting to
- 29:13hit their stride. And it was just part and parcel of it because
- 29:18I needed a good reference tool. And so then I learned, okay.
- 29:22Well, how does this work? How do how is it put together? How,
- 29:25you know, how is it all formed and such? How does
- 29:29it make its inferences? How does it understand the problems?
- 29:33So from that, I would say to anybody trying to get into this field,
- 29:37know cybersecurity first, and you will know AI
- 29:42in time. AI is in concept
- 29:46relatively simple, but the nuts and bolts of it are quite
- 29:49complex. So Yeah. The implementation
- 29:53details are quite severe. Like, I think
- 29:57AI is really, I think, better not better suited, but it came
- 30:01out of the lab. I think the paint is still wet. Paint hasn't dried
- 30:04yet. And now we're forcing it into an enterprise
- 30:08scenarios with real customers, real data, real people's lives.
- 30:12And I don't see a lot of the traditional security
- 30:15discipline that
- 30:21I would expect in modern era, modern development.
- 30:25And even that's a low bar. Even that's a low bar. Let's be real. Well,
- 30:28it's it's new. Right. It's very shiny.
- 30:32Mhmm. That's I think that's what I would say is the general
- 30:36populace and even in the industry that's quite I think our view is that this
- 30:39is a shiny thing. Right. Well, you know, well, I want
- 30:43to. You don't even know what it does. I still want it. I want it.
- 30:49What's interesting is, it
- 30:53reminds me a lot of the early days of the web where everybody wanted a
- 30:56website. Well, what are you gonna do with it? I don't know. I just want
- 30:59a website. You know? It's very it has very very
- 31:02similar vibe in that regard of we want it. We you know, the hell with
- 31:06the consequences. But the way I see this
- 31:09being,
- 31:13taken up as quickly as it is kind
- 31:17of worries me. Like, there's gonna be a day of reckoning, I
- 31:21think, coming. You know? And I thought we
- 31:24already have it. Right? You you had, there was a leak from Chat
- 31:28CPT. They had a 100 was a 100000 ish customers there, give or
- 31:32take? A 100000 credentials taken, compromised.
- 31:35Credentials and and presumably the data and the chats?
- 31:40Some of it potentially, I'm sure. But what we're looking at is, like,
- 31:43names, email addresses. I mean, it depends on how much you put in
- 31:47that profile. Remember, everything you put in that profile is stored.
- 31:51Right. Right. That is truly scary.
- 31:56So you mentioned network, Chuck. So you do you think that
- 32:00just on a personal level, it's
- 32:03what worries me about these offline models, right, you run OLAMA locally.
- 32:07Right? Do you think they could they call
- 32:11home? Could those be hijacked? Could those have problems?
- 32:15Specifically. Specifically. Like, so if I'm
- 32:19running Olama locally, right,
- 32:25how secure is that? Does that does that depend on the security of my
- 32:29network, or is there something in there that calls home?
- 32:32No. Not unless you tell it to. Not unless you try to extract it, you
- 32:36make a pull, then, yes, it does that. But that's the idea is that once
- 32:40it's pulled down, it kinda isolates itself. Now
- 32:44what you can do yourself is set up your
- 32:47network so that literally it has to be outbound,
- 32:52a stateful connection, originating outbound.
- 32:56And you can set that up in your firewall, physical
- 32:59or otherwise. And you can do things like that, and you can
- 33:03kind of put it to a point where it doesn't call home unless you tell
- 33:06it to. Right. And, also, once again, that
- 33:10private LLM is also very good because you control
- 33:14the access to what it does. So you can say,
- 33:17other than these addresses, sanitize it to the
- 33:21address of wherever the model comes from, say, these are the only ones
- 33:25allowed. Right. And nobody else is permitted.
- 33:28Otherwise, implicit deny. Right. So that's a I think
- 33:31a a small tangible example of something you
- 33:35can do that is relatively straightforward for any
- 33:38systems or network engineer, to do just in the hearing
- 33:42now. But in general, no. They don't normally call without
- 33:46prompting. Okay. But depends on what they do with those models.
- 33:50They might put in that kind of feature. A lot of that go back to
- 33:53the I'm sorry. Yeah. That's kind of my concern is, like, you know, would that
- 33:57end up in there? Or Well, Meta might put that in there.
- 34:00Right. Meta is a not alone. Meta is not
- 34:04exactly free. Right. Matt is not exactly,
- 34:08has a reputation for privacy. No.
- 34:12So it's kind of ironic that they are
- 34:16leading the effort in this space. Seems kind of an odd move.
- 34:21I I don't know what to say about that. No. No. No. I just need
- 34:25I have no thoughts on it, but Right. Right. Frankly, I don't I don't know
- 34:28how relevant it'd be to this discussion. But it's an interesting it's
- 34:32it's just an interesting time to be in this field, and,
- 34:38this is just fascinating that you can
- 34:42jailbreak. You could do this and, you know, even just the basics. Right?
- 34:46Like, you could do a DOS attack. Right? There's
- 34:49just basics too. Like, this is still
- 34:53an IT service no matter how cool it is, no matter futuristic it is. It's
- 34:57still an IT service, so it has all of those vulnerabilities,
- 35:01you know, that I don't know. Like, it's just it's just interesting. People are so
- 35:04focused in the new shiny. I just find it fascinating.
- 35:09And that's the thing is that this thing is a compounded problem. Right. You
- 35:12don't just have the usual suspects. You also have
- 35:16new things that are they
- 35:20by the virtue of them being new, there's not much
- 35:24investigation. There's not much study. I mean, amongst my
- 35:28research for this presentation, I found a number of
- 35:32papers, white papers coming from all sorts of universities.
- 35:36They are now looking into this. Right. This is something that maybe we
- 35:39should have done maybe a while back. Good thing, though, we're doing it now.
- 35:43Right. But also, also, there's a lot of reasons why you would do that, though.
- 35:47You would do that because in the wild, you'd be able to identify these things.
- 35:51Right. You'd be able to see. You're not gonna know everything when something gets released
- 35:54until it's put out into the wild. Right. And real users
- 35:58get their hands on it. Good actors, bad actors,
- 36:02and everything in the middle. Right? Like, you're not gonna yeah. No. I mean, it's
- 36:06kind of like I guess I guess in a perfect world, the cart would be
- 36:09before the horse in this case, but that's not the world we live in.
- 36:14Interesting. So where can
- 36:17people find out more about you and what you're up to? Well, you
- 36:21can find me on, LinkedIn. Kevin Lynch
- 36:24with CCNA. Cool. You can look up my company, Novi Tea Guy,
- 36:29Novi Tea Guy dot com. And For those outside the area,
- 36:32Nova stands for Northern Virginia. Just just wanna figure it out there. Well,
- 36:36also, it well, it's actually a bit of a it's a double meaning. At the
- 36:40time, I was dedicating myself to IT for the first time. I've done
- 36:43IT kind of side part of my work. So Nova is also the
- 36:47Latin for new. So I was Okay. The new IT guy. The
- 36:51new IT guy. But when it comes to IT, I'm still your guy even then.
- 36:55There you go. I love it. And,
- 37:00I'll definitely will include in the show notes a link to your presentation.
- 37:05And this has been a great conversation. I'd love to have you back and maybe
- 37:07do your presentation, maybe on a live stream or something like that if you're interested,
- 37:12and, I'll let Bailey finish the show. And that's
- 37:16a wrap for today's episode of the data driven podcast.
- 37:19A huge thank you to Kevin Latchford for shedding light on the vulnerabilities
- 37:23of large language models and how to stay one step ahead in the ever
- 37:27evolving world of IT security. Remember, while these
- 37:31models are brilliant at generating conversation, they aren't infallible
- 37:35so keep your digital guard up. Until next time, stay
- 37:38curious, stay safe and always question the source unless,
- 37:42of course, it's me. Cheers.