facebookresearch / SecAlign
Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"
☆45Updated last month
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☆33Updated 2 weeks ago
- ICLR2024 Paper. Showing properties of safety tuning and exaggerated safety.☆82Updated 11 months ago
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆92Updated 11 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆61Updated 3 months ago
- Package to optimize Adversarial Attacks against (Large) Language Models with Varied Objectives☆68Updated last year
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆72Updated 7 months ago
- ☆81Updated 3 months ago
- Weak-to-Strong Jailbreaking on Large Language Models☆73Updated last year
- [ICLR 2025] Cheating Automatic LLM Benchmarks: Null Models Achieve High Win Rates (Oral)☆77Updated 6 months ago
- ☆54Updated 2 years ago
- [ICLR 2025] Dissecting Adversarial Robustness of Multimodal LM Agents☆82Updated 2 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆129Updated 9 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆50Updated 8 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…☆113Updated last year
- Röttger et al. (NAACL 2024): "XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models"☆95Updated 2 months ago
- ☆31Updated last month
- A novel approach to improve the safety of large language models, enabling them to transition effectively from unsafe to safe state.☆59Updated 3 months ago
- [ICLR'24 Spotlight] A language model (LM)-based emulation framework for identifying the risks of LM agents with tool use☆142Updated last year
- The official repository of the paper "On the Exploitability of Instruction Tuning".☆62Updated last year
- ☆23Updated 7 months ago
- ☆18Updated 6 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆46Updated 6 months ago
- ☆170Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆51Updated 8 months ago
- Independent robustness evaluation of Improving Alignment and Robustness with Short Circuiting☆16Updated 3 weeks ago
- [ICLR 2025] Official Repository for "Tamper-Resistant Safeguards for Open-Weight LLMs"☆54Updated 2 months ago
- ☆31Updated last year
- ☆14Updated last month
- ☆20Updated 3 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆20Updated 5 months ago