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.
☆26Updated last year
Alternatives and similar repositories for MasterKey
Users that are interested in MasterKey are comparing it to the libraries listed below
Sorting:
- ☆35Updated 11 months ago
- ☆21Updated last year
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆19Updated 5 months ago
- Official Code for "Baseline Defenses for Adversarial Attacks Against Aligned Language Models"☆28Updated last year
- A toolbox for backdoor attacks.☆22Updated 2 years ago
- Distribution Preserving Backdoor Attack in Self-supervised Learning☆17Updated last year
- Code to generate NeuralExecs (prompt injection for LLMs)☆24Updated last week
- Accept by CVPR 2025 (highlight)☆18Updated 4 months ago
- [ACL 2024] Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritization☆29Updated last year
- ☆20Updated last year
- Unofficial implementation of "Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection"☆23Updated last year
- Code&Data for the paper "Watch Out for Your Agents! Investigating Backdoor Threats to LLM-Based Agents" [NeurIPS 2024]☆91Updated last year
- This is the code repository of our submission: Understanding the Dark Side of LLMs’ Intrinsic Self-Correction.☆63Updated 9 months ago
- ☆32Updated 6 months ago
- Reconstructive Neuron Pruning for Backdoor Defense (ICML 2023)☆39Updated last year
- [USENIX'24] Prompt Stealing Attacks Against Text-to-Image Generation Models☆45Updated 9 months ago
- AmpleGCG: Learning a Universal and Transferable Generator of Adversarial Attacks on Both Open and Closed LLM☆71Updated 11 months ago
- This repository is the official implementation of the paper "ASSET: Robust Backdoor Data Detection Across a Multiplicity of Deep Learning…☆19Updated 2 years ago
- ☆36Updated last year
- Official repository for "Robust Prompt Optimization for Defending Language Models Against Jailbreaking Attacks"☆58Updated last year
- ☆65Updated 4 months ago
- Code for "When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search" (NeurIPS 2024)☆12Updated 11 months ago
- ☆27Updated last year
- An unofficial implementation of AutoDAN attack on LLMs (arXiv:2310.15140)☆43Updated last year
- Composite Backdoor Attacks Against Large Language Models☆18Updated last year
- [USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models☆202Updated 7 months ago
- This is the code repository for "Uncovering Safety Risks of Large Language Models through Concept Activation Vector"☆44Updated 10 months ago
- ☆35Updated 4 months ago
- ☆52Updated last year
- A list of recent papers about adversarial learning☆216Updated last week