arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.20692cs.SEcs.AIcs.FL
收藏

探索大型语言模型用于访问控制策略合成与摘要

Neurosymbolic Characterization for Reliable Access Control Policy Analysis

Adarsh Vatsa, Bethel Hall, William Eiers

AI总结:

研究LLM在访问控制策略自动生成中的有效性,发现非推理LLM仅45.8%生成等价策略,推理LLM达93.7%,并提出基于语义的请求摘要方法辅助策略分析。

摘要:

云计算无处不在,每天都有越来越多的服务托管在云上。典型的云计算系统允许管理员编写实现访问控制规则的策略,这些规则指定如何管理对私有数据的访问。这些策略必须手动编写,并且由于其复杂性,常常容易出错。此外,现有策略通常实现复杂的访问控制规范,因此难以精确分析以确定其行为是否完全符合预期。最近,大型语言模型(LLM)在自动代码合成和摘要方面取得了巨大成功。鉴于这一成功,它们可能被用于自动生成访问控制策略或帮助理解现有策略。在本文中,我们探讨了LLM在访问控制策略合成和摘要方面的有效性。具体来说,我们首先研究了多种LLM用于访问控制策略合成,发现:尽管LLM可以有效生成语法正确的策略,但它们存在权限过度问题,非推理LLM仅45.8%的时间生成与给定规范等价的策略,而推理LLM则为93.7%。然后,我们通过引入一种新颖的基于语义的请求摘要方法,利用LLM生成策略所允许请求的精确特征,来研究如何使用LLM分析策略。我们的结果表明,尽管在利用LLM进行自动化策略生成方面存在重大障碍,但LLM在与符号方法结合分析现有策略时显示出有希望的结果。

英文摘要:

Access control policies are reliability-critical configuration artifacts in cloud systems, yet administrators frequently struggle to verify that a policy permits exactly what they intend. This verification gap cannot be remedied by using LLMs to synthesize policies: we find that reasoning and non-reasoning LLMs fluently explain policy behavior but cannot reason about policy semantics with reliability-grade precision, even when the specification is the LLM's own explanation. We formulate this impasse as the Verifiable Synthesis Paradox: the verification gap persists regardless of how the policy was authored. To remedy this, we introduce PolicySummarizer, a neurosymbolic tool that pairs finite-state automata with an LLM-based simplification to generate precise human-readable characterizations of requests allowed by a policy. PolicySummarizer uses model counting to guarantee the fidelity of the generated characterization by rejecting characterizations that fall below a user-configured threshold in favor of the formally derived one. On 546 AWS, 100 Microsoft Azure, and 100 Google Cloud Platform policies, PolicySummarizer achieves a mean similarity score of 0.93 and a 2.7x improvement over an SMT-based baseline. In a user study, PolicySummarizer raised policy-change-review accuracy from 39% to 93% on the hardest sub-task while reducing self-reported mental demand. We release PolicySummarizer as an open-source tool.

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

↑