paperbot · PL 论文追踪

全部论文 待读 收藏

P1 Automated Repair of OpenID Connect Programs

OpenID Connect 程序的自动修复
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 5/10 · 论文将 LLM 补丁合成与 Petri 网模型检测(形式化验证)结合用于程序修复,与画像中“AI→PL:用 LLM/Agent 改进静态分析与形式化验证”的方向有部分重叠;但其核心场景是 OpenID Connect 认证协议的安全漏洞修复,既非静态分析工具本身,也非 Agentic/ML 系统或浮点、贝叶斯程序分析,属于相邻领域而非正中核心。引用 0 inbox
Tamjid Al Rahat, Yanju Chen, Yu Feng, Yuan Tian
crossref: 2026-09-12

AI 速览

一句话:提出反例引导的 OIDC 自动修复引擎 AuthFix,结合 LLM 合成补丁并以 Petri 网模型检测验证,修复 23 个缺陷中的 17 个。

OpenID Connect(OIDC)虽广泛用于单点登录,但其实现中的安全缺陷已造成严重经济损失与数据泄露,亟需自动修复手段;然而 OIDC 领域复杂、故障定位与补丁验证困难。本文提出 AuthFix,一个反例引导的自动修复引擎,利用 LLM 完成 OIDC 程序缺陷修复。它包含故障定位、补丁合成与补丁验证三个组件,并通过一种新颖的 Petri 网模型检测器对交互进行建模,从而保证生成补丁的正确性。在 OIDC 缺陷数据集上的评估表明,AuthFix 为 23 个缺陷中的 17 个(74%)成功生成了正确补丁,且其中很大比例的补丁与开发者手工修复在语义上等价。

问题
OpenID Connect(OIDC)实现中的安全缺陷会造成重大经济损失与安全事件,而自动修复需应对 OIDC 领域复杂性以及精确定位故障和验证补丁的挑战。
方法
提出 AuthFix:一个反例引导、由 LLM 驱动的修复引擎,整合故障定位、补丁合成与补丁验证,并使用新型 Petri 网模型检测器对交互建模以校验补丁正确性。
评估
在 OpenID 缺陷数据集上评估,AuthFix 为 23 个缺陷中的 17 个(74%)生成正确补丁,且高比例补丁与开发者编写的修复语义等价。
原文摘要(Abstract)

OpenID Connect has revolutionized online authentication based on single sign-on (SSO) by providing a secure and convenient method for accessing multiple services with a single set of credentials. Despite its widespread adoption, critical security bugs in OpenID Connect have resulted in significant financial losses and security breaches, highlighting the need for robust mitigation strategies. Automated program repair presents a promising solution for generating candidate patches for OpenID implementations. However, challenges such as domain-specific complexities and the necessity for precise fault localization and patch verification must be addressed. We propose AuthFix, a counterexample-guided repair engine leveraging LLMs for automated OpenID bug fixing. AuthFix integrates three key components: fault localization, patch synthesis, and patch verification. By employing a novel Petri-net-based model checker, AuthFix ensures the correctness of patches by effectively modeling interactions. Our evaluation on a dataset of OpenID bugs demonstrates that AuthFix successfully generated correct patches for 17 out of 23 bugs (74%), with a high proportion of patches semantically equivalent to developer-written fixes.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot9308,
  title = {Automated Repair of OpenID Connect Programs},
  author = {Tamjid Al Rahat and Yanju Chen and Yu Feng and Yuan Tian},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00187}
}