Sizhe-Chen / StruQLinks
official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆39Updated 3 weeks ago
Alternatives and similar repositories for StruQ
Users that are interested in StruQ are comparing it to the libraries listed below
Sorting:
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆50Updated 2 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆80Updated 8 months ago
- ☆88Updated 4 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆22Updated 7 months ago
- ☆44Updated 4 months ago
- ☆34Updated 2 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆61Updated 5 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆53Updated 10 months ago
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆36Updated 11 months ago
- ☆39Updated 7 months ago
- ☆39Updated 10 months ago
- [CCS 2024] Optimization-based Prompt Injection Attack to LLM-as-a-Judge☆25Updated 7 months ago
- ☆20Updated 6 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆51Updated 8 months ago
- Code and data to go with the Zhu et al. paper "An Objective for Nuanced LLM Jailbreaks"☆32Updated 6 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆33Updated last year
- ☆21Updated 5 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆55Updated 3 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆65Updated 7 months ago
- ☆101Updated last year
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆91Updated 4 months ago
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆67Updated last month
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆55Updated last year
- Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM☆31Updated 5 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆52Updated 10 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆20Updated 11 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆56Updated 7 months ago
- [ICLR24] Official Repo of BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models☆37Updated 11 months ago
- ☆20Updated last year
- ☆25Updated 8 months ago