Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 14eef659
Paper published July 1, 2023
Entry analyzed December 28, 2024
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Automated LLM Jailbreak Framework

The MASTER KEY framework exploits timing-based characteristics of Large Language Model (LLM) chatbot responses to infer internal defense mechanisms and automatically generate jailbreak prompts. This allows bypassing…

BibTeX citation

Paper-evaluated models(3)

  • ERNIE
  • GPT-3.5 Turbo
  • GPT-4

Description

The MASTER KEY framework exploits timing-based characteristics of Large Language Model (LLM) chatbot responses to infer internal defense mechanisms and automatically generate jailbreak prompts. This allows bypassing safety restrictions and eliciting responses violating usage policies, including generation of illegal, harmful, privacy-violating, and adult content. The framework utilizes a three-step process: reverse-engineering defenses via time-based analysis, creating proof-of-concept jailbreak prompts, and fine-tuning an LLM to automatically generate effective prompts.

Examples

See the research paper for specific examples of time-based analysis and generated jailbreak prompts. Due to ethical considerations and responsible disclosure, the full dataset of jailbreak prompts is not publicly available.

Impact

Successful exploitation allows malicious actors to bypass LLM chatbot safety restrictions and obtain responses containing sensitive information, generate harmful content (e.g., instructions for creating malware), violate user privacy, and produce illegal or adult material. This undermines the security and intended functionality of the chatbots.

Affected Systems

OpenAI ChatGPT (GPT-3.5 and GPT-4), Google Bard, Microsoft Bing Chat, and Baidu Ernie. Potentially other LLMs employing similar defense mechanisms.

Mitigation Steps

  • Strengthen ethical and policy-based alignment of LLMs through methods like supervised training.
  • Refine and rigorously test content moderation systems, including incorporating input sanitization.
  • Integrate contextual analysis to counter encoding strategies used to bypass keyword-based defenses.
  • Implement automated stress testing to identify and address vulnerabilities comprehensively.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
OpenAI ChatGPT (GPT-3.5 and GPT-4), Google Bard, Microsoft Bing Chat, and Baidu Ernie. Potentially other LLMs employing similar defense mechanisms.

Research Paper

MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2307.08715