arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.09633cs.CRcs.AIcs.LGcs.PL
收藏

Hound:面向安全审计中复杂系统推理的关系优先知识图谱

Hound: Relation-First Knowledge Graphs for Complex-System Reasoning in Security Audits

Bernhard Mueller(伯纳德·穆勒)

Bernhard Mueller

AI总结:

Hound引入关系优先图引擎和持久信念系统,通过精确检索和假设循环提升复杂代码库安全审计的召回率与F1值。

摘要:

Hound引入了关系优先的图引擎,以改善复杂代码库中相互关联组件间的系统级推理。该智能体设计了灵活的、由分析师定义的视图,并带有紧凑注释(例如,货币/价值流、身份验证/授权角色、调用图、协议不变量),利用它们锚定精确检索:对于任何问题,它都会精确加载相关代码(通常跨组件),从而可以缩小到系统结构并放大到决定性代码行。第二个贡献是持久的信念系统:长期存在的漏洞假设,其置信度随着证据的增加而更新。该智能体采用覆盖率与直觉规划以及QA终结器来确认或拒绝假设。在ScaBench[1]的五项目子集上,Hound相较于基线LLM分析器提高了召回率和F1值(微平均召回率31.2% vs. 8.3%;F1 14.2% vs. 9.8%),但存在适度的精度权衡。我们将这些增益归因于灵活的、关系优先的图,它将模型理解从调用/数据流扩展到抽象方面,加上以假设为中心的循环;代码和工件已发布以支持复现。

英文摘要:

Hound introduces a relation-first graph engine that improves system-level reasoning across interrelated components in complex codebases. The agent designs flexible, analyst-defined views with compact annotations (e.g., monetary/value flows, authentication/authorization roles, call graphs, protocol invariants) and uses them to anchor exact retrieval: for any question, it loads precisely the code that matters (often across components) so it can zoom out to system structure and zoom in to the decisive lines. A second contribution is a persistent belief system: long-lived vulnerability hypotheses whose confidence is updated as evidence accrues. The agent employs coverage-versus-intuition planning and a QA finalizer to confirm or reject hypotheses. On a five-project subset of ScaBench[1], Hound improves recall and F1 over a baseline LLM analyzer (micro recall 31.2% vs. 8.3%; F1 14.2% vs. 9.8%) with a modest precision trade-off. We attribute these gains to flexible, relation-first graphs that extend model understanding beyond call/dataflow to abstract aspects, plus the hypothesis-centric loop; code and artifacts are released to support reproduction.

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

↑