poloclub / llm-self-defense
LLM Self Defense: By Self Examination, LLMs know they are being tricked
☆31Updated 9 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"☆37Updated last month
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆60Updated 4 months ago
- [NDSS'25 Poster] A collection of automated evaluators for assessing jailbreak attempts.☆112Updated this week
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆40Updated 3 months ago
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆59Updated 2 months ago
- ☆74Updated 2 weeks ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆92Updated 3 weeks ago
- PAL: Proxy-Guided Black-Box Attack on Large Language Models☆49Updated 6 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆77Updated last month
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆55Updated 3 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆111Updated this week
- official implementation of [USENIX Sec'25] StruQ: Defending Against Prompt Injection with Structured Queries☆27Updated 2 months ago
- Official implementation of paper: DrAttack: Prompt Decomposition and Reconstruction Makes Powerful LLM Jailbreakers☆46Updated 5 months ago
- ☆33Updated 6 months ago
- A survey of privacy problems in Large Language Models (LLMs). Contains summary of the corresponding paper along with relevant code☆66Updated 8 months ago
- Code for Findings-EMNLP 2023 paper: Multi-step Jailbreaking Privacy Attacks on ChatGPT☆30Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆19Updated 2 months ago
- Package to optimize Adversarial Attacks against (Large) Language Models with Varied Objectives☆66Updated last year
- ☆112Updated 5 months ago
- Agent Security Bench (ASB)☆62Updated last week
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆117Updated 7 months ago
- ☆91Updated last year
- [ICLR24] Official Repo of BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models☆27Updated 6 months ago
- [COLM 2024] JailBreakV-28K: A comprehensive benchmark designed to evaluate the transferability of LLM jailbreak attacks to MLLMs, and fur…☆47Updated 7 months ago
- ☆41Updated 2 weeks ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆50Updated 6 months ago
- Papers about red teaming LLMs and Multimodal models.☆96Updated 3 months ago
- ☆79Updated last year
- TAP: An automated jailbreaking method for black-box LLMs☆145Updated 2 months ago
- ☆51Updated 2 months ago