Every practical and proposed defense against prompt injection.
☆741Feb 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☆511Sep 27, 2026Updated last month
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆161Apr 15, 2024Updated 2 years ago
- LLM Prompt Injection Detector☆1,532Aug 7, 2024Updated 2 years ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆80Nov 10, 2025Updated 11 months ago
- Awesome secure by default libraries to help you eliminate bug classes!☆723Dec 6, 2025Updated 11 months ago
- 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.
- ⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs☆509Jan 31, 2024Updated 2 years ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆104Jul 2, 2026Updated 4 months ago
- a security scanner for custom LLM applications☆1,294Dec 1, 2025Updated 11 months ago
- The Security Toolkit for LLM Interactions☆3,219Jul 8, 2026Updated 3 months ago
- ☆186Jul 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☆74Feb 14, 2024Updated 2 years ago
- One Conference 2024☆110Oct 1, 2024Updated 2 years ago
- 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.
- Dropbox LLM Security research code and results☆258May 21, 2024Updated 2 years ago
- Code for the paper "Defeating Prompt Injections by Design"☆418Jun 20, 2025Updated last year
- the LLM vulnerability scanner☆9,900Updated this week
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆994Jun 2, 2026Updated 5 months ago
- Prompt Injection Primer for Engineers☆615Aug 25, 2023Updated 3 years ago
- PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to a…☆529Apr 27, 2026Updated 6 months ago
- New ways of breaking app-integrated LLMs☆2,152Jul 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…☆4,760Updated this week
- PFI: Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents☆32Mar 26, 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.
- Make your GenAI Apps Safe & Secure Test & harden your system prompt☆719Aug 19, 2026Updated 2 months ago
- OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)☆1,479Aug 5, 2026Updated 3 months ago
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆607Feb 27, 2026Updated 8 months ago
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆638Jun 2, 2026Updated 5 months ago
- 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
- Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge☆28Updated this week
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆118Sep 27, 2024Updated 2 years ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆146Feb 19, 2025Updated last year
- ☆42Mar 12, 2025Updated last year
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- ☆402Apr 15, 2026Updated 6 months ago
- A curation of awesome tools, documents and projects about LLM Security.☆1,720Aug 20, 2025Updated last year
- Set of tools to assess and improve LLM security.☆4,466Oct 30, 2026Updated last week
- Universal and Transferable Attacks on Aligned Language Models☆4,852Aug 2, 2024Updated 2 years ago
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆91May 19, 2026Updated 5 months ago
- MCP security wrapper☆228Apr 14, 2026Updated 6 months ago
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆168Nov 30, 2024Updated last year