wagner-group / prompt-injection-defenseLinks
Fine-tuning base models to build robust task-specific models
☆34Updated last year
Alternatives and similar repositories for prompt-injection-defense
Users that are interested in prompt-injection-defense are comparing it to the libraries listed below
Sorting:
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆102Updated last year
- ☆73Updated 11 months ago
- ☆97Updated last year
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆67Updated last year
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆107Updated 10 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆179Updated 8 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆76Updated 4 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆54Updated last month
- This is the official Gtihub repo for our paper: "BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Lang…☆20Updated last year
- ☆26Updated 3 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆171Updated last year
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆66Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆79Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆45Updated last year
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆155Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆70Updated 9 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆59Updated last year
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆173Updated 11 months ago
- ☆25Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆25Updated 2 months ago
- [CIKM 2024] Trojan Activation Attack: Attack Large Language Models using Activation Steering for Safety-Alignment.☆29Updated last year
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆60Updated last month
- ☆39Updated last year
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆60Updated 3 months ago
- Awesome Jailbreak, red teaming arxiv papers (Automatically Update Every 12th hours)☆82Updated this week
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆120Updated 9 months ago
- ☆36Updated last year
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆176Updated 8 months ago
- Awesome LLM Jailbreak academic papers☆115Updated 2 years ago
- Repository for "StrongREJECT for Empty Jailbreaks" paper☆149Updated last year