Sizhe-Chen / StruQLinks
official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆44Updated last week
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]☆84Updated 10 months ago
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆62Updated last week
- ☆96Updated 6 months ago
- ☆29Updated 10 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆134Updated 3 months ago
- ☆39Updated 9 months ago
- ☆37Updated 4 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆160Updated last year
- ☆19Updated 2 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆69Updated 9 months ago
- ☆104Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆56Updated 11 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆94Updated 6 months ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆98Updated 5 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆34Updated last year
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆75Updated 2 months ago
- ☆60Updated 7 months ago
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆45Updated 3 weeks ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆22Updated 8 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆57Updated last year
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆57Updated 5 months ago
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆57Updated 9 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆42Updated last year
- ☆12Updated 2 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆21Updated last year
- Agent Security Bench (ASB)☆100Updated last month
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆51Updated 9 months ago
- ☆39Updated 11 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆64Updated 6 months ago
- ☆20Updated last year