A framework that finds and masks personal data in text, images and tables. It detects the data, then redacts or replaces it so it can be safely sent to a model.
Securityutkusen
promptmap
An automated prompt injection scanner for your own LLM applications. It sends attack prompts and checks whether the model gave in.
Who it is for
For people who built their own bot and want to test it for prompt injection.
How to start
- Clone the repo:
git clone https://github.com/utkusen/promptmap.git - Install dependencies:
pip install -r requirements.txt - Run a scan:
python3 promptmap2.py --target-model gpt-3.5-turbo --target-model-type openai
Steps are taken from the README. Check the current version in the repository before running them.
Stars over the last 30 days
Author's description
a security scanner for custom LLM applications
More in «Security»
A vulnerability scanner for LLMs: it runs a model through a set of probes for prompt injection, data leakage, toxicity and other failures. Works as a command-line tool.
A Python framework that checks LLM inputs and outputs with ready validators from Guardrails Hub and helps produce structured answers. It catches risks before a reply reaches the user.
NVIDIA's toolkit for programmable rails in LLM-based conversational systems. Rules live in config and control what the bot talks about and does.
Microsoft's framework for proactively finding risks in generative AI systems. It helps automate red teaming against models and applications.
Meta's generative AI safety project: the Llama Guard and Prompt Guard filter models, the Code Shield scanner and the CyberSec Eval test suites. It pairs defense with attack-based testing.
