Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 8b39e9ea
Paper published October 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.

Visual Adversarial Tool Abuse

A vulnerability exists in multimodal Large Language Models (LLMs) integrated with external tools. Adversarial images, visually indistinguishable from benign images, can manipulate the LLM to execute unintended tool…

BibTeX citation

Paper-evaluated models

No paper-evaluated models are recorded for this entry.

Description

A vulnerability exists in multimodal Large Language Models (LLMs) integrated with external tools. Adversarial images, visually indistinguishable from benign images, can manipulate the LLM to execute unintended tool commands, compromising the confidentiality and integrity of user resources. The attack is effective across diverse prompts, remaining stealthy both in the image itself and in the generated text response.

Examples

See arXiv:2310.03185 (opens in a new tab). The paper provides specific examples of adversarial images causing the LLM to delete emails, send emails, and book travel using integrated tools. These examples demonstrate the generalizability of the attack to different tool invocation syntaxes and various prompts.

Impact

Successful exploitation allows attackers to control the LLM's interaction with connected tools, leading to data breaches (confidentiality), data modification or deletion (integrity), and potentially financial loss (availability). The stealthy nature enhances the likelihood of successful attacks going unnoticed by users.

Affected Systems

Multimodal LLMs which accept images as input and are integrated with external tools using a function-call or similar invocation mechanism, including, but not limited to, systems employing LangChain or Semantic Kernel frameworks. Specific systems affected will depend on the underlying LLM and tool integrations. The paper demonstrates the vulnerability on LLaMA Adapter, but attacks may be transferable to other systems.

Mitigation Steps

  • Input Sanitization: Implement robust image sanitization techniques to detect and reject adversarial images. This could involve methods that are resistant to adversarial attacks or incorporating checksums for images to verify their integrity.

  • Tool Access Control: Enforce strict access control for LLMs interacting with tools. Restrict the LLM's ability to execute sensitive operations unless explicitly authorized by the user. Granular permissions should be implemented to minimize the impact of successful attacks.

  • Output Verification: Verify the LLM's tool invocation commands before execution. This involves comparing generated commands against expected patterns or user-provided constraints.

  • Model Defenses: Develop LLM architectures and training methods more resistant to adversarial attacks against image inputs. This is a more long-term solution requiring substantial research and development.

  • Security Monitoring: Implement monitoring mechanisms to detect anomalous tool invocations. This could include auditing logs of tool interactions and establishing baselines to detect deviations.

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
White-box access to model or deployment internals.
Related deployment categories
Vision-language models
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Multimodal LLMs which accept images as input and are integrated with external tools using a function-call or similar invocation mechanism, including, but not limited to, systems employing LangChain or Semantic Kernel…

Research Paper

Misusing tools in large language models with visual adversarial examples

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