official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆82Nov 10, 2025Updated last year
Alternatives and similar repositories for StruQ
Users that are interested in StruQ are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆106Jul 2, 2026Updated 4 months ago
- Repo for the paper "Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attacks".☆76Jun 11, 2026Updated 5 months ago
- Repo for the paper "Defending Against Prompt Injection With a Few DefensiveTokens"☆19Nov 10, 2025Updated last year
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆162Apr 15, 2024Updated 2 years ago
- ☆15Nov 29, 2025Updated 11 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- This repository provides a benchmark for prompt injection attacks and defenses in LLMs☆517Sep 27, 2026Updated 2 months ago
- Code for our NAACL2025 accepted paper: Attention Tracker: Detecting Prompt Injection Attacks in LLMs☆33Sep 19, 2025Updated last year
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆1,079Jun 2, 2026Updated 5 months ago
- TaskTracker is an approach to detecting task drift in Large Language Models (LLMs) by analysing their internal activations. It provides a…☆97Sep 1, 2025Updated last year
- ☆191Jul 2, 2024Updated 2 years ago
- Accompanying code and SEP dataset for the "Can LLMs Separate Instructions From Data? And What Do We Even Mean By That?" paper.☆64Apr 20, 2026Updated 7 months ago
- [EMNLP 2026] PISanitizer: Preventing Prompt Injection to Long-Context LLMs via Prompt Sanitization☆20Aug 21, 2026Updated 3 months ago
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆98May 19, 2026Updated 6 months ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆24Jul 26, 2024Updated 2 years ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- [ACL 2025] The official code for "AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection".☆48Aug 12, 2026Updated 3 months ago
- ☆13Mar 22, 2025Updated last year
- Every practical and proposed defense against prompt injection.☆742Feb 22, 2025Updated last year
- Agent Security Bench (ASB)☆333Sep 30, 2026Updated last month
- [EMNLP 2025 Oral] IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents☆28Sep 16, 2025Updated last year
- PFI: Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents☆32Mar 26, 2025Updated last year
- Official Implementation of AttnTrace☆16Apr 23, 2026Updated 7 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated last year
- The official implementation of the work "Can Indirect Prompt Injection Attacks Be Detected and Removed?"☆11Dec 25, 2025Updated 11 months ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- ☆30Jun 5, 2024Updated 2 years ago
- ☆57Feb 25, 2026Updated 9 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆257Dec 10, 2024Updated last year
- Official implementation for "DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling" (IEEE S&P 2026)☆14Jan 28, 2026Updated 9 months ago
- [ICML 2026] Official implementation for paper "Unsafer in Many Turns: Benchmarking and Defending Multi-Turn Safety Risks in Tool-Using Ag…☆40Jul 31, 2026Updated 3 months ago
- Code for 'Steering the CensorShip: Uncovering Representation Vectors for LLM "Thought" Control'☆12Dec 22, 2025Updated 11 months ago
- [ICML 2025] An official source code for paper "FlipAttack: Jailbreak LLMs via Flipping".☆182Aug 11, 2026Updated 3 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆119Sep 27, 2024Updated 2 years ago
- The official repository for guided jailbreak benchmark☆34Aug 31, 2026Updated 2 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- [ICML'25] MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents☆39Jul 31, 2025Updated last year
- Official implementation of "AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery".☆13Aug 11, 2025Updated last year
- Official release of code for the paper RL is a hammer and LLMs are nails A simple RL approach to stronger prompt injection attacks☆61May 6, 2026Updated 6 months ago
- ☆21Jan 15, 2024Updated 2 years ago
- [NeurIPS 2025] The official implementation of the paper "DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agen…☆62Jul 16, 2026Updated 4 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆183May 6, 2024Updated 2 years ago
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆90Dec 4, 2025Updated 11 months ago
Are these results useful?