Every practical and proposed defense against prompt injection.
☆729Feb 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☆489Oct 29, 2025Updated 10 months ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆157Apr 15, 2024Updated 2 years ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆78Nov 10, 2025Updated 9 months ago
- Awesome secure by default libraries to help you eliminate bug classes!☆723Dec 6, 2025Updated 9 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆102Jul 2, 2026Updated 2 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.
- LLM Prompt Injection Detector☆1,522Aug 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,264Dec 1, 2025Updated 9 months ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆83Dec 4, 2025Updated 9 months ago
- The Security Toolkit for LLM Interactions☆3,204Jul 8, 2026Updated last month
- ☆167Jul 2, 2024Updated 2 years ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆805Jun 2, 2026Updated 3 months ago
- One Conference 2024☆110Oct 1, 2024Updated last year
- Code for the paper "Defeating Prompt Injections by Design"☆384Jun 20, 2025Updated last year
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- the LLM vulnerability scanner☆9,124Updated 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,410Updated 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☆54May 6, 2026Updated 4 months ago
- Prompt Injection Primer for Engineers☆612Aug 25, 2023Updated 3 years ago
- Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge☆26Apr 9, 2026Updated 4 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…☆521Apr 27, 2026Updated 4 months ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆630Jun 2, 2026Updated 3 months ago
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆77May 19, 2026Updated 3 months ago
- ☆397Apr 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,385Aug 5, 2026Updated last month
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆144Feb 19, 2025Updated last year
- Make your GenAI Apps Safe & Secure Test & harden your system prompt☆707Aug 19, 2026Updated 2 weeks ago
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆607Feb 27, 2026Updated 6 months ago
- Papers and resources related to the security and privacy of LLMs 🤖☆582Jun 8, 2025Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- New ways of breaking app-integrated LLMs☆2,137Jul 17, 2025Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated 11 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☆223Apr 14, 2026Updated 4 months ago
- Red-Teaming Language Models with DSPy☆271Feb 13, 2025Updated last year
- Universal and Transferable Attacks on Aligned Language Models☆4,781Aug 2, 2024Updated 2 years ago