Sizhe-Chen / StruQ
official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆30Updated last week
Alternatives and similar repositories for StruQ:
Users that are interested in StruQ are comparing it to the libraries listed below
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆63Updated 5 months ago
- ☆79Updated last month
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆59Updated 2 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆39Updated 2 months ago
- Code for the paper "BadPrompt: Backdoor Attacks on Continuous Prompts"☆36Updated 8 months ago
- ☆42Updated last month
- ☆19Updated 2 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆43Updated 5 months ago
- [ICLR 2025] Dissecting Adversarial Robustness of Multimodal LM Agents☆77Updated last month
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆48Updated 7 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆48Updated 5 months ago
- ☆19Updated 3 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆19Updated 7 months ago
- TrustAgent: Towards Safe and Trustworthy LLM-based Agents☆38Updated last month
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆102Updated 2 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆50Updated 7 months ago
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks☆16Updated 11 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆49Updated 3 weeks ago
- Agent Security Bench (ASB)☆66Updated last week
- ☆31Updated last year
- ☆35Updated 7 months ago
- ☆53Updated 2 years ago
- [ICLR'24] RAIN: Your Language Models Can Align Themselves without Finetuning☆89Updated 10 months ago
- ☆18Updated 5 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆48Updated 11 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆52Updated 4 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆49Updated 7 months ago
- Awesome Jailbreak, red teaming arxiv papers (Automatically Update Every 12th hours)☆22Updated this week
- ☆42Updated last year
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆79Updated 2 months ago