arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.09957cs.DCcs.CRcs.SE
收藏

CloudFix: 利用大语言模型实现云访问控制策略的自动化修复

CloudFix: Automated Policy Repair for Cloud Access Control Policies Using Large Language Models

Stevens Institute of Technology(史蒂文斯理工学院)

Bethel Hall, Owen Ungaro, William Eiers

AI总结:

CloudFix利用大语言模型和形式方法,实现云访问控制策略的自动化修复,提高修复准确性和效率。

摘要:

访问控制策略对于保障现代云计算的安全至关重要,其中组织需要在分布式系统环境中管理成千上万用户的敏感数据访问。云管理员通常手动编写和更新策略,这可能是一个易出错且耗时的过程,可能导致安全漏洞。现有基于符号分析的方法在自动化调试和修复访问控制策略方面取得了成功;然而,在云访问控制的背景下,其通用性有限。相反,大语言模型(LLMs)已被用于自动化程序修复;然而,其在修复云访问控制策略方面的适用性尚未被探索。在本工作中,我们介绍了CloudFix,这是首个结合形式方法与LLMs的云访问控制策略自动化修复框架。给定一个访问控制策略和允许和拒绝访问请求的规范,CloudFix采用基于形式方法的故障定位来识别策略中的故障语句,并利用LLMs生成潜在的修复方案,然后通过SMT求解器进行验证。为了评估CloudFix,我们整理了一个包含282个真实世界AWS访问控制策略的数据集,这些策略来自论坛帖子,并通过基于真实场景的合成请求集进行了增强。我们的实验结果表明,CloudFix在不同请求规模下均优于基线实现。我们的工作首次利用LLMs进行策略修复,展示了LLMs在访问控制中的有效性,并实现了云访问控制策略的高效自动化修复。我们公开了工具Cloudfix和AWS数据集。

英文摘要:

Access control policies are vital for securing modern cloud computing, where organizations must manage access to sensitive data across thousands of users in distributed system settings. Cloud administrators typically write and update policies manually, which can be an error-prone and time-consuming process and can potentially lead to security vulnerabilities. Existing approaches based on symbolic analysis have demonstrated success in automated debugging and repairing access control policies; however, their generalizability is limited in the context of cloud-based access control. Conversely, Large Language Models (LLMs) have been utilized for automated program repair; however, their applicability to repairing cloud access control policies remains unexplored. In this work, we introduce CloudFix, the first automated policy repair framework for cloud access control that combines formal methods with LLMs. Given an access control policy and a specification of allowed and denied access requests, CloudFix employs Formal Methods-based Fault Localization to identify faulty statements in the policy and leverages LLMs to generate potential repairs, which are then verified using SMT solvers. To evaluate CloudFix, we curated a dataset of 282 real-world AWS access control policies extracted from forum posts and augmented them with synthetically generated request sets based on real scenarios. Our experimental results show that CloudFix improves repair accuracy over a Baseline implementation across varying request sizes. Our work is the first to leverage LLMs for policy repair, showcasing the effectiveness of LLMs for access control and enabling efficient and automated repair of cloud access control policies. We make our tool Cloudfix and AWS dataset publicly available.

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

↑