跳到正文
arXiv cs.AI· Kaustuv Mukherji, Jaikrishna Manojkumar Patil, Colton Payne, Paulo Shakarian, Dana Warmsley, Nigel Stepp, Evelyn Kim·· 4 小时前AI 评分41

EntailLLM:用逻辑程序结合领域知识验证智能体生成的漏洞发现路径

EntailLLM: Verifying Agent-Generated Vulnerability Discovery Paths with Domain Knowledge via Logic Programming

AI 导读

研究者提出 EntailLLM 框架,用专门的 LLM 智能体生成二进制函数调用图的漏洞遍历路径,并通过标注逻辑下的蕴含程序对照独立知识图谱验证输出。在三个 CWE 类别、八个含 405 至 12,696 个函数的二进制上评估六个智能体,池化蕴含率从 77% 提升至 98%。该框架已在真实医疗设备二进制上端到端部署,无需逐设备调优即达 98% 池化蕴含率。

正文 · 原文

View PDF HTML (experimental)

Abstract:Large language model agents are increasingly used to analyze potential software vulnerabilities, but their outputs can silently violate domain knowledge, limiting their reliability in safety-critical settings such as medical devices. Prior work either treats that output as a prediction to be scored or constrains it to walks within a single knowledge graph; neither checks whether reasoning over a binary is entailed by an independent body of domain knowledge. We present EntailLLM, a framework that includes a specialized LLM agent and a validation mechanism. The agent proposes a traversal path of the function call graph for a vulnerability, which is checked against a separate knowledge graph and a logic program by an entailment procedure under annotated logic. We evaluate EntailLLM by examining six specialized agents across three CWE classes, and eight binaries varying in size from 405 to 12,696 functions. The agents improve pooled entailment from 77% to 98%, with entailment decreasing in only 3 of 118 configurations. We found that the best-performing agent combines self-refinement and a priori domain knowledge. EntailLLM is deployed end-to-end on real medical-device binaries, reaching 98% pooled entailment without per-device tuning. Our framework inherits the formal guarantees of generalized annotated logic, providing logical verification of agent output that is both explainable and grounded in well-defined semantics.
Subjects: Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI); Logic in Computer Science (cs.LO); Software Engineering (cs.SE)
Cite as: arXiv:2608.01763 [cs.CR]
  (or arXiv:2608.01763v2 [cs.CR] for this version)
  https://doi.org/10.48550/arXiv.2608.01763

arXiv-issued DOI via DataCite

Submission history

From: Kaustuv Mukherji [view email]
[v1] Mon, 3 Aug 2026 06:34:31 UTC (2,262 KB)
[v2] Sun, 25 Oct 2026 16:21:06 UTC (2,468 KB)

来源:arXiv cs.AI · arxiv.org