poloclub / llm-self-defenseLinks
LLM Self Defense: By Self Examination, LLMs know they are being tricked
☆41Updated last year
Alternatives and similar repositories for llm-self-defense
Users that are interested in llm-self-defense are comparing it to the libraries listed below
Sorting:
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆165Updated 4 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆162Updated 7 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆52Updated 9 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆159Updated last year
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆85Updated 10 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆95Updated 6 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆68Updated 9 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆182Updated 8 months ago
- ☆179Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆42Updated last year
- ☆104Updated last year
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆144Updated 8 months ago
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆79Updated 5 months ago
- ☆144Updated 11 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆63Updated 2 weeks ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆137Updated 3 months ago
- JailbreakBench: An Open Robustness Benchmark for Jailbreaking Language Models [NeurIPS 2024 Datasets and Benchmarks Track]☆384Updated 4 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆25Updated last year
- ☆39Updated 9 months ago
- [arXiv:2311.03191] "DeepInception: Hypnotize Large Language Model to Be Jailbreaker"☆160Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆56Updated last year
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆141Updated last year
- ☆60Updated 7 months ago
- Unofficial implementation of "Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection"☆20Updated last year
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆54Updated 11 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆65Updated 6 months ago
- We jailbreak GPT-3.5 Turbo’s safety guardrails by fine-tuning it on only 10 adversarially designed examples, at a cost of less than $0.20…☆317Updated last year
- Code and data of the EMNLP 2022 paper "Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversaria…☆54Updated 2 years ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆58Updated 5 months ago
- ☆22Updated last year