Every practical and proposed defense against prompt injection.
☆739Feb 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☆506Sep 27, 2026Updated 3 weeks ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆160Apr 15, 2024Updated 2 years ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆79Nov 10, 2025Updated 11 months ago
- Awesome secure by default libraries to help you eliminate bug classes!☆723Dec 6, 2025Updated 10 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆102Jul 2, 2026Updated 3 months ago
- 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.
- ⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs☆506Jan 31, 2024Updated 2 years ago
- LLM Prompt Injection Detector☆1,529Aug 7, 2024Updated 2 years ago
- a security scanner for custom LLM applications☆1,283Dec 1, 2025Updated 10 months ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆88Dec 4, 2025Updated 10 months ago
- The Security Toolkit for LLM Interactions☆3,216Jul 8, 2026Updated 3 months ago
- ☆176Jul 2, 2024Updated 2 years ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆928Jun 2, 2026Updated 4 months ago
- Code for the paper "Defeating Prompt Injections by Design"☆407Jun 20, 2025Updated last year
- One Conference 2024☆110Oct 1, 2024Updated 2 years 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.
- the LLM vulnerability scanner☆9,602Updated this week
- Prompt Injection Primer for Engineers☆614Aug 25, 2023Updated 3 years ago
- The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and eng…☆4,643Updated this week
- LLM Testing Findings Templates☆74Feb 14, 2024Updated 2 years ago
- Dropbox LLM Security research code and results☆257May 21, 2024Updated 2 years 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☆57May 6, 2026Updated 5 months ago
- PFI: Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents☆32Mar 26, 2025Updated last year
- Code for the API, workload execution, and agents underlying the LLMail-Inject Adpative Prompt Injection Challenge☆27Updated this week
- PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to a…☆528Apr 27, 2026Updated 5 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆85May 19, 2026Updated 4 months ago
- OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)☆1,453Aug 5, 2026Updated 2 months ago
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆635Jun 2, 2026Updated 4 months ago
- ☆42Mar 12, 2025Updated last year
- ☆401Apr 15, 2026Updated 6 months ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆146Feb 19, 2025Updated last year
- Make your GenAI Apps Safe & Secure Test & harden your system prompt☆717Aug 19, 2026Updated last month
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆608Feb 27, 2026Updated 7 months ago
- Papers and resources related to the security and privacy of LLMs 🤖☆583Jun 8, 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.
- New ways of breaking app-integrated LLMs☆2,150Jul 17, 2025Updated last year
- Universal and Transferable Attacks on Aligned Language Models☆4,835Aug 2, 2024Updated 2 years ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated last year
- 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 2 years ago
- MCP security wrapper☆226Apr 14, 2026Updated 6 months ago
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆167Nov 30, 2024Updated last year