Resource Center > Webinars
Beyond the Safeguards: Exploring the Security Risks of ChatGPT and Other Generative AI Applications
Speaker 1: So thanks for joining everybody. We’re very excited to to be here and talk a bit about LMS and how some of them can be risky to your organization. So we will dive right in. Uh. Let’s start with who our speakers are. So my name is Gadi. I’m the co-founder and CEO at Brite Security. We’ll talk about our backgrounds in a bit more detail in a second. Joining me today are Bar, my co-founder and CEO, a CTO at Bright and Dorian, who we all call D, who is the co-founder at Protect AI. What we are going to cover today. So we have a few interesting issues. First of all, we’ll introduce ourselves so you know why some of us are actually qualified to talk about this topic and the fact that we’ve been working in it for quite some time. Then we will talk about what are LMS overall, Why? Why are they interesting? What are organizations doing and saying about them? And then we’ll talk about the risk and consequences associated with deploying or utilizing LMS within your organization from that higher level discussion, we’ll dive into specific examples of attacks and how LMS or models can actually be exploited within your organization. And bar will give us a few specific examples and then we’ll open it up to an open discussion. So very important throughout the presentation. If you have questions, if you want to ask anything, we will have plenty of time for that open discussion and answer in Q&A. So please go ahead. I see that some of you are already posting in the in the chat. Thank you. Please continue posting, post any questions. I will be monitoring the chat channel so we can answer any questions that you have and make sure that we cover this topic comprehensively. So we’ll have that discussion and then we’ll we’ll wrap up from there. It is a free flowing presentation, so feel free to post your questions throughout. With that, let’s get started with who we actually are. So did you want to quickly introduce yourself? You’re muted. Thank you.
Speaker 2: Thank you, Gary. Appreciate that. My name is Dee. As you can tell, I simplified my life by going from all these letters to just one simple one. Prior to co-founding Protect, I led the AI ML Solution architecture team. Over 270 engineers at AWS was there for about four and a half, five years. We learned a lot about what it took for all kinds of organizations from big to small, very mature companies to less mature and all companies. We learned what it took to get into production in a meaningful way, and we observed that there were some big security gaps. And so what we wanted to do and what we are doing with Protect AI is essentially moving the ML Ops industry, which is the equivalent of DevOps in traditional software to ML Ops, which is the equivalent of Devsecops in traditional software. So we are very excited to be here to talk a little bit about how we work with SAC and also how we work with other partners across the ecosystem to build a safer AI powered world by securing your systems.
Speaker 1: Excellent. Great to have you here, Barb.
Speaker 3: Nice to meet everyone and thank you for joining. My name is Barry. I’m the CTO, co-founder of Bright Security. My main field of expertise is cyber security from the offensive side. I think I have right now, I guess, around 17 years of offensive security, from OpSec to malware development to reverse engineering, exploit research in all kinds of attacks. Whatever it is, if it beeps and is connected to the Internet, I usually try to find a way to break it. We when we started Neural Engine, which was the former name, now Bright, our main idea was really taking machine learning and AI and using that as an engine to create attacks, to find vulnerabilities and to do the research. That was our beginning. So AI machine learning is very, very deeply rooted in bright as it is even today. Um, my main goal in this presentation is going to show you a few interesting things. Again, how to break stuff, but in a nice way. And that’s about it.
Speaker 1: Great. Thanks, Ma. And I’m Gary, your emcee for. For the day. I started off my way in cyber about 25 years ago. Actually, a bit more than that now in the 8200 unit doing all sorts of fun stuff around encryptions and voiceover ops and exciting things like that when those were early on and have been running various roles and companies in the cyber space. And apart from being a constant fear, that bar will hack me because we work together. Um, I, uh, I run the company in parallel. We might have an additional participant in the meeting today. My puppy Baloo, is laying right here, right by my feet, and he might decide to chime in like he did in the prep session. So we’ll see. He is not an expert, but he might think he is good. So with that, let’s dive right in into what are what are large language models. Right. It’s been an amazing advancement in the last 12 months, 18 months that we’ve really made a leap forward in our capabilities on the use of large language models. Um, and, and it’s, it’s a niche. It’s a type of artificial intelligence that really enables technology to utilize large volumes of text to drive different actions. It can generate texts. And we have some of our marketing people are already using it to write articles or at least to write the outlines of articles. It can help with translation. It can help summarize large pieces of content, it can help answer questions. But there are many other examples. It can help you write code. Our development team is utilizing and actually some of our non developers are utilizing it to write code and and make sure that that code can be used to drive other functions. So there are many, many different uses of LMS and these uses are just going to accelerate. In a recent survey we can see that a third of organizations are saying that they’re already actively using internally within their enterprise. And these are not just small companies. These are large banks, large financial institutions, technology companies, etcetera. They are already formally this is in a formal manner utilizing these technologies internally, you can see that a lot of people are still on the fence. The too early to tell, but am willing to bet that most of those are already experimenting and they’re trying to see what they can do, what they can’t do. So this is going to be a very ubiquitous technology as we move forward. However, it is very, very, very important to understand the risks and the consequences that are associated with utilizing this underlying technology. And unfortunately, that is really not well understood when we talk to our customers, when we bring up questions around what are do you understand the risks, Do you understand how you are exposed when you’re actually deploying these technologies? We got a lot of stare, a blank stares from our customers. People don’t really know OS recently launched or announced a top ten risks model. I know that our esteemed panelists bar and have a lot of thoughts about what launch, so we’ll talk about that in a bit more detail later. But before we we get into that and we get into examples, I’ll turn it over to Dee to talk about the framework that you should be thinking about and how you think about the risks and the consequences associated with the usage of models.
Speaker 2: Thanks, Gary. I want to start by saying I loved how you framed two things. One, that people don’t know how these applications need to be secured and need to be implemented safely. And I think that that security and safety goes hand in hand and is a direct pairing to risks and consequences, as you mentioned. And when it comes to traditional software where we’re heavily relying on microservice development or heavily reliant on ification, if you will, you know, that is creating essentially the code pipeline. And so I want to start by saying in the code pipeline, if you click now, you’ll see this. Yeah, the software code pipeline inside of this, a lot of attention is being paid to security, both traditional methods and new ones. So companies like Bright Security, which are really trying to shift left, if you will, in that code pipeline and bring scanning and different types of scanning from unit to. Integration, testing, functional testing, verification, testing, all the things that you need to do in that, plus all of the vendors and tooling and instrumentation that companies have around securing that code. Pipeline is very robust, right? That whole CI flow is incredibly well documented. If you’re practicing the best methods and security and you really understand what is happening in your software code pipeline. Additionally, what you’ll see next is the data pipeline. A lot of companies are spending a whole lot of time securing their data pipeline, so they are implementing policies and procedures. They’re implementing data federation controls. They’re intermittent, They’re, you know, implementing data sovereignty checks, all kinds of things that ensure that there’s, you know, PII not being placed or misplaced, etcetera. There’s a whole bunch of data security things that are being done upstream, if you will, which is separate from the things you’re doing in the software code pipeline. But the challenge really is that as you develop any artificial intelligence or sheen learning application, you have a whole bunch of nuances, you have different steps, different tools, different entities. For example, when you think about scanning in your code pipeline, more commonly than not, you’re scanning IDs. You’re not always typically scanning assets. But that’s not how machine learning is built. And machine learning. We like to say the difference between machine learning and artificial intelligence. We think of it as a car. If a artificial intelligence is a car, then the engine or the drive train, the power train is essentially the machine learning components to that. Now, this is important because you see the dependencies here for ML to work the fuel for that car, the energy source for that power train is essentially it’s data. But the systems that control the braking, the steering, all the, you know, infotainment components, those are all the code elements at the bottom. And the challenge is, is that if you have weak security and weak safety and weak governance in the machine learning pipeline, you are very much exposed. So what protect AI wants to do in moving the industry from Mlops, which is the machine learning pipeline, which is the foundation of what we call the machine learning lifecycle. For anybody who’s not aware of that, it’s very similar to this software development lifecycle. In those steps, we want to take the Mlops element, which is DevOps for Code Mlops is to the machine learning pipeline. We want to move that industry to ML Ops, which would mean you’re doing things like unique machine learning, functional tests, integration, test verification, test unit test and a whole bunch of other things that you don’t have to do with your code environment. For example, checking for data bias or checking for adversarial machine learning risks. But you still have to do the things that are common in both the data pipeline and the code pipeline, such as making sure that you understand what is in that environment. Again, Gotti said, People don’t really know how secure or safe their environment is, and we believe that that’s primarily due to a lack of lineage. We think lineage is the place to start to build your security foundation. That’s the basic building block. If you want a safe and secure house, it starts with a really strong foundation of lineage. So this is all applicable to any kind of. ML And a lot of has been deployed in enterprises in a variety of ways for going on almost 15 years. I’ve been in this business for about 12 on specifically in AIML. Helping all kinds of companies and deployment in enterprises is not new. What is new is how LMS have captured the imagination. Now this is an important element of how to think about safety and security. Security is all the things I’ve just talked about. I’m about to transition into the concept of safety and safety begins at the endpoint. The endpoint is how people use it, what people are doing. So if you click on the next component, Gotti, what we think about from this perspective is on a security basis, people are probably doing a lot of type of elements to maintain that secure perimeter. But when it comes to AML, one of the things that you’re doing on those endpoints is you’re monitoring for drift. Is the model performing the way it’s supposed to within the probabilistic ranges? Is it doing the types of things that you would expect it to do? And when there’s an outlier, are you catching it? Those are all state controlled things. You can define very simplistic rules to create alerts that would let you know what might be broken or what needs to be fixed. The challenge is with generative AI generated. Is not a state based element. It’s an interface. Essentially. It is me asking an agent to do something and then giving that back. So how do you secure those endpoints? Needs to change as well. So to walk you through kind of the safety and security aspects about this, I’m going to turn it over to Barr, who’s going to go over a couple of concrete examples of what we mean by security and safety of applications and more generally, Barr.
Speaker 1: So I feel like we’re in an episode of Black Mirror here with all of these things that you’re bringing up coming up.
Speaker 2: Um, so.
Speaker 3: I guess to summarize, um, we’ve seen that, uh, there are a lot of vectors to attack AI based applications. We reckon we can attack the model. We can attack the infrastructure in the application in most cases to protect from those kinds of approaches, we need to go back to the basics and make sure the infrastructure, the application and everything that’s wrapping around this model is actually secured and properly tightened up. And then our attack surface and everything that, you know, we might see there becomes less scary, even though, again, we can still manipulate the model itself. But as long as it doesn’t have anything worth taking out, no secret information, it doesn’t hold keys, it doesn’t have any kind of special capabilities. We should be okay.
Speaker 1: Great. Thanks, Mark. I guess I’ll start with a couple of questions that are directly related to what you just showed and then I’ll broaden the discussion from other questions that have come in. By the way, everybody feel free to post questions. I see some of you are posting. Um, others feel free to post. We’ll start discussing them. Um, but bar as, as we’re looking at these do you guess looking at it from two different angles. Um, a it looks like a lot of these are manipulation or business logic vulnerabilities. Can you talk a bit about that and how they’re different than what we think of as classical technical vulnerabilities? Let’s start there.
Speaker 3: Sure. Um, so when we’re talking about, um, application security testing, we have a few categories for vulnerabilities. One set is what we call business logic based vulnerabilities. So those are not specifically like sending an SQL injection query or an excess payload. It’s more about abusing the capabilities of the system in a way that they didn’t hope, um, that they didn’t hope will happen or didn’t thought it’s going to happen. I guess one of the one of the simplest examples is that you have a website that has a cart and a checkout, and this endpoint actually allows you to, you know, you choose all your items and then you do the checkout. It gives you the sum of all of the information and then you can send it to the server. The server will say, okay, you bought six lasagna rolls, nice, $50. Now we can do we can manipulate that part of the business logic and say, you know what, um, actually, because you’re asking me how many items I want and how much each one of them cost, I can change those numbers so I can remove I can add 200 lasagna rolls, but I can change the the price per 1 to 1 penny. And then obviously this is how the system was designed, right? They designed it to have a selection of items and for us to pass the information of how much each one costs. But they didn’t thought it’s going to be manipulated. Another very similar thing is for, um, there are companies that sell sales leads for sales, for example. Usually you pay per lead and they have a rate limit logic that tells you, you know what, you bought 200 leads. We have pagination. You asked for this company, we only show you ten results. But if you take these ten results limitation from the user side, then the user can just put 10,000 and then I can get ten 10,000 leads in the in the price of one query. This is another way to manipulate how the system was designed, but actually, um, make it malicious or exploit it into my favor.
Speaker 1: Perfect. Good. So let’s take a step back and we’ll bring you back in here. Uh.
Speaker 2: Problem.
Speaker 1: Both of you have scared us to death. Thank you very much. We really appreciate that. I guess the the the main question or the first question and a couple of people posted this is okay, now we’re scared enough. What do we do? What are the mechanisms that we need to put in place in order to protect ourselves in all these different levels? Any recommendations?
Speaker 2: Well, I think, again, it goes back to understanding what’s in your environment. Right. And when you think about the inventory that you take and let’s use something that’s as benign as a endpoint or a PC or a laptop, right? You have the ability to scan your network using Nmap and other types of tools to understand kind of when something needs to be patched or rolled up or rolled out. I think one of the things that people, you know, are not grasping and it’s pretty easy to understand, is that you should think of a model as almost an infrastructure asset that’s in your entire environment. Right? But the challenge is, is that without tools like Protect Ise, you can’t scan for tools. So unlike a computer, if a model is vulnerable anywhere, either upstream in the data, i.e. a data poisoning attack or downstream in the code, we haven’t had the right permissions set. And I loved how Barr said It’s about fixing those things that wrap around that model. You know, if a model is problematic or has a vulnerability, you can’t just patch it. That’s the problem. There’s really no update mechanism, generally speaking. Now there are some tweaks that you can do, but there’s no update that you can go in. You have to go in and first figure out where all those models are, where that model is in all of your environments, staging, prod, you know, model experimentation components, there’s all of these steps that you have to go find where it is. Then you have to think about do I have to delete it, retrain it? Do I have to update it? What are what is the fix that I’m going to employ? But here’s the track. Here’s the key to that. You you cannot currently track without tools like Protect AI. You can’t really track where a model is inside of your environment to triage it if there’s a vulnerability. So basically that means that if you lose track of a model in your environment, you’re pretty much left in limbo knowing that there is a security risk somewhere in your infrastructure, but you have no idea where at all. So we think that it starts by knowing what you have in your ML pipeline, knowing where that is at all times. And so that’s why we start with lineage there. And then what that allows you to do is once you know what’s in it, you can craft policies and gates and control points that limit the potential damage for this because essentially this is the equivalent of dast with a massive exposure and a massive blast radius that isn’t really well contained unless you use tools like Protect in conjunction with tools like. Right. Security. Right. I think it’s not an it’s not an or it’s an and so again, it starts with understanding your entire environment. Tools like right security do a great job of giving you kind of that knowledge, knowing what you have, knowing what you’ve done, knowing where things are in the code pipeline to deploy this safely, you have to add that same capability, that same set of knowledge and and functionality. And that’s where I think, you know, in partnership with Right security and protect, you get that you get that kind of end to end capability across that. So I think it starts with understanding what’s in your environment and then creating policies that you can then add as a way to create a better security posture.
Speaker 1: Yeah. Think maybe a layman term, because that’s my world to put that is you’re looking at prevention and you’re looking at cure, right? What bright does is with diagnosis.
Speaker 2: To right and diagnosis, you can’t treat. I can treat a symptom. But if I don’t have a very effective diagnosis of what the disease is, treating the symptom doesn’t matter if I know it’s just a headache because I had a rough night or I haven’t slept enough and I take medicine, that’s fine. But if I have a consistent, persistent headache, I probably need to get scanned. Right? But the type of scan that you’re doing, if you think about that, an X-ray is going to tell you a certain diagnosis, a Cat scan or a CT scan is going to tell you a second time. An MRI tells you an entirely different third type, and you’re probably going to get all three to get a very comprehensive understanding of what’s going on as to why you might have a headache. Right. And so we would say that just like you’re doing those three different types of scans to diagnose different types of problems and underlying diseases, you have to do the same thing. In the data pipeline and the code pipeline. You need to start doing this in the machine learning pipeline as well.
Speaker 1: Very cool. Guess a different twist on this bar. You gave examples of applications. What’s more and more organizations are using APIs, and those APIs are related to these models. Can you give some examples of how these APIs can be manipulated or how these APIs can be, um, exposed?
Speaker 3: Um, yeah. So I guess another very nice way to, um, um, to actually do these kind of attacks or to abuse APIs is that if your model is just some kind of a web page, um, then you know, you have one problem. You have the web page to secure, you have a web application to secure. But if you’re giving over, um, the access to that model over API, then you’re going into the old API security realm. So now you need to think about rate limiting. You need to think about all of that over top ten of an API that suddenly becomes a problem for you. Um, so it’s not just injections, it’s also, um, old versions. It’s making sure that. All right, so you updated your model, right? Is there inside. So you updated the model. All right. Now you need to do something with this updated model. Um, so you have another v2 on your API, but is your V1 still open? Is your V1 still available for the public? Because then attackers will use the V1 until this is deprecated? Um, this is a very common problem with standard APIs and obviously it can become problem with LMS when they use those kind of approaches. I guess another interesting thing that you can do is again, we’re talking a bit more about the infrastructure. Is that attacks like um, SRF, which you usually you need to find an API endpoint or a part of an application that can execute requests, which is very, very, very uncommon, um, suddenly becomes super common because you have Elm that has agents and plugins and they execute this code and they execute this code where they don’t execute it on your machine, they execute it on their servers. So now all those SRF based attacks to attack the internal infrastructure are open to you like in know an open book. So it’s another layer of problems.
Speaker 2: Um. All right.
Speaker 1: Um, I guess a related question that that somebody brought up is, are their best practices are the things that people can do to just say, hey, in addition to deploying these models, this is what I can do in the infrastructure level. This is what I can do in the application level. This is what I can do in the API level in order to prevent me from being exposed.
Speaker 2: Well, I think the really important distinction here is basically how you are intending to build an LM powered application. So there’s kind of a spectrum here between companies that are at the most bleeding edge and are going to build their own model, feed it it’s own training data set and deploy that model into highly customized code. Like it’s really the apples, the metas, the Microsofts of the world, right? That’s that’s a whole class in and of themselves. My general feeling is that most of the listeners and viewers on this podcast today are basically somewhere in between The next two that I’m going to talk about. And the first is thinking about, Hey, you know what? I’m going to use Lambda two or I’m going to use Falcon or I’m going to use GPT or cohere or anthropic, somebody who’s providing that model. And then I’m going to do some fine grain tuning or I’m going to use another technique like brag to basically boost the performance of that application, if you will. And so in that case, what you’re really doing is you’re kind of complementing and teaching the model new things on the corpus of data that is most relevant to you and your work and your use case, and then taking the output of that model that newly retrained, fine grain tuned trained model and deploying that in your application. And then there’s a third spectrum, which is really about kind of deploying these API services or plugins or the kind of assets in the world where you’re not doing any of that. You’re basically trusting the API, you’re trusting the API provider. They are specializing in that. And I think across all those spectrums it goes back to the fundamental point of knowing what’s in the system. So in other words, if I have been able to set up explicit policies and explicit control points because I’m training my model in a certain way, I need to ensure that only certain people, i.e. permissioning in my environment, Iam roles or Rbac, you really need fine grained access controls over who has access to what data that can actually go into the inputs of that model so differently all the way to the other end of the spectrum where you might have an API and you’re just kind of relying on that and the API provider, you may need to understand what its bill of materials is, what that ingredient and lineage is so that you understand what it’s trained on. You have got an inventory of what its guardrails should look like, of what its capabilities should be. Right now. There’s so many out there that aren’t providing any of this and fundamentally, it comes back to knowing what’s in your environment based on how you are using it and then putting in place the proper controls along those lifecycles, both from the entire end to end application lifecycle as well as the end to end model lifecycle, whether you’re using an API or whether you’re building your own model, you have to have the right policies, gates and controls. And those policies are things like, Hey, was this asset scan, was it checked and is that into my CI flow that allows it to be gated before it goes down further down the stream where nobody else has picked it up? And then last but not least, and all three of those things, whether you are exposing that model beyond your firewall to an endpoint that allows for end customer interaction or whether it’s inside of your firewall and is just really about employees using it, you need to be logging and doing the right things at that endpoint. There are two things that I’ve listed in the chat. One is an article on the first concept I talked about, which is tuning an LM to make it more performant. There’s a really great article on Towards Data Science written by a former employee of mine, Heiko Hotz, who is a really great solution architect from AWS. He wrote a really good article that explains that all the way through to another thing that I was mentioning in the chat, which is our GitHub repo. On regardless of what you’re doing on your LM, you should be deploying something like Rebuff, which is our tool. It’s in link. If you go to GitHub.com Backslash Protect and you click on rebuff, you’ll see it’s a self hardening prompt injection attack tool or defense tool, and that should be put on every endpoint, on every model that you have. And we open source that because we believe in both the security and the safety of generative applications, particularly LMS at this moment in time.
Speaker 1: Excellent. Very good. Barr Anything to add? On the actual prevention front?
Speaker 2: Um.
Speaker 3: I have a, I guess, a nice story. Um, where, um, we had a pen test going on at, um, at a store application. Um, this store allowed you to add an integration with other stores and other vendors, and it did basically zero verification about those integrations. Now, by creating an integration that was in the store, you could have done everything. You could have get the people’s information. If they touch that, you will get their account information, you will get their history, you will get a lot of things. Um, and this is basically what adding an LM in the middle of your integration does. So it’s about going to the basics zero trust, right? It’s not the first thing that not the first time that this concept has been talked about. But think about that you’re giving someone that has zero capability to know good from bad or no what they should do or shouldn’t do. And you start giving them all kinds of games. So this game can send, uh, I don’t know, a nuke to space. This game can delete all of the banks in the world and this one can, I don’t know, stop the rails from working for the trains. Obviously, you wouldn’t do that. So it’s the same concept for LMS. Make sure that the access that is given to the model is very minimal. Only the things that you trust it to do. And even then think about all of the bad, uh, things that it might do. Um, protect the infrastructure, protect the web, protect the APIs, protect everything that supports the model because the LM is an insider threat.
Speaker 2: Well, you know, along those lines. Bah, I really liked what you were talking about from that penetration testing component because it brings to mind kind of what we think of in the tech ops community, and particularly those of us who protect AI. We guide a lot of our customers to not just think of it anymore as purple teaming, where you have red teaming and blue teaming. But we think of it as violet teaming and we call it Violet teaming for two reasons. It’s when you deploy an artificial intelligence application and you’re giving it a lot of agency, meaning it has a lot of freedoms to do, a lot of things with a lot of different types of people. We think you need to bring other functional groups to the safety and security components of how you analyze what an AI application could do by invoking Violet teaming. So it’s not just about the offensive security and the penetration testing and the defensive responses to keep those attackers out and, you know, have a robust component. It’s about bringing in people from HR or people from legal people from compliance who should have a voice at the table as to what this LM or this, you know, high degree of AI powered application with a lot of human like agency could do inside of your environment on its own. And if you don’t implement tools and techniques such as Violet teaming with these types of tools that we have, I think it’s really you’re missing a key point there. So if you’re if you’re used to the kind of purple teaming concept, a great place to start is with ML Ops and thinking of that as a violet teaming capability. And if you’re anyone who wants to learn more, you should go to ML, which is powered and supported by Protect AI at the Community space brand safe space. And I strongly encourage you to join that Slack community, join that Slack channel. There’s a ton of information there, a lot of events and things that just you can learn about from a lot of different vendors.
Speaker 1: Excellent guess one one angle that we didn’t touch on. We’ve talked about the the various areas. So if you are looking at the the coding and the development of the application or the API, how developer centric tasks like Bright can help you with prevention. If you’re looking at the real time protection, how protect I can help you. One one other area that we didn’t really look at is the ongoing monitoring. How can you be alerted if you are exposed? How can you be alerted if the AI model or the model was actually hacked? How can you be notified about that? What can people do to actually know that an oh shit moment has happened? Of the you’re muted.
Speaker 2: Sorry, Gotti. Thanks. It’s a great question. And we know that a log for like Moment or SolarWinds like moment is on the horizon for components. And that’s for two reasons. One, that machine learning pipeline is being built by people who don’t think about security. If you don’t believe me, ask your engineers what they’re doing to secure their systems and then ask the data scientists how they think about security. And they’ll be like, That’s somebody in a job or somebody in InfoSec job. So you have to start thinking about it from that perspective of who’s responsibility is it? But you also have to have tools and techniques and capabilities and assets that feed into that. That’s why we started Hunter Hunter is an bug bounty program on open source because and why starting with open source because over 80% of AI and data applications rely on an open source asset at some level. We like to go around saying there’s no original art in AI. That’s not exactly true. There’s a lot of original art, but it’s inheriting capabilities and things and assets from the open source community at large. So you need custom built tools with custom built awareness tools, techniques and procedures, awareness that actually understand how a traditional RFI type of vulnerability can be exploited in such a way in the system. So again, these are all things that you have to add to what you’re doing today. It’s not that what you’re doing isn’t necessary in the code pipeline data pipeline, it is. It’s very necessary, but it’s insufficient. As an example, a lot of the tools don’t even scan for the assets that are most common in a machine learning environment, and the contextualization of that is also a challenge there.
Speaker 3: So, yeah, maybe just to it. I think that monitoring is, um, you know, again, monitoring is something that always come up when we’re talking about security. Because if you don’t know if something happened, then there is nothing that you’re going to do. Basically, everyone can do whatever they want in your network, your environment. And so it’s very crucial, very important. Um, and it also like, all right, monitor what your model does, but also going back, don’t forget to monitor everything that it has access to. So like what they’re said, just make sure to like monitor everything in order to not be surprised.
Speaker 2: Yeah. And think that again that goes back to you can’t monitor what you don’t know is already in your system right And so if you lose track of a model or you lose track of the assets that were used in training, that model or grading or building that model, if you lose track of that, you have a real problem. So and particularly when we talk about monitoring at an endpoint, right, there’s different types of monitoring, but monitoring at an endpoint. If you think about your AIML elements as a new perimeter of security, the type of monitoring you’re doing for model, say, performance anomalies in a generative AI application like those powered by LMS, it’s really hard to know what is nefarious, what is just kind of a natural consequence of having a creative model out there and what is a mistake or, you know, part industry parlance term, a hallucination. Try using that one with your spouse or your loved one next time you get into an argument. Hey, I’m not wrong. It was just a hallucination and let me know how it goes. But the point of that is, you know, monitoring takes a lot of forms and it requires a lot of things you have to really think through about, do I know what I’m monitoring? Do I know what I’m monitoring for? And do I know how I’m supposed to respond based off of the alert?
Speaker 1: Yeah, I think just to add that it’s, um, Eric just asked a question about this, and I think it’s all about alerting you when something was exposed and having the ability to go in and check and then you will know, right? You can’t actually know if it’s a hallucination or not until you look at it. And if you’re not alerted, you won’t be able to look at it. Marge, you have something, Ned?
Speaker 3: Uh, no. I guess to Eric’s question. So about the specific. The specifics of what he asked.
Speaker 2: Um.
Speaker 3: If the.
Speaker 2: Um.
Speaker 3: If the model hallucinated the vulnerability for you. I guess there is no real to know, um, if you manage to hack it or not. Right. And that’s, that’s a common thing that might happen in a lot of situations. For example, when I played with getting the, um, the secret key from the model, the model started inventing all kinds of keys that were not actual, that were not real or what not or was not in the train data. It’s going to do that. And there’s, you know, it’s part of the technology. Um, when you said it’s not a threat, I don’t know if that is true because think about a situation where that hallucinating model, um, actually have access to critical infrastructure or have access to operating system or can send requests and suddenly you tell it, you know what, go and buy six towels for me from eBay. And, you know, it hallucinates 600 because why not You know, that’s the right that that’s the point of, um, of random reality that it needs in order to learn to be what what it is. So I wouldn’t trust it to be precise. And I would look at it as a threat, depending on what you want to do with it.
Speaker 2: Yeah, we have a more nuanced view, honestly. Right. It’s really important that you understand a hallucination is basically an answer that it’s given to you on a data set that it wasn’t trained on. So if it wasn’t trained on it to begin with and it gives you that answer, the hallucination is that it’s making up something because it’s trying to be it’s like having a child. It always wants to please its parents. It’s like, yes, I’ll tell you whatever. And even though I don’t know what that is, I’m going to give you an answer. If it hasn’t been trained. A hallucination is kind of just like it’s almost a false flag. So what you can do, though, to prevent those, you know, as Eric Dorner mentioned, a false alarm. Right. Or a a false negative or false positive is you can use tools like rebuff at the end where you are logging all of those prompts and flagging them as true. Now, this does require some human in the loop components, but you have to actually invoke that as a process. So again, it goes back to people do have people doing this a process, do have a human in the loop component after the fact of checking those vector databases and flagging them as valid responses or not, and having a tool at that endpoint that is actually logging all of those things to begin with. So you have to have things like a rebuff doing that. You have to have a process in place that says, Hey, we’re going to check these answers and validate these things and you have to have the people, the labelers or somebody checking to flag that as well. So you can’t just think of it in isolation.
Speaker 1: Excellent. Good. Unfortunately, we are at time. There are a bunch more questions that we will follow up on. Thank you very much. Thank you. Bar for everybody on here. I know in the exchange we posted a few links. We will share the recording, but you can also follow both companies right here. And you have all of the information about about our LinkedIn, where we post a lot of relevant information and so does protect. You can go to our blog and protect this blog to get additional information and learn more. And obviously feel free to follow up with us directly if you have any additional questions or if you’re looking to implement models either on the prevention side. So making sure that you’re deploying a developer centric test with Bright or on the protection side and talk to protect AI, we’d love to continue the discussion. This is the first of what I hope will be a series of sessions that we will have to make sure that we continue educating and helping the community around how to better deploy and defend deployments and usability. Thank you very much, everybody.
Speaker 2: Thank you. Guardian Bar for hosting us.
Speaker 3: Thanks, everyone.
Speaker 1: Thanks, guys.