Every practical and proposed defense against prompt injection.
☆696Feb 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☆448Oct 29, 2025Updated 7 months ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆76Dec 4, 2025Updated 5 months ago
- ⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs☆480Jan 31, 2024Updated 2 years ago
- Awesome secure by default libraries to help you eliminate bug classes!☆708Dec 6, 2025Updated 5 months ago
- LLM Prompt Injection Detector☆1,491Aug 7, 2024Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆130Apr 15, 2024Updated 2 years ago
- One Conference 2024☆110Oct 1, 2024Updated last year
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆96May 6, 2026Updated 3 weeks ago
- Proof of concept for an anti-phishing browser plugin, working by comparing pages screenshots with perceptual hashing algorithms.☆10Apr 3, 2022Updated 4 years ago
- Dropbox LLM Security research code and results☆259May 21, 2024Updated 2 years ago
- a security scanner for custom LLM applications☆1,200Dec 1, 2025Updated 5 months ago
- Papers and resources related to the security and privacy of LLMs 🤖☆578Jun 8, 2025Updated 11 months ago
- Practical resources for offensive CI/CD security research. Curated the best resources I've seen since 2021.☆600Feb 12, 2026Updated 3 months ago
- LLM Testing Findings Templates☆74Feb 14, 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.
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆581Mar 30, 2026Updated 2 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆112Sep 27, 2024Updated last year
- The Security Toolkit for LLM Interactions☆3,008Dec 15, 2025Updated 5 months ago
- ☆390Apr 15, 2026Updated last month
- Do you want to learn AI Security but don't know where to start ? Take a look at this map.☆31Apr 23, 2024Updated 2 years ago
- Red-Teaming Language Models with DSPy☆258Feb 13, 2025Updated last year
- the LLM vulnerability scanner☆7,882May 21, 2026Updated last week
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆54May 19, 2026Updated last week
- The Python Risk Identification Tool for generative AI (PyRIT) is an open source framework built to empower security professionals and eng…☆3,875Updated this week
- 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.
- Prompt Injection Primer for Engineers☆590Aug 25, 2023Updated 2 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…☆494Apr 27, 2026Updated last month
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆162Nov 30, 2024Updated last year
- OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)☆1,264Apr 27, 2026Updated last month
- Use AI to Scan Your Code from the Command Line for security and code smells. Bring your own keys. Supports OpenAI and Gemini☆175Apr 23, 2025Updated last year
- New ways of breaking app-integrated LLMs☆2,097Jul 17, 2025Updated 10 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆71Oct 23, 2024Updated last year
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆137Feb 19, 2025Updated last year
- [ICML 2025] UDora: A Unified Red Teaming Framework against LLM Agents☆36Jun 24, 2025Updated 11 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.
- Universal and Transferable Attacks on Aligned Language Models☆4,683Aug 2, 2024Updated last year
- A curation of awesome tools, documents and projects about LLM Security.☆1,598Aug 20, 2025Updated 9 months ago
- Make your GenAI Apps Safe & Secure Test & harden your system prompt☆684Feb 16, 2026Updated 3 months ago
- ☆25Jan 17, 2025Updated last year
- Official repo for GPTFUZZER : Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts☆584Feb 27, 2026Updated 3 months ago
- Gram is Klarna's own threat model diagramming tool☆334May 22, 2026Updated last week
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆385Jan 23, 2025Updated last year