Not What You've Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection

计算机科学 利用 计算机安全 软件部署 接口(物质) 软件工程 操作系统 气泡 最大气泡压力法
作者
Kai Greshake,Sahar Abdelnabi,Shailesh Mishra,Christoph Endres,Thorsten Holz,Mario Fritz
标识
DOI:10.1145/3605764.3623985
摘要

Large Language Models (LLMs) are increasingly being integrated into applications, with versatile functionalities that can be easily modulated via natural language prompts. So far, it was assumed that the user is directly prompting the LLM. But, what if it is not the user prompting? We show that LLM-Integrated Applications blur the line between data and instructions and reveal several new attack vectors, using Indirect Prompt Injection, that enable adversaries to remotely (i.e., without a direct interface) exploit LLM-integrated applications by strategically injecting prompts into data likely to be retrieved at inference time. We derive a comprehensive taxonomy from a computer security perspective to broadly investigate impacts and vulnerabilities, including data theft, worming, information ecosystem contamination, and other novel security risks. We then demonstrate the practical viability of our attacks against both real-world systems, such as Bing Chat and code-completion engines, and GPT-4 synthetic applications. We show how processing retrieved prompts can act as arbitrary code execution, manipulate the application's functionality, and control how and if other APIs are called. Despite the increasing reliance on LLMs, effective mitigations of these emerging threats are lacking. By raising awareness of these vulnerabilities, we aim to promote the safe and responsible deployment of these powerful models and the development of robust defenses that protect users from potential attacks.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
11111111发布了新的文献求助10
刚刚
汪汪大队完成签到 ,获得积分10
刚刚
yang发布了新的文献求助10
1秒前
8旬老太快乐读研完成签到 ,获得积分10
2秒前
完美世界的应助被难过的冰彤采纳,获得10
3秒前
CodeCraft的应助被郑舒心呀采纳,获得10
3秒前
4秒前
6秒前
8秒前
lyn完成签到 ,获得积分10
8秒前
哟哟切克闹完成签到,获得积分10
8秒前
Mny发布了新的文献求助10
8秒前
v0id的应助被Prunier采纳,获得10
8秒前
8秒前
下课了吧完成签到,获得积分10
9秒前
王佳佳完成签到,获得积分10
9秒前
JamesPei的应助被茂飞采纳,获得30
10秒前
pluto的应助被Aqua采纳,获得10
10秒前
11秒前
想人陪的万言完成签到,获得积分10
11秒前
十二完成签到,获得积分10
12秒前
12秒前
11111111发布了新的文献求助10
14秒前
14秒前
蛋蛋完成签到,获得积分10
15秒前
15秒前
15秒前
15秒前
我是老大的应助被欣慰的海燕采纳,获得10
15秒前
烟花的应助被忆_采纳,获得20
15秒前
15秒前
Graham发布了新的文献求助10
15秒前
16秒前
777发布了新的文献求助10
17秒前
yxy完成签到 ,获得积分10
18秒前
20秒前
烦恼大海发布了新的文献求助10
21秒前
王奕月完成签到 ,获得积分10
23秒前
ky666发布了新的文献求助10
23秒前
ning完成签到,获得积分10
24秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 1000
Электротехническая система магнитожидкостной герметизации валов регулируемых электродвигателей 800
Holistic Discourse Analysis, Second Edition by Robert E. Longacre 666
The Basics of Practical Optimization, Second Edition 600
Practical Nonconvex Nonsmooth Optimization 600
Problems and Solutions for Integer and Combinatorial Optimization: Building Skills in Discrete Optimization 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 7980176
求助须知:如何正确求助?哪些是违规求助? 9442015
关于积分的说明 21079800
捐赠科研通 7555468
什么是DOI,文献DOI怎么找? 3375575
关于科研通互助平台的介绍 2510257
邀请新用户注册赠送积分活动 2408824