HackerPapers

arXiv:2404.08144cs.CR

LLM Agents can Autonomously Exploit One-day Vulnerabilities

Richard Fang, Rohan Bindu, Akul Gupta, Daniel Kang

Abstract

LLMs have becoming increasingly powerful, both in their benign and malicious uses. With the increase in capabilities, researchers have been increasingly interested in their ability to exploit cybersecurity vulnerabilities. In particular, recent work has conducted preliminary studies on the ability of LLM agents to autonomously hack websites. However, these studies are limited to simple vulnerabilities. In this work, we show that LLM agents can autonomously exploit one-day vulnerabilities in real-world systems. To show this, we collected a dataset of 15 one-day vulnerabilities that include ones categorized as critical severity in the CVE description. When given the CVE description, GPT-4 is capable of exploiting 87% of these vulnerabilities compared to 0% for every other model we test (GPT-3.5, open-source LLMs) and open-source vulnerability scanners (ZAP and Metasploit). Fortunately, our GPT-4 agent requires the CVE description for high performance: without the description, GPT-4 can exploit only 7% of the vulnerabilities. Our findings raise questions around the widespread deployment of highly capable LLM agents.

arXiv comments
Journal reference
DOI
Subjects
cs.CRCryptography and Security cs.AIArtificial Intelligence

On Hacker News

Linked by 3 identifiable commenters in 3 comments across 3 threads, from Apr 2024 to Jun 2024. Found in 5 HN submissions from Apr 2024 to Jul 2024. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • Apparently GPT-4 has some capacity to conduct exploits this by "reading" CVE reports. I don't know if it can autonomously create exploits though: GPT-4 can exploit vulnerabilities by reading CVEs (theregister.com) 81 points by ignoramous 60 days ago | hide | past | favorite | 29…

      sillywalkView on HNParent context

    • Recent, GPT-4 can exploit vulnerabilities by reading CVEs (https://news.ycombinator.com/item?id=40101846) - Apr 2024 (29 comments) Source of the story, https://arxiv.org/abs/2404.08144

      skilledView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.