facebookresearch / SecAlign
Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"
☆39Updated 2 months ago
Alternatives and similar repositories for SecAlign:
Users that are interested in SecAlign are comparing it to the libraries listed below
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆30Updated last week
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆63Updated 5 months ago
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆90Updated 10 months ago
- Package to optimize Adversarial Attacks against (Large) Language Models with Varied Objectives☆67Updated last year
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆59Updated 2 months ago
- ☆79Updated last month
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆105Updated 10 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆121Updated 8 months ago
- Independent robustness evaluation of Improving Alignment and Robustness with Short Circuiting☆14Updated 7 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆43Updated 5 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆102Updated last month
- [ICLR 2025] Dissecting Adversarial Robustness of Multimodal LM Agents☆77Updated last month
- ☆167Updated last year
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆49Updated 7 months ago
- [ICLR 2025] Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Rates (Oral)☆74Updated 5 months ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆112Updated this week
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆48Updated 3 weeks ago
- The official repository of the paper "On the Exploitability of Instruction Tuning".☆61Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆57Updated 4 months ago
- Weak-to-Strong Jailbreaking on Large Language Models☆72Updated last year
- LLM Self Defense: By Self Examination, LLMs know they are being tricked☆32Updated 10 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆48Updated 5 months ago
- ☆31Updated last year
- ☆53Updated 2 years ago
- ICLR2024 Paper. Showing properties of safety tuning and exaggerated safety.☆78Updated 10 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆48Updated 6 months ago
- ☆42Updated last month
- Awesome Jailbreak, red teaming arxiv papers (Automatically Update Every 12th hours)☆22Updated this week
- ☆19Updated 2 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆145Updated 10 months ago