Proceedings/Recueil Des Communications ICSOFT International Conference on Software Technologies Année : 2025

Dynamic Mitigation of RESTful Service Failures Using LLMs

Résumé

This paper presents a novel self-healing approach for RESTful services, leveraging the capabilities of large language models (LLMs) to generate source code that implement fine-grained mitigations. The proposed solution introduces 18 healing operators tailored for RESTful services, accommodating both grey-box and black-box perspectives. These operators implement a dual-mitigation strategy. The first mitigation employs encapsulation techniques, enabling dynamic service adaptation by generating supplementary source code without modifying the original implementation. If the primary mitigation fails, a fallback mitigation is applied to maintain service continuity. We investigate the potential of LLMs to perform the first mitigation of these healing operators by means of chains of prompts we specifically designed for these tasks. Furthermore, we introduce a novel metric that integrates test-passing correctness and LLM confidence, providing a rigorous evaluation framework for the effectiveness of the mitigations performed by LLMs. Preliminary experiments using four healing operators on 15 RESTful services with various and multiple vulnerabilities demonstrate the approach feasibility and adaptability across both grey-box and black-box perspectives.

Fichier principal
Vignette du fichier
p1.pdf (408.28 Ko) Télécharger le fichier

Dates et versions

hal-05266905 , version 1 (18-09-2025)

Licence

Identifiants

Citer

Sébastien Salva, Jarod Sue. Dynamic Mitigation of RESTful Service Failures Using LLMs. 20th International Conference on Software Technologies, Jun 2025, Bilbao, France. ICSOFT International Conference on Software Technologies, 1, SCITEPRESS - Science and Technology Publications, pp.27-38, 2025, 978-989-758-757-3. ⟨10.5220/0013460700003964⟩. ⟨hal-05266905⟩
203 Consultations
180 Téléchargements

Altmetric

Partager

  • More