poloclub / llm-self-defense
LLM Self Defense: By Self Examination, LLMs know they are being tricked
☆31Updated 7 months ago
Alternatives and similar repositories for llm-self-defense:
Users that are interested in llm-self-defense are comparing it to the libraries listed below
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆89Updated 3 weeks ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆39Updated 2 months ago
- Repo for the research paper "Aligning LLMs to Be Robust Against Prompt Injection"☆32Updated last month
- Code to generate NeuralExecs (prompt injection for LLMs)☆17Updated last month
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆60Updated 3 months ago
- Package to optimize Adversarial Attacks against (Large) Language Models with Varied Objectives☆66Updated 10 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆25Updated last month
- A collection of automated evaluators for assessing jailbreak attempts.☆92Updated last week
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆48Updated 5 months ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆74Updated this week
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆112Updated 5 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆48Updated 5 months ago
- ☆39Updated last year
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆53Updated 9 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆44Updated 3 months ago
- ☆158Updated last year
- A novel approach to improve the safety of large language models, enabling them to transition effectively from unsafe to safe state.☆58Updated 2 weeks ago
- ☆76Updated last year
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆53Updated last month
- JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and further assess …☆44Updated 6 months ago
- ☆30Updated 5 months ago
- ☆89Updated last year
- BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks on Large Language Models☆94Updated this week
- ☆66Updated 2 months ago
- ☆36Updated 2 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆127Updated last month
- ☆51Updated last year
- The official repository of the paper "On the Exploitability of Instruction Tuning".☆58Updated 11 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆66Updated last month
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks☆16Updated 8 months ago