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.
☆27Updated last year
Alternatives and similar repositories for MasterKey
Users that are interested in MasterKey are comparing it to the libraries listed below
Sorting:
- Reconstructive Neuron Pruning for Backdoor Defense (ICML 2023)☆39Updated last year
- ☆36Updated last year
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆20Updated 5 months ago
- [USENIX'24] Prompt Stealing Attacks Against Text-to-Image Generation Models☆47Updated 9 months ago
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆54Updated last month
- ☆23Updated last year
- Distribution Preserving Backdoor Attack in Self-supervised Learning☆20Updated last year
- ☆66Updated 5 months ago
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆58Updated last year
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆28Updated 2 years ago
- Codes for NeurIPS 2021 paper "Adversarial Neuron Pruning Purifies Backdoored Deep Models"☆58Updated 2 years ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆94Updated last year
- ☆108Updated 8 months ago
- This is the code repository of our submission: Understanding the Dark Side of LLMs’ Intrinsic Self-Correction.☆63Updated 10 months ago
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆29Updated last year
- Code for "When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search" (NeurIPS 2024)☆13Updated last year
- ☆27Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆25Updated 3 weeks ago
- Code repo of our paper Towards Understanding Jailbreak Attacks in LLMs: A Representation Space Analysis (https://arxiv.org/abs/2406.10794…☆22Updated last year
- Accept by CVPR 2025 (highlight)☆19Updated 4 months ago
- ☆48Updated last year
- ☆36Updated last year
- Unofficial implementation of "Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection"☆23Updated last year
- A toolbox for backdoor attacks.☆22Updated 2 years ago
- ☆53Updated last year
- Red Queen Dataset and data generation template☆18Updated last year
- ☆23Updated 7 months ago
- A survey on harmful fine-tuning attack for large language model☆215Updated 2 weeks ago
- ☆21Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆44Updated last year