Vulnerability of Large Language Models to Prompt Injection When Providing Medical Advice

作者
Ro Woon Lee,Tae Joon Jun,Jeong-Moo Lee,Soo Ick Cho,Hyungjun Park,Jungyo Suh
出处
期刊:JAMA network open [American Medical Association]
卷期号:8 (12): e2549963-e2549963
标识
DOI:10.1001/jamanetworkopen.2025.49963
摘要

Importance Large language models (LLMs) are increasingly integrated into health care applications; however, their vulnerability to prompt-injection attacks (ie, maliciously crafted inputs that manipulate an LLM’s behavior) capable of altering medical recommendations has not been systematically evaluated. Objective To evaluate the susceptibility of commercial LLMs to prompt-injection attacks that may induce unsafe clinical advice and to validate man-in-the-middle, client-side injection as a realistic attack vector. Design, Setting, and Participants This quality improvement study used a controlled simulation design and was conducted between January and October 2025 using standardized patient-LLM dialogues. The main experiment evaluated 3 lightweight models (GPT-4o-mini [LLM 1], Gemini-2.0-flash-lite [LLM 2], and Claude-3-haiku [LLM 3]) across 12 clinical scenarios in 4 categories under controlled conditions. The 12 clinical scenarios were stratified by harm level across 4 categories: supplement recommendations, opioid prescriptions, pregnancy contraindications, and central-nervous-system toxic effects. A proof-of-concept experiment tested 3 flagship models (GPT-5 [LLM 4], Gemini 2.5 Pro [LLM 5], and Claude 4.5 Sonnet [LLM 6]) using client-side injection in a high-risk pregnancy scenario. Exposures Two prompt-injection strategies: (1) context-aware injection for moderate- and high-risk scenarios and (2) evidence-fabrication injection for extremely high-harm scenarios. Injections were programmatically inserted into user queries within a multiturn dialogue framework. Main Outcomes and Measures The primary outcome was injection success at the primary decision turn. Secondary outcomes included persistence across dialogue turns and model-specific success rates by harm level. Results Across 216 evaluations (108 injection vs 108 control), attacks achieved 94.4% (102 of 108 evaluations) success at turn 4 and persisted in 69.4% (75 of 108 evaluations) of follow-ups. LLM 1 and LLM 2 were completely susceptible (36 of 36 dialogues [100%] each), and LLM 3 remained vulnerable in 83.3% of dialogues (30 of 36 dialogues). Extremely high-harm scenarios including US Food and Drug Administration Category X pregnancy drugs (eg, thalidomide) succeeded in 91.7% of dialogues (33 of 36 dialogues). The proof-of-concept experiment demonstrated 100% vulnerability for LLM 4 and LLM 5 (5 of 5 dialogues each) and 80.0% (4 of 5 dialogues) for LLM 6. Conclusions and Relevance In this quality improvement study using a controlled simulation, commercial LLMs demonstrated substantial vulnerability to prompt-injection attacks that could generate clinically dangerous recommendations; even flagship models with advanced safety mechanisms showed high susceptibility. These findings underscore the need for adversarial robustness testing, system-level safeguards, and regulatory oversight before clinical deployment.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
赘婿的应助被kermit采纳,获得10
1秒前
点点发布了新的文献求助10
2秒前
2秒前
科研通AI6.3的应助被cheng采纳,获得10
3秒前
啵啵发布了新的文献求助10
3秒前
3秒前
无极微光的应助被lucky采纳,获得20
3秒前
vnewgnl的应助被王姐夫采纳,获得10
3秒前
daisyyy完成签到 ,获得积分10
3秒前
3秒前
5秒前
yangyi发布了新的文献求助10
5秒前
FashionBoy的应助被疯狂的迪子采纳,获得10
5秒前
6秒前
科研通AI6.4的应助被脏脏包采纳,获得10
8秒前
8秒前
8秒前
8秒前
9秒前
9秒前
英姑的应助被王姐夫采纳,获得10
9秒前
9秒前
赘婿的应助被福崽采纳,获得10
9秒前
9秒前
嘻嘻发布了新的文献求助10
9秒前
ding的应助被王姐夫采纳,获得10
9秒前
lyangyang发布了新的文献求助10
10秒前
无花果的应助被Capacition6采纳,获得20
10秒前
yoonkk完成签到,获得积分10
10秒前
syvshc的应助被王姐夫采纳,获得10
10秒前
11秒前
幽默霆完成签到,获得积分10
12秒前
Tulip发布了新的文献求助10
12秒前
想念完成签到,获得积分10
12秒前
机智的白卉的应助被王姐夫采纳,获得10
12秒前
李爱国的应助被zcf采纳,获得10
12秒前
sleepydoudou发布了新的文献求助10
13秒前
kermit发布了新的文献求助10
13秒前
wanci的应助被王姐夫采纳,获得10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of Sport Coaching Research 1000
突发性耳聋患者听觉障碍相关症状群管理的最佳证据总结 500
Orthognathic Surgery - 2 Volume Set 500
Sex, Aging, and Death in a Medieval Medical Compendium: Trinity College Cambridge MS R.14.52, Its Texts, Language, and Scribe 450
Approaches to Qualitative Research 400
改訂11版 化学・バイオ特許の出願戦略 全文 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8206691
求助须知:如何正确求助?哪些是违规求助? 9590081
关于积分的说明 21926524
捐赠科研通 7811016
什么是DOI,文献DOI怎么找? 3441763
关于科研通互助平台的介绍 2564012
邀请新用户注册赠送积分活动 2489271