poloclub / llm-self-defenseLinks
LLM Self Defense: By Self Examination, LLMs know they are being tricked
☆48Updated last year
Alternatives and similar repositories for llm-self-defense
Users that are interested in llm-self-defense are comparing it to the libraries listed below
Sorting:
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆178Updated 9 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆67Updated last year
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆184Updated 8 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆59Updated 2 months ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆105Updated last year
- TAP: An automated jailbreaking method for black-box LLMs☆213Updated last year
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆78Updated 5 months ago
- ☆75Updated last year
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆90Updated 4 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆45Updated last year
- This repository provides a benchmark for prompt injection attacks and defenses in LLMs☆373Updated 2 months ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆26Updated 3 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆108Updated 11 months ago
- ☆103Updated last year
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆176Updated last year
- ☆114Updated 2 years ago
- Bag of Tricks: Benchmarking of Jailbreak Attacks on LLMs. Empirical tricks for LLM Jailbreaking. (NeurIPS 2024)☆157Updated last year
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆122Updated 10 months ago
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆173Updated last year
- A curated list of trustworthy Generative AI papers. Daily updating...☆75Updated last year
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆66Updated last year
- A survey of privacy problems in Large Language Models (LLMs). Contains summary of the corresponding paper along with relevant code☆68Updated last year
- ☆159Updated last year
- [NeurIPS'24] RedCode: Risky Code Execution and Generation Benchmark for Code Agents☆62Updated last month
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆55Updated last year
- Awesome LLM Jailbreak academic papers☆119Updated 2 years ago
- AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks☆63Updated 7 months ago
- Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attacks [ICLR 2025]☆371Updated 11 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆60Updated last year
- Fluent student-teacher redteaming☆23Updated last year