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:
- ☆36Updated last year
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆30Updated 2 years ago
- ☆69Updated 6 months ago
- Accept by CVPR 2025 (highlight)☆21Updated 6 months ago
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆21Updated 7 months ago
- Reconstructive Neuron Pruning for Backdoor Defense (ICML 2023)☆39Updated last year
- This is the code repository of our submission: Understanding the Dark Side of LLMs’ Intrinsic Self-Correction.☆63Updated 11 months ago
- ☆21Updated last year
- ☆24Updated 8 months ago
- Code for "When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search" (NeurIPS 2024)☆16Updated last year
- This is the code repository for "Uncovering Safety Risks of Large Language Models through Concept Activation Vector"☆46Updated 2 months ago
- ☆32Updated last year
- [AAAI'25 (Oral)] Jailbreaking Large Vision-language Models via Typographic Visual Prompts☆183Updated 5 months ago
- ☆25Updated last year
- ☆52Updated last year
- ☆37Updated last year
- Repository for Towards Codable Watermarking for Large Language Models☆38Updated 2 years ago
- ☆113Updated 10 months ago
- Distribution Preserving Backdoor Attack in Self-supervised Learning☆20Updated last year
- [ICLR24] Official Repo of BadChain: Backdoor Chain-of-Thought Prompting for Large Language Models☆43Updated last year
- ☆32Updated 3 weeks ago
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆102Updated last year
- ☆37Updated 6 months ago
- ☆52Updated last year
- [ACL 2024] CodeAttack: Revealing Safety Generalization Challenges of Large Language Models via Code Completion☆55Updated 2 months ago
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆29Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆59Updated last year
- Code for paper: PoisonPrompt: Backdoor Attack on Prompt-based Large Language Models, IEEE ICASSP 2024. Demo//124.220.228.133:11107☆19Updated last year
- Robust natural language watermarking using invariant features☆28Updated 2 years ago
- Chain of Attack: a Semantic-Driven Contextual Multi-Turn attacker for LLM☆39Updated 10 months ago