official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries
☆80Nov 10, 2025Updated 11 months ago
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"☆104Jul 2, 2026Updated 4 months ago
- Repo for the paper "Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attacks".☆74Jun 11, 2026Updated 4 months ago
- Repo for the paper "Defending Against Prompt Injection With a Few DefensiveTokens"☆19Nov 10, 2025Updated 11 months ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆161Apr 15, 2024Updated 2 years ago
- This repository provides a benchmark for prompt injection attacks and defenses in LLMs☆511Sep 27, 2026Updated last month
- 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.
- ☆15Nov 29, 2025Updated 11 months ago
- Code for our NAACL2025 accepted paper: Attention Tracker: Detecting Prompt Injection Attacks in LLMs☆34Sep 19, 2025Updated last year
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆994Jun 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
- ☆186Jul 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.☆63Apr 20, 2026Updated 6 months ago
- The official implementation of the paper "AgentDyn: Are Your Agent Security Defenses Deployable in Real-World Dynamic Environments?"☆91May 19, 2026Updated 5 months ago
- [EMNLP 2026] PISanitizer: Preventing Prompt Injection to Long-Context LLMs via Prompt Sanitization☆20Aug 21, 2026Updated 2 months ago
- [ACL 2025] The official code for "AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection".☆46Aug 12, 2026Updated 2 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- 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
- ☆13Mar 22, 2025Updated last year
- [EMNLP 2025 Oral] IPIGuard: A Novel Tool Dependency Graph-Based Defense Against Indirect Prompt Injection in LLM Agents☆26Sep 16, 2025Updated last year
- Every practical and proposed defense against prompt injection.☆741Feb 22, 2025Updated last year
- Agent Security Bench (ASB)☆328Sep 30, 2026Updated last month
- PFI: Prompt Flow Integrity to Prevent Privilege Escalation in LLM Agents☆32Mar 26, 2025Updated last year
- Official Implementation of AttnTrace☆16Apr 23, 2026Updated 6 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated last year
- ☆30Jun 5, 2024Updated 2 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- ☆56Feb 25, 2026Updated 8 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆251Dec 10, 2024Updated last year
- [ICML 2025] An official source code for paper "FlipAttack: Jailbreak LLMs via Flipping".☆182Aug 11, 2026Updated 2 months ago
- Official implementation for "DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling" (IEEE S&P 2026)☆13Jan 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
- Official implementation of "AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery".☆12Aug 11, 2025Updated last year
- Code for 'Steering the CensorShip: Uncovering Representation Vectors for LLM "Thought" Control'☆12Dec 22, 2025Updated 10 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆118Sep 27, 2024Updated 2 years ago
- ☆21Jan 15, 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.
- [ICML'25] MELON: Provable Defense Against Indirect Prompt Injection Attacks in AI Agents☆39Jul 31, 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
- The official repository for guided jailbreak benchmark☆34Aug 31, 2026Updated 2 months ago
- [NeurIPS 2025] The official implementation of the paper "DRIFT: Dynamic Rule-Based Defense with Injection Isolation for Securing LLM Agen…☆62Jul 16, 2026Updated 3 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
- [ICLR 2026] Official implementation of "ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents"☆27Mar 23, 2026Updated 7 months ago