LLMSecurity / MasterKeyLinks
MASTERKEY is a framework designed to explore and exploit vulnerabilities in large language model chatbots by automating jailbreak attacks and evaluating their defenses.
☆29Updated last year
Alternatives and similar repositories for MasterKey
Users that are interested in MasterKey are comparing it to the libraries listed below
Sorting:
- ☆37Updated last year
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆22Updated 8 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆31Updated 2 years ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆58Updated 3 months ago
- Reconstructive Neuron Pruning for Backdoor Defense (ICML 2023)☆39Updated 2 years ago
- Accept by CVPR 2025 (highlight)☆22Updated 7 months ago
- Distribution Preserving Backdoor Attack in Self-supervised Learning☆20Updated 2 years ago
- ☆25Updated 10 months ago
- ☆56Updated last year
- ☆73Updated last week
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆60Updated last year
- ☆33Updated 2 months ago
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆29Updated last year
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆23Updated last year
- [USENIX'24] Prompt Stealing Attacks Against Text-to-Image Generation Models☆49Updated last year
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆107Updated last year
- ☆38Updated 8 months ago
- Code for paper: PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models, IEEE ICASSP 2024. Demo//124.220.228.133:11107☆19Updated last year
- A toolbox for backdoor attacks.☆23Updated 3 years ago
- ☆58Updated last year
- ☆23Updated last year
- ☆24Updated last year
- ☆20Updated last year
- Code for "When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search" (NeurIPS 2024)☆17Updated last year
- ☆71Updated 10 months ago
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆190Updated 7 months ago
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆45Updated last year
- ☆37Updated last year
- ☆15Updated last year
- ☆27Updated last year