Sizhe-Chen / StruQLinks
official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆45Updated 2 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]☆91Updated last year
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆69Updated 2 months ago
- ☆104Updated 8 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆24Updated 10 months ago
- ☆34Updated last year
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆52Updated this week
- ☆39Updated 11 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆165Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆58Updated last year
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆76Updated 4 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆72Updated 11 months ago
- ☆108Updated last year
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆99Updated 8 months ago
- ☆62Updated 6 months ago
- ☆15Updated 4 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆35Updated last year
- ☆23Updated last month
- Official Code for ACL 2024 paper "GradSafe: Detecting Unsafe Prompts for LLMs via Safety-Critical Gradient Analysis"☆60Updated 11 months ago
- ☆40Updated 6 months ago
- Code for "When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search" (NeurIPS 2024)☆12Updated 11 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆155Updated 5 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆58Updated 11 months ago
- ☆20Updated last year
- [ICLR24] Official Repo of BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models☆38Updated last year
- Agent Security Bench (ASB)☆123Updated 3 months ago
- Benchmark evaluation code for "SORRY-Bench: Systematically Evaluating Large Language Model Safety Refusal" (ICLR 2025)☆62Updated 7 months ago
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆57Updated 3 weeks ago
- Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM☆36Updated 8 months ago
- ☆35Updated 11 months ago
- ☆23Updated 8 months ago