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
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.