Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 91f9a8dc
Paper published June 1, 2024
Entry analyzed January 26, 2025
Paper-reported evidence
Confidence: Source-linked

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

Model Combination Misuse

LLMs, even when individually assessed as "safe," can be combined by an adversary to achieve malicious outcomes. This vulnerability exploits the complementary strengths of multiple models—a high-capability model that…

BibTeX citation

Paper-evaluated models(11)

Claude 3 Haiku, Claude 3 Opus, Claude 3 Sonnet +8 more
  • Claude 3 Haiku
  • Claude 3 Opus
  • Claude 3 Sonnet
  • DALL-E 3
  • GPT-4
  • Llama 2 13B Chat
  • Llama 2 70B Chat
  • Llama 2 7B Chat
  • Mistral 7B
  • Mixtral 8x7B
  • Stable Diffusion v1.5

Description

LLMs, even when individually assessed as "safe," can be combined by an adversary to achieve malicious outcomes. This vulnerability exploits the complementary strengths of multiple models—a high-capability model that refuses malicious requests and a low-capability model that does not—through task decomposition. Adversaries can either manually decompose tasks into benign (solved by the high-capability model) and easily-malicious subtasks (solved by the low-capability model) or automate the decomposition process using the weaker model to generate benign subtasks for the stronger model and then utilizing the solutions in-context to achieve the malicious goal.

Examples

  • Vulnerable Code Generation: A strong LLM refuses to generate code containing a directory traversal vulnerability. A weaker LLM generates a functional, but incomplete, script lacking said vulnerability. The adversary uses the strong LLM to complete the script, then uses the weaker LLM to subtly introduce the vulnerability into the completed script. (See paper for specific prompt examples and dataset)

  • Explicit Image Generation: A strong text-to-image model refuses prompts for explicit content. The adversary uses this model to generate an image of a benign scene (e.g., a person sunbathing). Then, using a weaker model (e.g., a less-safe image editing model), they modify this image to add explicit content. (See paper for specific prompt examples and dataset)

  • Malicious Python Script Generation: A strong LLM refuses to create a reverse shell script. A weaker LLM generates related but benign Python code snippets. The adversary uses the strong model to solve the benign tasks, then incorporates these results into a prompt for the weaker model to construct the malicious script. (See paper for specific prompt examples and dataset).

Impact

This vulnerability allows adversaries to leverage multiple LLMs to bypass individual safety mechanisms, resulting in the generation of malicious code, images, scripts, and manipulative text, exceeding the capabilities of any single model. The impact can range from generating malicious software to creating highly targeted disinformation campaigns.

Affected Systems

Any system using multiple LLMs with varying safety configurations and capabilities. This vulnerability particularly affects systems deploying a combination of highly aligned "frontier" models and less-aligned open-source models.

Mitigation Steps

  • Restrict Model Access: Limit the types of LLMs that can interact with each other within a system. Avoid giving adversarial actors access to both high-capability and low-capability models concurrently.

  • Comprehensive Red Teaming: Expand red-teaming efforts to include testing combinations of models, not just individual models in isolation. Test for the capability of automating the decomposition process.

  • Enhanced Safety Mechanisms: Develop and implement safety mechanisms that are robust to task decomposition. Focus on preventing the aggregation of outputs from multiple models towards malicious ends.

  • Runtime Monitoring and Control: Implement runtime monitoring to detect and prevent suspicious interactions between LLMs that might indicate task decomposition.

  • Model-Specific Defenses: Explore model-specific defenses that make it difficult to use one model to improve the output of another in malicious ways.

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
Not explicitly classified; consult the primary paper..
Related deployment categories
Agent workflows
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Any system using multiple LLMs with varying safety configurations and capabilities. This vulnerability particularly affects systems deploying a combination of highly aligned "frontier" models and less-aligned…

Research Paper

Adversaries can misuse combinations of safe models

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/2406.14595