Skip to content

A New Era of Software Security: Toward Self-Healing Software with Large Language Models and Formal VerificationA New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verification

arXiv· arXiv:2305.14752· International Conference/Workshop on Automation of Software Test 2025· Norbert Tihanyi, Ridhi Jain, Yiannis Charalambous, Mohamed Amine Ferrag, Youcheng Sun, Lucas C. Cordeiro·Indexed by this site · 23 days ago· Originally publishedDefenses
AI summary

The paper proposes an automated software vulnerability repair method that combines large language models with formal verification: first, bounded model checking (BMC) is used to extract vulnerability counterexamples and stack traces, which are handed to an LLM for repair and then re-verified with BMC. Its ESBMC-AI framework combines ESBMC with a pretrained transformer model and is evaluated on 50,000 C programs randomly selected from the FormAI dataset, and is claimed to detect and repair buffer overflows, arithmetic overflows, and pointer dereference failures with high accuracy. The framework is positioned as a preliminary attempt that can be integrated into CI/CD pipelines.

Read originalInternational Conference/Workshop on Automation of Software Test 2025