facebookresearch / SecAlignLinks
Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"
☆75Updated 3 months ago
Alternatives and similar repositories for SecAlign
Users that are interested in SecAlign are comparing it to the libraries listed below
Sorting:
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆98Updated last year
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆51Updated this week
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆169Updated last year
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆163Updated 7 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆25Updated last month
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆146Updated last year
- ☆111Updated 2 years ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆113Updated 8 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆105Updated 9 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆75Updated last year
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆65Updated 10 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆61Updated last year
- ☆188Updated last year
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆172Updated 7 months ago
- ☆110Updated 9 months ago
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆54Updated 4 months ago
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆153Updated 11 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆58Updated 2 months ago
- [CCS 2024] Optimization-based Prompt Injection Attack to LLM-as-a-Judge☆35Updated last month
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆88Updated 6 months ago
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆89Updated 3 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆65Updated 8 months ago
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆168Updated 10 months ago
- ☆39Updated last year
- ☆36Updated last year
- The official repository for guided jailbreak benchmark☆24Updated 3 months ago
- ☆153Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆59Updated last year
- ☆67Updated 10 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆64Updated last year