facebookresearch / SecAlignLinks
Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"
☆83Updated 6 months ago
Alternatives and similar repositories for SecAlign
Users that are interested in SecAlign are comparing it to the libraries listed below
Sorting:
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆153Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆174Updated last year
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆61Updated 2 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆197Updated 9 months ago
- ☆120Updated 2 years ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Updated 4 months ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆123Updated 11 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆110Updated last year
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆184Updated 10 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆107Updated last year
- ☆121Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆83Updated last year
- ☆193Updated 2 years ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆68Updated last year
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆61Updated 4 months ago
- ☆47Updated 2 weeks ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆74Updated 11 months ago
- ☆37Updated last year
- [CCS 2024] Optimization-based Prompt Injection Attack to LLM-as-a-Judge☆39Updated 4 months ago
- The official repository for guided jailbreak benchmark☆28Updated 6 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆60Updated last year
- ☆162Updated last year
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆64Updated 2 months ago
- ☆40Updated last year
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆92Updated 9 months ago
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆160Updated last year
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆66Updated last year
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆93Updated 5 months ago
- ☆114Updated last year
- We jailbreak GPT-3.5 Turbo’s safety guardrails by fine-tuning it on only 10 adversarially designed examples, at a cost of less than $0.20…☆338Updated last year