Automated Repair of OpenID Connect Programs (Extended Version)

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Rahat, Tamjid Al, Chen, Yanju, Feng, Yu, Tian, Yuan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911190653861888
author Rahat, Tamjid Al
Chen, Yanju
Feng, Yu
Tian, Yuan
author_facet Rahat, Tamjid Al
Chen, Yanju
Feng, Yu
Tian, Yuan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_02773
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automated Repair of OpenID Connect Programs (Extended Version)
Rahat, Tamjid Al
Chen, Yanju
Feng, Yu
Tian, Yuan
Software Engineering
Cryptography and Security
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.
title Automated Repair of OpenID Connect Programs (Extended Version)
topic Software Engineering
Cryptography and Security
url https://arxiv.org/abs/2510.02773