poloclub / llm-self-defenseLinks
LLM Self Defense: By Self Examination, LLMs know they are being tricked
☆43Updated 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.☆172Updated 6 months ago
- A survey of privacy problems in Large Language Models (LLMs). Contains summary of the corresponding paper along with relevant code☆68Updated last year
- Official implementation of AdvPrompter https//arxiv.org/abs/2404.16873☆168Updated last year
- [ICML 2024] COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability☆166Updated 10 months ago
- The official implementation of our pre-print paper "Automatic and Universal Prompt Injection Attacks against Large Language Models".☆60Updated last year
- ☆111Updated last year
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆93Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆44Updated last year
- ☆65Updated 10 months ago
- [NeurIPS 2024] Official implementation for "AgentPoison: Red-teaming LLM Agents via Memory or Knowledge Base Backdoor Poisoning"☆160Updated 6 months ago
- TAP: An automated jailbreaking method for black-box LLMs☆190Updated 10 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆177Updated 4 months ago
- The repository contains the code for analysing the leakage of personally identifiable (PII) information from the output of next word pred…☆101Updated last year
- [ACL24] Official Repo of Paper `ArtPrompt: ASCII Art-based Jailbreak Attacks against Aligned LLMs`☆87Updated 2 months ago
- ☆36Updated last year
- A toolkit to assess data privacy in LLMs (under development)☆62Updated 9 months ago
- An LLM can Fool Itself: A Prompt-Based Adversarial Attack (ICLR 2024)☆102Updated 9 months ago
- A curated list of trustworthy Generative AI papers. Daily updating...☆74Updated last year
- Repo for the research paper "SecAlign: Defending Against Prompt Injection with Preference Optimization"☆72Updated 3 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆74Updated 11 months ago
- ☆185Updated last year
- ☆39Updated 11 months ago
- [USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models☆209Updated 8 months ago
- ☆151Updated last year
- ☆24Updated last month
- [ICLR 2024] The official implementation of our ICLR2024 paper "AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language M…☆388Updated 9 months ago
- A fast + lightweight implementation of the GCG algorithm in PyTorch☆293Updated 5 months ago
- Papers about red teaming LLMs and Multimodal models.☆144Updated 4 months ago
- Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding☆146Updated last year
- Unofficial implementation of "Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection"☆23Updated last year