arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.16165cs.AI
收藏

EnIGMA:交互式工具显著辅助语言模型智能体发现安全漏洞

EnIGMA: Interactive Tools Substantially Assist LM Agents in Finding Security Vulnerabilities

Tel Aviv University(特拉维夫大学);NYU Tandon School of Engineering(纽约大学工程学院);New York University Abu Dhabi(纽约大学阿布扎克分校);Princeton Language and Intelligence(普林斯顿语言与智能);Stanford University(斯坦福大学)
Talor Abramovich, Meet Udeshi, Minghao Shao, Kilian Lieret, Haoran Xi, Kimberly Milner, Sofija Jancheska, John Yang, Carlos E. Jimenez, Farshad Khorrami, Prasha… 展开作者

Talor Abramovich, Meet Udeshi, Minghao Shao, Kilian Lieret, Haoran Xi, Kimberly Milner, Sofija Jancheska, John Yang, Carlos E. Jimenez, Farshad Khorrami, Prashanth Krishnamurthy, Brendan Dolan-Gavitt, Muhammad Shafique, Karthik Narasimhan, Ramesh Karri, Ofir Press

AI总结:

本文提出 EnIGMA 智能体,通过引入交互式智能体工具使 LM 智能体能运行调试器和服务器连接工具,在 390 个 CTF 挑战上取得最先进结果,并分析了数据泄漏与“自言自语”现象。

摘要:

尽管语言模型(LM)智能体在编码和网页浏览等多个领域已展现出更高的性能,但它们在网络安全领域的成功仍然有限。我们提出了 EnIGMA,一个用于自主解决夺旗赛(CTF)挑战的 LM 智能体。我们引入了新的工具和接口,以提高智能体发现和利用安全漏洞的能力,重点关注交互式终端程序。这些新颖的交互式智能体工具(Interactive Agent Tools)首次使 LM 智能体能够运行交互式实用程序,例如调试器和服务器连接工具,而这些工具对于解决这些挑战至关重要。对四个基准中 390 个 CTF 挑战的实证分析表明,这些新工具和接口显著提高了我们智能体的性能,在 NYU CTF、Intercode-CTF 和 CyBench 上取得了最先进的结果。最后,我们分析了数据泄漏问题,开发了量化数据泄漏的新方法,并识别出一种我们称之为“soliloquizing”(自言自语)的新现象,即模型在不与环境交互的情况下自行生成幻觉观察结果。我们的代码和开发数据集分别可在 https://github.com/SWE-agent/SWE-agent/tree/v0.7 和 https://github.com/NYU-LLM-CTF/NYU_CTF_Bench/tree/main/development 获取。

英文摘要:

Although language model (LM) agents have demonstrated increased performance in multiple domains, including coding and web-browsing, their success in cybersecurity has been limited. We present EnIGMA, an LM agent for autonomously solving Capture The Flag (CTF) challenges. We introduce new tools and interfaces to improve the agent's ability to find and exploit security vulnerabilities, focusing on interactive terminal programs. These novel Interactive Agent Tools enable LM agents, for the first time, to run interactive utilities, such as a debugger and a server connection tool, which are essential for solving these challenges. Empirical analysis on 390 CTF challenges across four benchmarks demonstrate that these new tools and interfaces substantially improve our agent's performance, achieving state-of-the-art results on NYU CTF, Intercode-CTF, and CyBench. Finally, we analyze data leakage, developing new methods to quantify it and identifying a new phenomenon we term soliloquizing, where the model self-generates hallucinated observations without interacting with the environment. Our code and development dataset are available at https://github.com/SWE-agent/SWE-agent/tree/v0.7 and https://github.com/NYU-LLM-CTF/NYU_CTF_Bench/tree/main/development respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑