wagner-group / prompt-injection-defense
Fine-tuning base models to build robust task-specific models
☆27Updated 11 months ago
Alternatives and similar repositories for prompt-injection-defense:
Users that are interested in prompt-injection-defense are comparing it to the libraries listed below
- ☆55Updated 8 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆43Updated 5 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆63Updated 5 months ago
- This is the official Gtihub repo for our paper: "BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Lang…☆15Updated 8 months ago
- ☆43Updated 10 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆48Updated 5 months ago
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆31Updated 2 weeks ago
- ☆12Updated 3 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆35Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆57Updated 4 months ago
- ☆19Updated 2 months ago
- Awesome Jailbreak, red teaming arxiv papers (Automatically Update Every 12th hours)☆22Updated this week
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆48Updated 6 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆20Updated 4 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆102Updated last month
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆48Updated 3 weeks ago
- Agent Security Bench (ASB)☆66Updated this week
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆142Updated 3 months ago
- ☆38Updated 4 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆49Updated 7 months ago
- [ICLR24] Official Repo of BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models☆31Updated 8 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆50Updated 7 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆30Updated last week
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆79Updated 2 months ago
- [NAACL2024] Attacks, Defenses and Evaluations for LLM Conversation Safety: A Survey☆91Updated 7 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆32Updated last year
- ☆19Updated last year
- ☆79Updated last month
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆145Updated 10 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆59Updated 2 months ago