From the course: Introduction to LLM Vulnerabilities

Unlock this course with a free trial

Join today to access over 23,400 courses taught by industry experts.

Application vulnerabilities

Application vulnerabilities

- One approach when having application vulnerabilities is to make sure that your dependencies are correctly updated and you are on the constant lookout for potential vulnerabilities. I have here an example repository where I'm chatting with local large language models. Now in this case, I don't have the models locally or running within the application, but let's take a quick look at what this repository is doing. So I'm going to head over to the examples and in here, I'm going to go into simple and I'm going to click on chat.py. So in here you, you can see that I'm using the OpenAI library and I am already making use of some of the dependencies. So whenever there's dependencies involved, like in this case OpenAI, you have to be on the constant lookout for potential problems. So let's take another look here at some of the other examples that I have. In this case, I'm going to show you one of the APIs that I have here. And in this case, I have requirements. And these requirements will…

Contents