Every practical and proposed defense against prompt injection.
☆716Feb 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☆468Oct 29, 2025Updated 8 months ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆149Apr 15, 2024Updated 2 years ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆77Nov 10, 2025Updated 8 months ago
- Awesome secure by default libraries to help you eliminate bug classes!☆715Dec 6, 2025Updated 7 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆98Jul 2, 2026Updated 3 weeks ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- LLM Prompt Injection Detector☆1,515Aug 7, 2024Updated last year
- ⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs☆492Jan 31, 2024Updated 2 years ago
- a security scanner for custom LLM applications☆1,237Dec 1, 2025Updated 7 months ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆80Dec 4, 2025Updated 7 months ago
- The Security Toolkit for LLM Interactions☆3,201Jul 8, 2026Updated 2 weeks ago
- ☆153Jul 2, 2024Updated 2 years ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆690Jun 2, 2026Updated last month
- One Conference 2024☆110Oct 1, 2024Updated last year
- Code for the paper "Defeating Prompt Injections by Design"☆359Jun 20, 2025Updated last year
- 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.
- the LLM vulnerability scanner☆8,609Updated this week
- LLM Testing Findings Templates☆75Feb 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,200Updated this week
- Dropbox LLM Security research code and results☆259May 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 2 months ago
- Prompt Injection Primer for Engineers☆607Aug 25, 2023Updated 2 years ago
- Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge☆25Apr 9, 2026Updated 3 months ago
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆614Jun 2, 2026Updated last month
- 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.
- PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to a…☆513Apr 27, 2026Updated 3 months ago
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆69May 19, 2026Updated 2 months ago
- ☆395Apr 15, 2026Updated 3 months ago
- ☆39Mar 12, 2025Updated last year
- OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)☆1,342Apr 27, 2026Updated 3 months ago
- [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☆700Feb 16, 2026Updated 5 months ago
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆601Feb 27, 2026Updated 5 months ago
- Papers and resources related to the security and privacy of LLMs 🤖☆579Jun 8, 2025Updated last year
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- New ways of breaking app-integrated LLMs☆2,119Jul 17, 2025Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated 9 months ago
- Do you want to learn AI Security but don't know where to start ? Take a look at this map.☆30Apr 23, 2024Updated 2 years ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆116Sep 27, 2024Updated last year
- Red-Teaming Language Models with DSPy☆270Feb 13, 2025Updated last year
- MCP security wrapper☆222Apr 14, 2026Updated 3 months ago
- Universal and Transferable Attacks on Aligned Language Models☆4,749Aug 2, 2024Updated last year