facebookresearch / SecAlign
Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"
☆37Updated 3 weeks ago
Alternatives and similar repositories for SecAlign:
Users that are interested in SecAlign are comparing it to the libraries listed below
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆117Updated 7 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆56Updated last month
- Package to optimize Adversarial Attacks against (Large) Language Models with Varied Objectives☆66Updated 11 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆27Updated 2 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆40Updated 3 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆49Updated 6 months ago
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆94Updated this week
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆60Updated 4 months ago
- ☆74Updated 2 weeks ago
- [ICLR 2025] Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Rates (Oral)☆70Updated 3 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆92Updated 3 weeks ago
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆89Updated 8 months ago
- [Arxiv 2024] Dissecting Adversarial Robustness of Multimodal LM Agents☆60Updated last month
- Independent robustness evaluation of Improving Alignment and Robustness with Short Circuiting☆14Updated 6 months ago
- ☆17Updated 3 months ago
- ☆91Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆55Updated 3 months ago
- A novel approach to improve the safety of large language models, enabling them to transition effectively from unsafe to safe state.☆58Updated 3 weeks ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆19Updated 6 months ago
- WMDP is a LLM proxy benchmark for hazardous knowledge in bio, cyber, and chemical security. We also release code for RMU, an unlearning m…☆101Updated 9 months ago
- SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal Behaviors☆43Updated 7 months ago
- ☆163Updated last year
- Weak-to-Strong Jailbreaking on Large Language Models☆72Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆140Updated 9 months ago
- The official repository of the paper "On the Exploitability of Instruction Tuning".☆58Updated last year
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆47Updated 4 months ago
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆26Updated 2 months ago
- ICLR2024 Paper. Showing properties of safety tuning and exaggerated safety.☆77Updated 9 months ago
- A toolkit to assess data privacy in LLMs (under development)☆49Updated last month
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆77Updated last month