lapisrocks / rpoLinks
Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"
☆58Updated last year
Alternatives and similar repositories for rpo
Users that are interested in rpo are comparing it to the libraries listed below
Sorting:
- Code and data to go with the Zhu et al. paper "An Objective for Nuanced LLM Jailbreaks"☆34Updated 9 months ago
- Official repository for ICML 2024 paper "On Prompt-Driven Safeguarding for Large Language Models"☆97Updated 4 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆62Updated 7 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆22Updated last year
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆57Updated 3 weeks ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆71Updated 11 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆35Updated last year
- Code for ICLR 2025 Failures to Find Transferable Image Jailbreaks Between Vision-Language Models☆31Updated 4 months ago
- ☆63Updated 6 months ago
- This is the starter kit for the Trojan Detection Challenge 2023 (LLM Edition), a NeurIPS 2023 competition.☆89Updated last year
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆52Updated this week
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆91Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆165Updated last year
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆18Updated 5 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆65Updated 8 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆60Updated last year
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks☆18Updated last year
- Official implementation of ICLR'24 paper, "Curiosity-driven Red Teaming for Large Language Models" (https://openreview.net/pdf?id=4KqkizX…☆82Updated last year
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆29Updated last year
- ☆104Updated 8 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆43Updated last year
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆28Updated last year
- ☆108Updated last year
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆86Updated 5 months ago
- ☆184Updated last year
- Code for our paper "Defending ChatGPT against Jailbreak Attack via Self-Reminder" in NMI.☆53Updated last year
- ☆34Updated last year
- Code and dataset for the paper: "Can Editing LLMs Inject Harm?"☆21Updated 10 months ago
- ☆23Updated 9 months ago
- Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM☆36Updated 8 months ago