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 implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆61Updated 2 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆151Updated last year
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆197Updated 9 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆174Updated last year
- ☆193Updated 2 years ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆109Updated last year
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆123Updated 11 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆84Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Updated 4 months ago
- ☆120Updated 2 years ago
- ☆114Updated last year
- ☆121Updated last year
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆184Updated 10 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆111Updated last year
- ☆47Updated this week
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆65Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆74Updated 11 months 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
- ☆37Updated last year
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆64Updated 2 months ago
- The official repository for guided jailbreak benchmark☆28Updated 6 months ago
- [ICML 2025] Weak-to-Strong Jailbreaking on Large Language Models☆92Updated 9 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆61Updated last year
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆66Updated last year
- ☆162Updated last year
- Official Repository for The Paper: Safety Alignment Should Be Made More Than Just a Few Tokens Deep☆172Updated 9 months ago
- ☆174Updated 3 months ago
- ☆40Updated last year
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆23Updated last year