poloclub / llm-self-defense
LLM Self Defense: By Self Examination, LLMs know they are being tricked
☆32Updated 11 months ago
Alternatives and similar repositories for llm-self-defense:
Users that are interested in llm-self-defense are comparing it to the libraries listed below
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆45Updated last month
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆72Updated 7 months ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆50Updated 8 months ago
- A survey of privacy problems in Large Language Models (LLMs). Contains summary of the corresponding paper along with relevant code☆67Updated 11 months ago
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆33Updated 3 weeks ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆46Updated 6 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆117Updated 3 weeks ago
- Code to generate NeuralExecs (prompt injection for LLMs)☆20Updated 5 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆84Updated 3 months ago
- [NDSS'25 Best Technical Poster] A collection of automated evaluators for assessing jailbreak attempts.☆154Updated last month
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆62Updated 6 months ago
- Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses (NeurIPS 2024)☆61Updated 3 months ago
- The repository contains the code for analysing the leakage of personally identifiable (PII) information from the output of next word pred…☆93Updated 8 months ago
- ☆38Updated 6 months ago
- [ICLR 2025] Dissecting adversarial robustness of multimodal language model agents☆84Updated 2 months ago
- ☆97Updated last year
- A lightweight library for large laguage model (LLM) jailbreaking defense.☆51Updated 6 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆38Updated last year
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆68Updated 2 months ago
- Package to optimize Adversarial Attacks against (Large) Language Models with Varied Objectives☆68Updated last year
- ☆38Updated 7 months ago
- Code for paper "Universal Jailbreak Backdoors from Poisoned Human Feedback"☆52Updated last year
- ☆82Updated 3 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆33Updated last year
- ☆21Updated 3 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆23Updated last year
- ☆54Updated 2 years ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆51Updated 9 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆165Updated 4 months ago
- ☆42Updated 3 months ago