Every practical and proposed defense against prompt injection.
☆742Feb 22, 2025Updated last year
Alternatives and similar repositories for prompt-injection-defenses
Users that are interested in prompt-injection-defenses are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- This repository provides a benchmark for prompt injection attacks and defenses in LLMs☆517Sep 27, 2026Updated 2 months ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆162Apr 15, 2024Updated 2 years ago
- LLM Prompt Injection Detector☆1,533Aug 7, 2024Updated 2 years ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆82Nov 10, 2025Updated last year
- Awesome secure by default libraries to help you eliminate bug classes!☆724Dec 6, 2025Updated 11 months ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- ⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs☆513Jan 31, 2024Updated 2 years ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆106Jul 2, 2026Updated 4 months ago
- a security scanner for custom LLM applications☆1,299Dec 1, 2025Updated 11 months ago
- The Security Toolkit for LLM Interactions☆3,223Jul 8, 2026Updated 4 months ago
- ☆191Jul 2, 2024Updated 2 years ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆90Dec 4, 2025Updated 11 months ago
- ☆13Mar 22, 2025Updated last year
- LLM Testing Findings Templates☆73Feb 14, 2024Updated 2 years ago
- One Conference 2024☆109Oct 1, 2024Updated 2 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Dropbox LLM Security research code and results☆259May 21, 2024Updated 2 years ago
- Code for the paper "Defeating Prompt Injections by Design"☆427Jun 20, 2025Updated last year
- Prompt Injection Primer for Engineers☆614Aug 25, 2023Updated 3 years ago
- the LLM vulnerability scanner☆10,197Updated this week
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆1,079Jun 2, 2026Updated 5 months ago
- PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to a…☆532Apr 27, 2026Updated 7 months ago
- PFI: Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents☆32Mar 26, 2025Updated last year
- New ways of breaking app-integrated LLMs☆2,154Jul 17, 2025Updated last year
- Open-source AI red teaming toolkit from Microsoft. Test generative AI systems with automated scans, adaptive multi-turn attacks, and a we…☆5,114Updated this week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Make your GenAI Apps Safe & Secure Test & harden your system prompt☆719Aug 19, 2026Updated 3 months ago
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆612Feb 27, 2026Updated 9 months ago
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆644Jun 2, 2026Updated 5 months ago
- OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)☆1,514Aug 5, 2026Updated 3 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆119Sep 27, 2024Updated 2 years ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆147Feb 19, 2025Updated last year
- Official release of code for the paper RL is a hammer and LLMs are nails A simple RL approach to stronger prompt injection attacks☆61May 6, 2026Updated 6 months ago
- ☆42Mar 12, 2025Updated last year
- ☆403Apr 15, 2026Updated 7 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- A curation of awesome tools, documents and projects about LLM Security.☆1,725Aug 20, 2025Updated last year
- Set of tools to assess and improve LLM security.☆4,496Nov 20, 2026Updated last week
- Universal and Transferable Attacks on Aligned Language Models☆4,873Aug 2, 2024Updated 2 years ago
- Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge☆29Nov 1, 2026Updated 3 weeks ago
- MCP security wrapper☆228Apr 14, 2026Updated 7 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated last year
- Repo for the paper "Defending Against Prompt Injection With a Few DefensiveTokens"☆19Nov 10, 2025Updated last year
Are these results useful?