Every practical and proposed defense against prompt injection.
☆724Feb 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☆477Oct 29, 2025Updated 9 months ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆153Apr 15, 2024Updated 2 years ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆76Nov 10, 2025Updated 9 months ago
- Awesome secure by default libraries to help you eliminate bug classes!☆720Dec 6, 2025Updated 8 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆100Jul 2, 2026Updated last month
- 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.
- LLM Prompt Injection Detector☆1,520Aug 7, 2024Updated 2 years ago
- ⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs☆496Jan 31, 2024Updated 2 years ago
- a security scanner for custom LLM applications☆1,250Dec 1, 2025Updated 8 months ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆81Dec 4, 2025Updated 8 months ago
- The Security Toolkit for LLM Interactions☆3,201Jul 8, 2026Updated last month
- ☆159Jul 2, 2024Updated 2 years ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆753Jun 2, 2026Updated 2 months ago
- One Conference 2024☆110Oct 1, 2024Updated last year
- Code for the paper "Defeating Prompt Injections by Design"☆370Jun 20, 2025Updated last year
- 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.
- the LLM vulnerability scanner☆8,836Updated this week
- LLM Testing Findings Templates☆74Feb 14, 2024Updated 2 years ago
- The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and eng…☆4,317Updated this week
- Dropbox LLM Security research code and results☆257May 21, 2024Updated 2 years ago
- PFI: Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents☆31Mar 26, 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☆53May 6, 2026Updated 3 months ago
- Prompt Injection Primer for Engineers☆608Aug 25, 2023Updated 2 years ago
- Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge☆26Apr 9, 2026Updated 4 months ago
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆623Jun 2, 2026Updated 2 months 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.
- PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to a…☆517Apr 27, 2026Updated 3 months ago
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆73May 19, 2026Updated 2 months ago
- ☆395Apr 15, 2026Updated 4 months ago
- ☆40Mar 12, 2025Updated last year
- OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)☆1,365Aug 5, 2026Updated last week
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆140Feb 19, 2025Updated last year
- Make your GenAI Apps Safe & Secure Test & harden your system prompt☆703Feb 16, 2026Updated 6 months ago
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆604Feb 27, 2026Updated 5 months ago
- Papers and resources related to the security and privacy of LLMs 🤖☆581Jun 8, 2025Updated last year
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- New ways of breaking app-integrated LLMs☆2,127Jul 17, 2025Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated 10 months ago
- Do you want to learn AI Security but don't know where to start ? Take a look at this map.☆29Apr 23, 2024Updated 2 years ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆118Sep 27, 2024Updated last year
- MCP security wrapper☆222Apr 14, 2026Updated 4 months ago
- Red-Teaming Language Models with DSPy☆270Feb 13, 2025Updated last year
- Universal and Transferable Attacks on Aligned Language Models☆4,761Aug 2, 2024Updated 2 years ago