跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 密码学与安全

arXiv:2611.39112 (cs)
[提交于 2026年11月28日]

标题:Aligning Tool Descriptions and Implementations to Detect Prompt Injections in LLM Agents

作者:Johnny Song, Shih-Chieh Dai, Guanhong Tao
查看论文《Aligning Tool Descriptions and Implementations to Detect Prompt Injections in LLM Agents》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Tool-integrated large language model (LLM) agents enable functionalities such as accessing information, managing databases, and sending emails. Because many third-party tools come from untrusted online sources, attackers can exploit tool interactions to launch prompt injection attacks via tools, potentially causing harm through harmful code execution. In this work, we propose a defense that detects prompt injection attacks by comparing tool descriptions with summaries of their corresponding code. To evaluate our approach, we constructed a dataset of 503 tool examples, consisting of 377 prompt injected and 126 benign tools collected and adapted from open-source repositories and existing benchmarks. We evaluate our method across five LLMs and compared its performance against existing prompt injection defenses such as PromptArmor, DataSentinel, LLM-Based Detection, and Perplexity Filter. The experimental results show that our method achieves an overall detection accuracy of 93.8\%. This work highlights the potential benefits of implementing a description and implementation consistency verification as an additional security mechanism for LLM agents in a tool-integrated environment.
主题: 密码学与安全 (cs.CR)
引用方式: arXiv:2611.39112 [cs.CR]
  (或者 arXiv:2611.39112v1 [cs.CR] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.39112

提交历史

来自:Shih-Chieh Dai
[v1] 2026年11月28日 星期六 21:31:47 UTC (62 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CR
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-12
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站