IDEAS home Printed from https://ideas.repec.org/a/nat/natcom/v16y2025i1d10.1038_s41467-024-55631-x.html
   My bibliography  Save this article

Prompt injection attacks on vision language models in oncology

Author

Listed:
  • Jan Clusmann

    (Technical University Dresden
    University Hospital RWTH Aachen)

  • Dyke Ferber

    (Technical University Dresden
    Heidelberg University Hospital)

  • Isabella C. Wiest

    (Technical University Dresden
    Heidelberg University)

  • Carolin V. Schneider

    (Technical University Dresden
    University Hospital RWTH Aachen)

  • Titus J. Brinker

    (German Cancer Research Center)

  • Sebastian Foersch

    (University Medical Center Mainz)

  • Daniel Truhn

    (University Hospital Aachen)

  • Jakob Nikolas Kather

    (Technical University Dresden
    Heidelberg University Hospital
    University Hospital Dresden)

Abstract

Vision-language artificial intelligence models (VLMs) possess medical knowledge and can be employed in healthcare in numerous ways, including as image interpreters, virtual scribes, and general decision support systems. However, here, we demonstrate that current VLMs applied to medical tasks exhibit a fundamental security flaw: they can be compromised by prompt injection attacks. These can be used to output harmful information just by interacting with the VLM, without any access to its parameters. We perform a quantitative study to evaluate the vulnerabilities to these attacks in four state of the art VLMs: Claude-3 Opus, Claude-3.5 Sonnet, Reka Core, and GPT-4o. Using a set of N = 594 attacks, we show that all of these models are susceptible. Specifically, we show that embedding sub-visual prompts in manifold medical imaging data can cause the model to provide harmful output, and that these prompts are non-obvious to human observers. Thus, our study demonstrates a key vulnerability in medical VLMs which should be mitigated before widespread clinical adoption.

Suggested Citation

  • Jan Clusmann & Dyke Ferber & Isabella C. Wiest & Carolin V. Schneider & Titus J. Brinker & Sebastian Foersch & Daniel Truhn & Jakob Nikolas Kather, 2025. "Prompt injection attacks on vision language models in oncology," Nature Communications, Nature, vol. 16(1), pages 1-9, December.
  • Handle: RePEc:nat:natcom:v:16:y:2025:i:1:d:10.1038_s41467-024-55631-x
    DOI: 10.1038/s41467-024-55631-x
    as

    Download full text from publisher

    File URL: https://www.nature.com/articles/s41467-024-55631-x
    File Function: Abstract
    Download Restriction: no

    File URL: https://libkey.io/10.1038/s41467-024-55631-x?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:nat:natcom:v:16:y:2025:i:1:d:10.1038_s41467-024-55631-x. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.nature.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.