Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"
☆104Jul 2, 2026Updated 4 months ago
Alternatives and similar repositories for SecAlign
Users that are interested in SecAlign are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆80Nov 10, 2025Updated last year
- Repo for the paper "Meta SecAlign: A Secure Foundation LLM Against Prompt Injection Attacks".☆75Jun 11, 2026Updated 5 months ago
- Repo for the paper "Defending Against Prompt Injection With a Few DefensiveTokens"☆19Nov 10, 2025Updated last year
- A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.☆1,057Jun 2, 2026Updated 5 months ago
- A benchmark for evaluating the robustness of LLMs and defenses to indirect prompt injection attacks.☆162Apr 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.
- ☆15Nov 29, 2025Updated 11 months ago
- 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
- This repository provides a benchmark for prompt injection attacks and defenses in LLMs☆517Sep 27, 2026Updated last month
- Code to generate NeuralExecs (prompt injection for LLMs)☆27Oct 5, 2025Updated last year
- 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
- [ACL 2025] The official code for "AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection".☆47Aug 12, 2026Updated 3 months ago
- Official implementation of the WASP web agent security benchmark☆98Apr 13, 2026Updated 7 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆183May 6, 2024Updated 2 years ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆62Aug 8, 2024Updated 2 years ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- ☆18Mar 9, 2025Updated last year
- A research workbench for developing and testing attacks against large language models, with a focus on prompt injection vulnerabilities a…☆66Jul 24, 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
- [ACL 2025] The official implementation of the paper "PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free".☆90Dec 4, 2025Updated 11 months ago
- Code for our NAACL2025 accepted paper: Attention Tracker: Detecting Prompt Injection Attacks in LLMs☆34Sep 19, 2025Updated last year
- Code for 'Steering the CensorShip: Uncovering Representation Vectors for LLM "Thought" Control'☆12Dec 22, 2025Updated 10 months ago
- Official repository for the paper "Gradient-based Jailbreak Images for Multimodal Fusion Models" (https//arxiv.org/abs/2410.03489)☆21Oct 22, 2024Updated 2 years ago
- Progent: Securing AI Agents with Privilege Control☆60Updated this week
- Agent Security Bench (ASB)☆333Sep 30, 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.
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆146Feb 19, 2025Updated last year
- Code to conduct an embedding attack on LLMs☆35Jan 10, 2025Updated last year
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆75Oct 23, 2024Updated 2 years ago
- ☆13Mar 22, 2025Updated last year
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆175Dec 18, 2024Updated last year
- ☆31Jun 19, 2023Updated 3 years ago
- Code repo for the paper: Attacking Vision-Language Computer Agents via Pop-ups☆53Dec 23, 2024Updated last year
- ☆186Jul 2, 2024Updated 2 years ago
- 🥇 Amazon Nova AI Challenge Winner - ASTRA emerged victorious as the top attacking team in Amazon's global AI safety competition, defeati…☆78May 11, 2026Updated 6 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Every practical and proposed defense against prompt injection.☆743Feb 22, 2025Updated last year
- Code for the paper "Defeating Prompt Injections by Design"☆421Jun 20, 2025Updated last year
- Official Code for S&P 25 paper "Alleviating the Fear of Losing Alignment in LLM Fine-tuning"☆11May 1, 2025Updated last year
- [ICLR 2026] Official implementation of "ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents"☆27Mar 23, 2026Updated 7 months ago
- [CCS 2024] Optimization-based Prompt Injection Attack to LLM-as-a-Judge☆41Sep 17, 2025Updated last year
- List of T2I safety papers, updated daily, welcome to discuss using Discussions☆68Aug 12, 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
Are these results useful?