Skip to content

vicevirus/prompt-injection-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prompt-injection-lab

Welcome to prompt-injection-lab, a project focused on prompt injection lab.

Introduction

The prompt-injection-lab project aims to provide a hands-on learning experience for prompt injection techniques. Prompt injection is a security vulnerability that occurs when an application fails to properly sanitize user input before using it in a command prompt or shell. This can lead to various security risks, such as command injection, remote code execution, or privilege escalation.

In this project, we are exploring different techniques to enhance the security of a web application against prompt injection. Initially, the web app is vulnerable to Server-Side Template Injection (SSTI) in the response output.

Labs

By default this lab uses Google Gemini. Why? cuz it's free 😂

Deployment Notes

Please note that for the Rebuff and Guardrails-AI labs, some dependencies and official documentation may be outdated. However, I have made every effort to ensure that they still work.

To ensure a smooth experience, please refer to the README.md and requirements.txt files for each lab. They contain important information and instructions to help you get started.

If you encounter any issues or have any questions, please don't hesitate to reach out for assistance.

Getting Started

To get started with prompt-injection-lab, please follow the instructions below:

  1. Check out each lab folders README.md
  2. Enjoy!

Contributing

We welcome contributions from the community to enhance the prompt-injection-lab project. If you have any suggestions, bug reports, or would like to contribute code, please refer to our Contribution Guidelines.

License

prompt-injection-lab is released under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published