WEBVTT

00:00:30.629 --> 00:00:40.640
<v Andreas Welsch>Today, we'll talk about red teaming and safeguarding for large language models and who better to talk about it than somebody who's not only actively working on that, but who's actually written the book on it.

00:00:40.829 --> 00:00:41.549
<v Andreas Welsch>Steve Wilson.

00:00:41.820 --> 00:00:42.369
<v Andreas Welsch>Hey, Steve.

00:00:42.519 --> 00:00:43.450
<v Andreas Welsch>Thank you so much for joining.

00:00:43.840 --> 00:00:44.539
<v Andreas Welsch>Hey, Andreas.

00:00:44.539 --> 00:00:45.570
<v Steve Wilson>Thanks for having me today.

00:00:45.600 --> 00:00:46.509
<v Steve Wilson>Always happy to be here.

00:00:46.924 --> 00:00:47.605
<v Andreas Welsch>That's awesome.

00:00:47.894 --> 00:00:51.674
<v Andreas Welsch>Hey this is the third time you're actually on the show.

00:00:51.674 --> 00:00:53.394
<v Andreas Welsch>You're the first guest to be on three times.

00:00:53.394 --> 00:01:01.015
<v Andreas Welsch>We talked about large language models last year, about two weeks ago for the launch of my book, the AI Leadership Handbook.

00:01:01.355 --> 00:01:18.144
<v Andreas Welsch>You shared a lot of great advice in a short segment on security, but we said, Hey, we want to spend a little more time on this today because I also feel that it needs a lot more attention now that Large language models are becoming more or less ubiquitous and embedded in so many more applications.

00:01:18.144 --> 00:01:27.935
<v Andreas Welsch>But before I keep stealing your thunder, maybe for those of you in the audience who don't know Steve, maybe Steve, you can introduce yourself and share a bit about who you are and what you do.

00:01:28.314 --> 00:01:28.655
<v Steve Wilson>Great.

00:01:29.655 --> 00:01:39.694
<v Steve Wilson>I'm the Chief Product Officer at Exabeam, which is a cyber security company that specializes in using AI to find cyber security threats.

00:01:40.694 --> 00:01:44.614
<v Steve Wilson>Last year, I got involved in creating an open source product.

00:01:44.974 --> 00:01:50.194
<v Steve Wilson>Basically an open source project called the OWASP Top 10 for large language models.

00:01:50.194 --> 00:01:56.864
<v Steve Wilson>And OWASP is a large foundation with a few hundred thousand members that's dedicated to building secure code.

00:01:56.875 --> 00:02:11.182
<v Steve Wilson>And we did a bunch of research into what are the security vulnerabilities I'm not really good at reading languages, but I do have a couple of books in large language models because this isn't something that I've gotten a lot of research, and that got a lot of attention.

00:02:11.182 --> 00:02:19.224
<v Steve Wilson>Last year, after that got rolling, I actually, I got an email out of the cold from an editor at O'Reilly, and they asked if I wanted to write a book.

00:02:19.224 --> 00:02:31.545
<v Steve Wilson>And I've spent the intervening year writing this book, so I was super pleased to be on your launch stream, and today is the launch of my book, So I'm hijacking your stream to give it back.

00:02:31.545 --> 00:02:32.875
<v Steve Wilson>So this is my O'Reilly book.

00:02:32.884 --> 00:02:39.335
<v Steve Wilson>It's called the Developers Playbook for Large Language Model Security, Building Secure AI Apps.

00:02:39.525 --> 00:02:50.215
<v Steve Wilson>And, it's been fun to do that because it lets me get much deeper into a lot of these issues than you can do in a top 10 quick hit list.

00:02:51.215 --> 00:02:51.954
<v Andreas Welsch>That's awesome.

00:02:52.074 --> 00:02:59.294
<v Andreas Welsch>Again, I'm so glad to have you on the show and folks also check out Steve's book here on large language model security.

00:03:00.294 --> 00:03:01.995
<v Andreas Welsch>First of all, also congratulations, right?

00:03:02.444 --> 00:03:11.884
<v Andreas Welsch>That's a big day for anybody that's that spent a year writing something and pouring your heart and soul into it and going through edits and revisions and getting some, first excitement.

00:03:12.104 --> 00:03:12.965
<v Andreas Welsch>Now it's the big day.

00:03:12.995 --> 00:03:15.745
<v Andreas Welsch>So excited that we can all celebrate that together with you.

00:03:16.254 --> 00:03:16.694
<v Andreas Welsch>Awesome.

00:03:17.365 --> 00:03:17.805
<v Andreas Welsch>Perfect.

00:03:18.224 --> 00:03:21.894
<v Andreas Welsch>Hey folks, if you're just joining the stream, drop a comment in the chat where you're joining us from.

00:03:21.984 --> 00:03:24.215
<v Andreas Welsch>I'm always curious how global our audience is.

00:03:24.294 --> 00:03:29.444
<v Andreas Welsch>And also don't forget to subscribe to my newsletter, the AI memo and the intelligence briefing.

00:03:30.444 --> 00:03:33.745
<v Andreas Welsch>So you can stay up to date on how you can run AI projects successfully.

00:03:33.884 --> 00:03:38.474
<v Andreas Welsch>And again, this one, AI Leadership Handbook, is also available now on Amazon.

00:03:39.144 --> 00:03:45.365
<v Andreas Welsch>Now, why don't we play a little game to kick things off, right?

00:03:46.094 --> 00:03:50.064
<v Andreas Welsch>We've been doing this for a while on the show.

00:03:50.424 --> 00:03:52.905
<v Andreas Welsch>So this game is called In Your Own Words.

00:03:53.484 --> 00:03:58.465
<v Andreas Welsch>And when I hit the buzzer, the wheels will start spinning, and when they stop, you'll see a sentence.

00:03:58.504 --> 00:04:03.685
<v Andreas Welsch>And I'd like for you to answer with the first thing that comes to mind, and why, in your own words.

00:04:04.174 --> 00:04:04.615
<v Andreas Welsch>Okay.

00:04:05.615 --> 00:04:06.394
<v Andreas Welsch>Let's see.

00:04:06.435 --> 00:04:07.764
<v Andreas Welsch>Are you ready?

00:04:08.384 --> 00:04:08.944
<v Steve Wilson>Let's do it.

00:04:09.474 --> 00:04:12.504
<v Andreas Welsch>If AI were a fruit, what would it be?

00:04:13.375 --> 00:04:16.125
<v Steve Wilson>Oh man, the thing that just jumps to mind is strawberry.

00:04:16.144 --> 00:04:17.475
<v Steve Wilson>Did you load that question?

00:04:17.745 --> 00:04:19.545
<v Andreas Welsch>Oh, that's a good one.

00:04:20.264 --> 00:04:36.139
<v Steve Wilson>But for folks who haven't been following that the big news the last few months has been OpenAI secretly developing some new supermodel and it was code named Strawberry and they did release an early version of it, which is actually pretty fascinating.

00:04:36.170 --> 00:04:38.730
<v Steve Wilson>And I've been playing with that a lot the last few weeks.

00:04:39.730 --> 00:04:40.870
<v Andreas Welsch>That's an awesome answer.

00:04:41.870 --> 00:04:43.170
<v Andreas Welsch>Didn't expect that one though.

00:04:43.740 --> 00:04:46.610
<v Andreas Welsch>So good, perfect.

00:04:47.469 --> 00:04:54.279
<v Andreas Welsch>So folks we obviously skipped your answer this time, but if you have one, please feel free to put them in the chat as well.

00:04:54.879 --> 00:05:02.750
<v Andreas Welsch>But now, why don't we jump to the main part of our conversation, and we already have a couple questions prepped to guide our conversation.

00:05:02.814 --> 00:05:15.435
<v Andreas Welsch>you mentioned where we're about a year after the release of the OWASP top 10 for large language model apps, and that's how we first got in contact with each other.

00:05:15.735 --> 00:05:17.375
<v Andreas Welsch>But I'm curious where are we?

00:05:17.394 --> 00:05:18.485
<v Andreas Welsch>What are you seeing?

00:05:19.404 --> 00:05:23.920
<v Andreas Welsch>Are these threats that you discovered and that you described last year.

00:05:24.500 --> 00:05:28.740
<v Andreas Welsch>Are they still somewhat far away in the distant future?

00:05:28.800 --> 00:05:29.839
<v Andreas Welsch>Are they already here?

00:05:29.870 --> 00:05:31.009
<v Andreas Welsch>Are all of them here?

00:05:31.629 --> 00:05:32.480
<v Andreas Welsch>What are you seeing?

00:05:33.040 --> 00:05:34.230
<v Andreas Welsch>How real are these things?

00:05:34.519 --> 00:05:35.469
<v Steve Wilson>It's interesting.

00:05:36.469 --> 00:05:44.670
<v Steve Wilson>When we go back more than a year now to when we published the first version of the list, I wouldn't say these things were hypothetical.

00:05:45.365 --> 00:05:59.194
<v Steve Wilson>Many of them there were real exploits that we published and discussed, but I'd say the the consequences for the people who fell victim to them were mostly embarrassment, sometimes severe embarrassment, but it was mostly embarrassment.

00:05:59.194 --> 00:06:11.204
<v Steve Wilson>In fact Martin Mikos, the CEO over at HackerOne, which is a really well known security company, put out a list that was a variant of the top 10 that was the top 10 ways to embarrass yourself with Gen AI.

00:06:12.204 --> 00:06:29.064
<v Steve Wilson>What's been interesting to watch first is the consequences are clearly much more severe now we've gone from a car dealership in Central, California putting up a chat bot that gets tricked into Offering to sell people cars for a dollar.

00:06:29.134 --> 00:06:51.254
<v Steve Wilson>I don't think anybody actually got a car for a dollar So they got embarrassed but no consequences On the other hand now, we're to the point where we see the AI agentry being a added to really major applications like Microsoft Copilot, and Slack being vulnerable to the things at the top 10 list, like indirect prompt injection.

00:06:51.625 --> 00:07:04.454
<v Steve Wilson>And both of those have come out recently with being vulnerable to that, where we see the major companies like Apple putting out these announcements about how they're going to make their Gen AI environment secure.

00:07:05.324 --> 00:07:08.784
<v Steve Wilson>But often I feel like they're doubling down on their traditional security.

00:07:08.814 --> 00:07:17.004
<v Steve Wilson>Apple's I'm building a super hardened data center to put your data in, and I'm going to run the LLM locally on your device.

00:07:17.014 --> 00:07:18.514
<v Steve Wilson>And both of those are good things to do.

00:07:18.555 --> 00:07:20.074
<v Steve Wilson>There's no downside to that.

00:07:20.954 --> 00:07:34.055
<v Steve Wilson>But if you've got the LLM locally on your device, and that LLM is susceptible to some of these vulnerabilities, and you haven't dealt with that, and it has access to your data, Somebody's going to trick it into doing something bad with your data.

00:07:34.194 --> 00:07:35.485
<v Steve Wilson>And we can see that coming.

00:07:35.485 --> 00:07:41.185
<v Steve Wilson>And we see those early results from the Microsofts and the slacks and a lot of other people, it's not limited to them.

00:07:42.185 --> 00:07:50.154
<v Steve Wilson>The other thing that we see out there are some of the vulnerabilities from the top 10 list let's call it changing rankings.

00:07:50.555 --> 00:07:51.634
<v Steve Wilson>We actually did.

00:07:52.550 --> 00:07:56.629
<v Steve Wilson>Some re voting and the expert group continues to grow and we shipped the first version.

00:07:56.629 --> 00:07:57.740
<v Steve Wilson>It was 400 people.

00:07:57.740 --> 00:07:59.480
<v Steve Wilson>Now it's 1400 people.

00:07:59.930 --> 00:08:00.120
<v Andreas Welsch>Wow.

00:08:00.159 --> 00:08:02.569
<v Steve Wilson>So people jump in and vote and participate.

00:08:02.569 --> 00:08:05.969
<v Steve Wilson>And we did some re ranking recently to decide where we wanted to focus.

00:08:05.969 --> 00:08:12.250
<v Steve Wilson>And I'd say there are two things that dramatically went up the list in terms of what people are interested in.

00:08:13.250 --> 00:08:15.480
<v Steve Wilson>One of them is what we call supply chain security.

00:08:15.839 --> 00:08:18.529
<v Steve Wilson>And this was on the list, but it was near the bottom.

00:08:18.629 --> 00:08:30.969
<v Steve Wilson>It was a hypothetical worry that bad actors could get into your supply chain for where am I getting my models and my training data and my weights and manipulate that somehow.

00:08:31.480 --> 00:08:32.560
<v Steve Wilson>and make it bad for me.

00:08:33.560 --> 00:08:40.190
<v Steve Wilson>Well known general cyber security problem, hypothetical not hypothetical anymore.

00:08:40.230 --> 00:09:15.029
<v Steve Wilson>When we look at these places like Hugging Face, which has become the de facto source to get so much stuff, and Hugging Face is an awesome site and community, but there have been a lot of researchers demonstrating there are thousands of poisoned AI models on that site, and we've seen examples where major organizations like Intel and Meta have lost control of their accounts and their keys and so that's going way up to the top of the list next time we publish it is understanding those supply chain concerns.

00:09:15.399 --> 00:09:19.769
<v Steve Wilson>The other one I don't think will surprise people, but agents.

00:09:20.149 --> 00:09:35.189
<v Steve Wilson>We had one vulnerability class for agents last time, what we called excessive agency, which is basically, are you giving the app more, more rights or more ability to execute autonomously than it should?

00:09:35.480 --> 00:09:37.779
<v Steve Wilson>really should have for its capabilities.

00:09:38.779 --> 00:09:44.500
<v Steve Wilson>If you look out in the AI sphere right now for the last couple months, everybody's talking about agents.

00:09:44.519 --> 00:09:50.429
<v Steve Wilson>It's suddenly pivoted to that time where people want to unleash a lot more autonomy.

00:09:50.860 --> 00:10:02.139
<v Steve Wilson>But I think we're still in a very dangerous place where I don't think that's well understood what the security implications are going to be of unleashing that and ultimately what the safety implications are.

00:10:02.720 --> 00:10:19.149
<v Andreas Welsch>I was just gonna say, especially that part, right on, on one hand you have the vulnerability of the LLM and to some extent the gullibility of it doing things that you don't intend it to do, but somebody else is getting it to do or tricking it into doing.

00:10:19.570 --> 00:10:24.549
<v Andreas Welsch>And then certainly putting it in into workflows that are a little more critical.

00:10:25.379 --> 00:10:32.679
<v Andreas Welsch>That are a little more high risk, that are a little more customer facing, certainly can quickly go beyond embarrassing.

00:10:33.679 --> 00:10:36.029
<v Steve Wilson>And look, people are not moving in small steps here.

00:10:36.029 --> 00:10:45.000
<v Steve Wilson>We see all sorts of examples where people are jumping straight from sales chat bot to medical application and financial trader.

00:10:46.000 --> 00:10:47.429
<v Steve Wilson>We're getting to the heart of the matter now.

00:10:48.429 --> 00:10:50.189
<v Andreas Welsch>Now that makes me curious.

00:10:50.399 --> 00:11:02.274
<v Andreas Welsch>Especially as you're seeing and as we are seeing in the industry, that shift towards agents towards more LLM based applications of all different sorts and kinds in all different kinds of industries.

00:11:02.705 --> 00:11:07.264
<v Andreas Welsch>How do you build these safeguards into the apps in around your LLMs?

00:11:07.814 --> 00:11:17.225
<v Andreas Welsch>And doesn't that drive up the cost for checking and regenerating output if it's something that's harmful or something that that it's not supposed to generate?

00:11:17.384 --> 00:11:18.485
<v Andreas Welsch>How do people deal with that?

00:11:19.485 --> 00:11:24.955
<v Steve Wilson>So one of the things that I have in the book is, ultimately when you get to the last chapter.

00:11:25.195 --> 00:11:27.514
<v Steve Wilson>There's a checklist of things you should be doing.

00:11:28.514 --> 00:11:32.754
<v Steve Wilson>The top 10 list was great for here's 10 things you need to understand that can go wrong.

00:11:33.754 --> 00:11:39.115
<v Steve Wilson>And I do cover all of those in the book, but the second half of the book is, what do you do about it, right?

00:11:39.134 --> 00:11:42.174
<v Steve Wilson>Just giving me a list of problems is not helping anymore.

00:11:43.174 --> 00:11:58.564
<v Steve Wilson>So I would say one of the things is people naturally jump to this idea that my defense If I'm worried about prompt injection, my defense is going to be putting a filter in front of the LLM that's going to look for prompt injection.

00:11:59.314 --> 00:12:06.394
<v Steve Wilson>And and that can be one part of the solution, and I do talk about some ways to do that and screen for things.

00:12:07.394 --> 00:12:13.554
<v Steve Wilson>But that's an incredibly hard problem, and I'd say, for the most part, something I don't encourage people to solve by themselves.

00:12:14.554 --> 00:12:22.090
<v Steve Wilson>The first thing to think about is for that part of the approach, you want to think about going and getting a guardrails framework.

00:12:22.230 --> 00:12:27.220
<v Steve Wilson>And there are commercial ones, there's a whole bunch of cool, virgining companies.

00:12:27.980 --> 00:12:31.759
<v Steve Wilson>I could name a few and then I'll get in trouble for the ones I don't, but let's try anyway.

00:12:32.029 --> 00:12:36.419
<v Steve Wilson>You've got PromptSecurity and LassoSecurity and YLabs.

00:12:37.419 --> 00:12:38.929
<v Steve Wilson>All these people are doing great stuff.

00:12:38.929 --> 00:12:43.139
<v Steve Wilson>You've got open source projects from companies as big as Nvidia and Meta.

00:12:43.804 --> 00:12:45.434
<v Steve Wilson>That are attacking parts of these problems.

00:12:46.434 --> 00:12:53.595
<v Steve Wilson>I suggest people check those out because that's, going to give you the state of the art for that layer of defense.

00:12:54.294 --> 00:13:00.345
<v Steve Wilson>The other things that I say, though, the first thing on the checklist is actually more about what I will call product management than engineering.

00:13:01.034 --> 00:13:07.445
<v Steve Wilson>And that's about carefully selecting What you are going to allow the thing to do and not do.

00:13:08.445 --> 00:13:12.754
<v Steve Wilson>And actually really closing down your, field of view.

00:13:12.855 --> 00:13:17.955
<v Steve Wilson>If you're trying to build ChatGPT in your open AI, there's a tremendous amount of things.

00:13:17.955 --> 00:13:21.044
<v Steve Wilson>And we all, trip over ChatGPT guardrails all the time.

00:13:21.064 --> 00:13:22.144
<v Steve Wilson>Oh, I can't do that.

00:13:22.144 --> 00:13:26.345
<v Steve Wilson>But then people trick it into doing it because it's a very large space to defend.

00:13:27.054 --> 00:13:31.404
<v Steve Wilson>It's actually much easier to create what we call an allow list than a deny list.

00:13:32.404 --> 00:13:42.230
<v Steve Wilson>If, as a product manager, I decide this bot is for helping with tax calculations, it's much easier for me to put some guidance in there.

00:13:42.580 --> 00:13:51.689
<v Steve Wilson>build it into that bot that says don't answer questions that are not directly about taxes, then list all of the things that should not be.

00:13:51.689 --> 00:13:57.649
<v Steve Wilson>And when you think about it that way, you unlock some of these things where that's not a huge computational cost.

00:13:57.700 --> 00:14:00.230
<v Steve Wilson>That's just a smart decision.

00:14:01.230 --> 00:14:02.419
<v Andreas Welsch>That makes a lot of sense.

00:14:02.980 --> 00:14:11.345
<v Andreas Welsch>I think putting it that way and giving it that persona of This is what you do, this is what you're not supposed to do, or avoid or ignore anything else, right?

00:14:12.345 --> 00:14:15.485
<v Andreas Welsch>And again, comes back to the point that I think we talked about last year.

00:14:15.605 --> 00:14:20.314
<v Andreas Welsch>Almost like a zero trust, zero, yeah, zero trust boundary.

00:14:20.774 --> 00:14:29.924
<v Steve Wilson>What I tell everybody is you need to treat your LLM as something in between a confused deputy And an enemy sleeper agent.

00:14:30.835 --> 00:14:39.254
<v Steve Wilson>And really we're used to talking about trust boundaries in our software as the software is here, it's my software.

00:14:39.274 --> 00:14:40.054
<v Steve Wilson>I trust it.

00:14:40.095 --> 00:14:44.174
<v Steve Wilson>And what I'm trying to do is control what's coming in from the outside.

00:14:45.174 --> 00:14:52.245
<v Steve Wilson>The thing is at this point, almost by the nature of any of these applications, they're designed to take untrusted input from the outside.

00:14:53.054 --> 00:14:57.184
<v Steve Wilson>And by proxy, I have to stop trusting the LLM.

00:14:57.445 --> 00:15:04.735
<v Steve Wilson>And that means actually, I put a lot more effort into filtering and checking what comes out than I do what comes in.

00:15:05.434 --> 00:15:10.024
<v Steve Wilson>It turns out to actually be, again, a much easier problem to solve and screen for.

00:15:10.485 --> 00:15:12.875
<v Steve Wilson>I can watch for, is it spitting out code?

00:15:12.875 --> 00:15:18.514
<v Steve Wilson>If I didn't intend it to spit out code, I can watch if it's spitting out credit card numbers or social security numbers.

00:15:18.534 --> 00:15:24.205
<v Steve Wilson>Those are easy problems to solve versus, is this an attempt to hijack my LLM?

00:15:25.205 --> 00:15:25.745
<v Andreas Welsch>That's great.

00:15:25.845 --> 00:15:31.554
<v Andreas Welsch>I think especially the examples that you give of how to do that or where to do it, right?

00:15:31.554 --> 00:15:35.105
<v Andreas Welsch>It's easier, like I said, to do that at the beginning than at the tail end of it.

00:15:36.105 --> 00:15:40.044
<v Andreas Welsch>Which triggers another thought or another question here.

00:15:59.194 --> 00:16:08.724
<v Andreas Welsch>And I haven't been really able to find good expertise on this for people who can talk about this in depth and in breadth.

00:16:09.724 --> 00:16:13.134
<v Andreas Welsch>Which is how do you actually red team your LLM applications?

00:16:13.134 --> 00:16:17.924
<v Andreas Welsch>Meaning you have something that's untrusted, but how do you go through all these scenarios?

00:16:17.924 --> 00:16:19.804
<v Andreas Welsch>What are things you should be testing for?

00:16:20.264 --> 00:16:28.989
<v Andreas Welsch>And how, can your own security team maybe get more familiar with these techniques and, upscale now that LLMs are here?

00:16:29.639 --> 00:16:36.500
<v Steve Wilson>It's, been a, it's been a really interesting journey and, I've been exploring this from a few different angles.

00:16:37.089 --> 00:16:46.689
<v Steve Wilson>Personally my day job being at Exabeam, we just added a bunch of Gen AI capabilities to our cyber security software that we sell to enterprises.

00:16:47.689 --> 00:16:50.609
<v Steve Wilson>All of a sudden, I wasn't just the author writing about this stuff.

00:16:50.609 --> 00:16:53.059
<v Steve Wilson>I was on the hot seat and responsible for it.

00:16:53.354 --> 00:17:06.865
<v Steve Wilson>And, when we started putting this out and started putting it out in early access, and frankly got some really great responses from users, I went back to the engineering team and started asking a lot of questions like, Hey, what kind of guardrails are we putting on this?

00:17:06.865 --> 00:17:08.015
<v Steve Wilson>And what are we doing?

00:17:08.035 --> 00:17:33.884
<v Steve Wilson>And, there, there weren't a lot of great resources for red teaming, but it turned out to be very, or it was very easy to trip it up with even basic red teaming at the beginning because These, things are hard, but what I will say is, oh, and the other part is from the OWASP side red teaming has become a huge topic within the expert group.

00:17:34.625 --> 00:17:36.944
<v Steve Wilson>Again, it was like, hey, what are all the problems?

00:17:37.315 --> 00:17:40.525
<v Steve Wilson>Now it's like, all right, red teaming is a big part of the solution.

00:17:41.525 --> 00:17:43.714
<v Steve Wilson>How are we going to give people good red teaming guidance?

00:17:43.714 --> 00:17:48.234
<v Steve Wilson>And we actually, we did a panel on that at RSA that was really well received.

00:17:48.234 --> 00:17:49.345
<v Steve Wilson>And it's up on YouTube.

00:17:49.345 --> 00:17:53.745
<v Steve Wilson>If you go look for it, OWASP top 10 LLM red teaming, you can find it.

00:17:54.745 --> 00:18:07.215
<v Steve Wilson>But, What I'll say is interesting, which is, people coming to this from what I call an AI background or, coming to this from an AI angle often don't have a lot of cybersecurity experience.

00:18:07.265 --> 00:18:08.435
<v Steve Wilson>And that's one of the tricks.

00:18:09.435 --> 00:18:11.914
<v Steve Wilson>So they don't necessarily know where to start.

00:18:11.935 --> 00:18:15.685
<v Steve Wilson>They actually, the term red teaming has become pervasive.

00:18:16.575 --> 00:18:37.725
<v Steve Wilson>In the community, broadly, due to LLMs I was watch I was watching a clip off cable TV recently, where Senator Chuck Schumer from the United States Senate was talking about AI red teaming and LLM, My mind just exploded, so it's in the popular culture.

00:18:38.725 --> 00:18:52.085
<v Steve Wilson>And, what we really see is that, there's a tremendous amount of expertise on how to approach this in an obscure corner of your development organization at your enterprise called the AppSec team.

00:18:52.775 --> 00:19:01.049
<v Steve Wilson>And these teams are sometimes feel unloved, but they're the ones who are charged with building secure software inside your enterprise.

00:19:01.190 --> 00:19:08.120
<v Steve Wilson>And they are coming up a learning curve about AI, but they know how to secure things and they know how to pen test them.

00:19:08.440 --> 00:19:11.269
<v Steve Wilson>And for a long time, we called that pen testing.

00:19:11.289 --> 00:19:17.150
<v Steve Wilson>And then red teaming is a different variant of that, but that's a good place to start with that piece of expertise.

00:19:17.730 --> 00:19:30.000
<v Steve Wilson>The thing about red teaming that's different, and I break this down in the book with a table that actually compares pen testing and red teaming, but AI red teaming is really, you want to attack it from a broad perspective.

00:19:30.009 --> 00:19:34.519
<v Steve Wilson>You're not probing it looking for traditional attacks.

00:19:35.470 --> 00:19:37.630
<v Steve Wilson>You're looking at it from a holistic point of view.

00:19:38.630 --> 00:19:40.519
<v Steve Wilson>Security, safety.

00:19:41.500 --> 00:19:48.740
<v Steve Wilson>And it's really interesting to watch these teams that were viewed very narrowly, like an AppSec team in an enterprise.

00:19:49.384 --> 00:19:52.825
<v Steve Wilson>Suddenly become much more important where they're getting asked for questions.

00:19:52.825 --> 00:19:54.355
<v Steve Wilson>Like how do I test this for safety?

00:19:54.365 --> 00:19:55.965
<v Steve Wilson>And sometimes they're uncomfortable with that.

00:19:55.975 --> 00:20:01.725
<v Steve Wilson>They're like nobody's asked me this Like I got nobody else to ask you're the only person here with expertise on this.

00:20:01.795 --> 00:20:19.505
<v Steve Wilson>Let's figure it out some people get uncomfortable Some people are really embracing it and these teams are stepping up and it's really cool to see them step up and attack this teaming if You don't have experience with it and you're looking to just get your feet wet.

00:20:20.505 --> 00:20:23.815
<v Steve Wilson>There's an awesome resource from a company called Laykara.

00:20:23.924 --> 00:20:26.315
<v Steve Wilson>They're another one who makes guardrails frameworks.

00:20:26.315 --> 00:20:33.660
<v Steve Wilson>The thing they got famous for originally was, they put out basically a game on the internet called Gandalf.

00:20:34.120 --> 00:20:40.029
<v Steve Wilson>And it is, a tool to practice attacking large language models.

00:20:40.490 --> 00:20:49.000
<v Steve Wilson>And so if you want to just get there in a way that's not illegal or immoral, practice your skills at hacking LLMs and develop those red teaming skills.

00:20:49.009 --> 00:20:50.759
<v Steve Wilson>That's a great place to go get started.

00:20:51.480 --> 00:20:52.029
<v Andreas Welsch>Cool.

00:20:52.880 --> 00:20:55.670
<v Andreas Welsch>I know what I'll be doing once we end the stream.

00:20:56.019 --> 00:20:56.730
<v Andreas Welsch>That's for sure.

00:20:57.730 --> 00:21:00.690
<v Andreas Welsch>I always love learning something new and getting new resources.

00:21:01.690 --> 00:21:06.150
<v Andreas Welsch>Two things, folks, for those of you in the audience, if you have a question for Steve, please put it in the chat.

00:21:06.150 --> 00:21:07.779
<v Andreas Welsch>We'll pick it up in a minute or two.

00:21:08.250 --> 00:21:13.519
<v Andreas Welsch>And while you're thinking about your question, Steve, you mentioned you wrote a book and today's launch day.

00:21:13.539 --> 00:21:14.769
<v Andreas Welsch>What's the name of the book again?

00:21:14.820 --> 00:21:22.830
<v Steve Wilson>Yep, so the book is called The Developers Playbook for Large Language Model Security Developing Secure AI Applications.

00:21:22.830 --> 00:21:23.870
<v Steve Wilson>It's from O'Reilly.

00:21:24.480 --> 00:21:26.970
<v Steve Wilson>And and again, it's available today.

00:21:26.970 --> 00:21:30.970
<v Steve Wilson>You can get the electronic copies on Amazon or wherever you buy books.

00:21:31.009 --> 00:21:34.480
<v Steve Wilson>And they promised me the hard copies are on a truck somewhere.

00:21:35.390 --> 00:21:36.350
<v Steve Wilson>Coming really soon.

00:21:36.835 --> 00:21:37.644
<v Andreas Welsch>That's awesome.

00:21:37.674 --> 00:21:38.365
<v Andreas Welsch>Fantastic.

00:21:38.775 --> 00:21:40.215
<v Andreas Welsch>So folks, definitely check that out.

00:21:41.215 --> 00:21:55.625
<v Andreas Welsch>So while we're waiting for questions to come in, I think another aspect then is, as you're thinking about red teaming, it's the usual teams that have been doing this kind of work for a long time.

00:21:56.095 --> 00:22:00.525
<v Andreas Welsch>It's an additional dimension of how do we do this for large language models now.

00:22:01.525 --> 00:22:02.455
<v Andreas Welsch>How do we upskill?

00:22:03.455 --> 00:22:08.275
<v Andreas Welsch>What roles do you see within these teams are best suited to do that?

00:22:08.285 --> 00:22:14.515
<v Andreas Welsch>What skill sets do people have that they do red teaming that do develop these safeguards?

00:22:14.555 --> 00:22:18.640
<v Andreas Welsch>Is it the AI scientists, I think you said, that's maybe not the best angle.

00:22:18.680 --> 00:22:21.269
<v Andreas Welsch>Is it the pure security teams?

00:22:21.310 --> 00:22:29.320
<v Andreas Welsch>Is it the English majors who know how to write a crafty sentence and elicit a good response?

00:22:30.009 --> 00:22:30.990
<v Andreas Welsch>Where do you start?

00:22:31.870 --> 00:22:32.680
<v Steve Wilson>Yeah, it's.

00:22:33.380 --> 00:22:33.870
<v Steve Wilson>It's funny.

00:22:34.060 --> 00:22:40.930
<v Steve Wilson>Just in general, having been immersed in not just the security, but the development of Gen AI apps.

00:22:41.930 --> 00:22:47.960
<v Steve Wilson>It's interesting to look at the role of, let's call it, data scientists and machine learning engineers.

00:22:48.600 --> 00:22:51.769
<v Steve Wilson>Because at ExitBeam, we have a bunch of them who've been developing.

00:22:52.769 --> 00:22:57.269
<v Steve Wilson>Deep machine learning models for high speed analysis of data for 10 years.

00:22:58.269 --> 00:23:06.519
<v Steve Wilson>But when we added the co pilot with, Gen AI, and we're actually, we're using we're using a lot of things people who watch your show would be familiar with.

00:23:06.539 --> 00:23:18.420
<v Steve Wilson>We were using a private version of Gemini inside Google Cloud, and it's an LLM, and we do rag and prompt engineering and, these things that we're all learning about together.

00:23:19.009 --> 00:23:21.250
<v Steve Wilson>The role of the data science there.

00:23:21.654 --> 00:23:22.735
<v Steve Wilson>is very minimal.

00:23:23.735 --> 00:23:36.815
<v Steve Wilson>If you're a machine learning specialist in the world of large language models, you might be working at somewhere like Google or OpenAI, working on the next wave of those frontier models.

00:23:36.825 --> 00:23:38.894
<v Steve Wilson>And I have a tremendous amount of respect for that.

00:23:38.975 --> 00:23:45.825
<v Steve Wilson>But when it comes to building these apps, this is really a new skill set that we're all developing together about.

00:23:45.825 --> 00:23:49.674
<v Steve Wilson>How do I build effective prompts and how do I do effective RAG?

00:23:49.935 --> 00:23:57.575
<v Steve Wilson>And there are ways to connect that up to existing, machine learning technologies, which has been really cool to do at Exabeam.

00:23:57.585 --> 00:24:02.325
<v Steve Wilson>But, I'd say what that means is that we're all developing these new skill sets.

00:24:02.325 --> 00:24:09.835
<v Steve Wilson>I think from a security perspective, those data scientists are the furthest away, from, doing this directly at your enterprise.

00:24:10.125 --> 00:24:17.009
<v Steve Wilson>Although there are a lot of smart ones at places like NVIDIA and Meta working on security guardrails.

00:24:17.060 --> 00:24:18.620
<v Steve Wilson>And I would just take advantage of that.

00:24:18.640 --> 00:24:25.620
<v Steve Wilson>I would not try to imply, employ data scientists to build security guardrails for a new enterprise app.

00:24:26.620 --> 00:24:28.950
<v Andreas Welsch>Good point, that you're making there.

00:24:28.990 --> 00:24:34.860
<v Andreas Welsch>So then what types of skills do you see if it's not the data scientists?

00:24:35.090 --> 00:24:39.440
<v Andreas Welsch>But there is some knowledge needed that you understand what are the vulnerabilities?

00:24:40.320 --> 00:24:43.830
<v Andreas Welsch>What's a good skill set that can test for these things?

00:24:43.930 --> 00:24:45.430
<v Andreas Welsch>Again, is it more language?

00:24:45.440 --> 00:24:46.850
<v Andreas Welsch>Is it more security?

00:24:46.860 --> 00:24:49.060
<v Andreas Welsch>Is it something completely different?

00:24:49.660 --> 00:24:57.019
<v Steve Wilson>I'd say that the term red teaming existed in cyber security long before large language models.

00:24:57.019 --> 00:25:07.100
<v Steve Wilson>And the first place is to look to those security teams that have experience in pen testing and red teaming.

00:25:07.870 --> 00:25:10.220
<v Steve Wilson>There are also great things out there that are cropping up.

00:25:11.220 --> 00:25:12.210
<v Steve Wilson>Companies like HackerOne.

00:25:12.210 --> 00:25:17.835
<v Steve Wilson>HackerOne is a really cool company with a cool business model where they basically run people's business.

00:25:17.835 --> 00:25:20.695
<v Steve Wilson>bug bounty programs for large enterprise.

00:25:21.255 --> 00:25:27.644
<v Steve Wilson>What they have is a million, literally a million hackers under contract, and they will come try to hack your stuff.

00:25:28.105 --> 00:25:32.775
<v Steve Wilson>And if they hack your stuff, you pay them because they will disclose to you how they did it.

00:25:32.855 --> 00:25:38.144
<v Steve Wilson>And in the last six to 12 months, they've added AI red teaming to this.

00:25:38.144 --> 00:25:42.515
<v Steve Wilson>And I've seen some amazing feedback on what you're able to do with that.

00:25:42.525 --> 00:25:47.634
<v Steve Wilson>So you're able to actually go out, and basically crowdsource

00:25:48.634 --> 00:25:50.664
<v Andreas Welsch>That is indeed an interesting business model as well.

00:25:50.705 --> 00:26:08.075
<v Andreas Welsch>And I could see, especially for companies that don't necessarily have the bandwidth or already the expertise, we're still bringing up the expertise in their own organization to leverage offerings like that you just mentioned to augment their skills or again get some external help on this.

00:26:08.695 --> 00:26:09.384
<v Andreas Welsch>Fantastic.

00:26:10.384 --> 00:26:16.775
<v Andreas Welsch>Steve, we're getting close to the end of the show, and I was wondering if you can summarize the key three takeaways for our audience today before we wrap up.

00:26:17.775 --> 00:26:23.945
<v Steve Wilson>Yeah, from the topics we've covered, I'd say, this is a fast evolving space.

00:26:23.985 --> 00:26:37.455
<v Steve Wilson>I would say that if you're tracking this, you want to start to be aware of some of the newer places where the vulnerabilities are showing up, and these are definitely things like supply chain.

00:26:37.455 --> 00:26:49.485
<v Steve Wilson>If you're not just using software as a service model, like a Google Gemini, but you're off trying to run your own LLM or trying to use training data from third parties and things like that.

00:26:49.515 --> 00:26:53.185
<v Steve Wilson>Really start to understand the characteristics of your supply chain.

00:26:53.835 --> 00:27:06.525
<v Steve Wilson>And then as you go out and start to think about adding agents to the mix letting things execute autonomousy and seek goals, really think hard about the implications of that.

00:27:07.525 --> 00:27:14.865
<v Steve Wilson>And lastly, please check out the book, developers playbook for large language model security.

00:27:15.585 --> 00:27:17.335
<v Andreas Welsch>Steve, it's been a pleasure having you on.

00:27:17.735 --> 00:27:19.495
<v Andreas Welsch>Thank you for sharing your expertise with us.

00:27:20.495 --> 00:27:21.225
<v Steve Wilson>Thanks, Andreas.

00:27:21.295 --> 00:27:22.174
<v Steve Wilson>Always enjoy it.
