Sizhe-Chen / StruQLinks
official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆48Updated 3 months ago
Alternatives and similar repositories for StruQ
Users that are interested in StruQ 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]☆93Updated last year
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆72Updated 3 months ago
- ☆111Updated last year
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆74Updated 11 months ago
- ☆108Updated 8 months ago
- ☆41Updated 6 months ago
- ☆35Updated last year
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆60Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆58Updated last year
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆35Updated 2 years ago
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆79Updated 5 months ago
- ☆39Updated 11 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆168Updated last year
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆110Updated 8 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆102Updated 9 months ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆53Updated 3 weeks ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆44Updated last year
- Code for Voice Jailbreak Attacks Against GPT-4o.☆36Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆62Updated 7 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆60Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆25Updated 3 weeks ago
- ☆82Updated last month
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆160Updated 6 months ago
- Fingerprint large language models☆44Updated last year
- [CCS 2024] Optimization-based Prompt Injection Attack to LLM-as-a-Judge☆31Updated last month
- ☆63Updated 6 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆64Updated last year
- ☆17Updated 4 months ago
- The official repository for guided jailbreak benchmark☆24Updated 2 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆177Updated 4 months ago