Metraipolis › archive › dc_81efc1a5d0e5

IaC-Guard-V: A Verification Framework for LLM-Generated Infrastructure-as-Code Repairs — arXiv:2609.28488

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.28488
License (as archived)
CC0-1.0
Archived
2026-10-08T06:01:45.421Z
SHA-256 of the archived text
5e85937e6a20bd33bf08b74eec69b44146712c9c683d3f35515cfc1e0a1eb931
Stable URL of this page
https://metraipolis.com/documento/dc_81efc1a5d0e5

How to cite

IaC-Guard-V: A Verification Framework for LLM-Generated Infrastructure-as-Code Repairs — arXiv:2609.28488 — arXiv (en), https://arxiv.org/abs/2609.28488 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_81efc1a5d0e5 (Metraipolis archive dc_81efc1a5d0e5, sha256 5e85937e6a20bd33bf08b74eec69b44146712c9c683d3f35515cfc1e0a1eb931)
BibTeX
@misc{dc81efc1a5d0e5,
  title = {IaC-Guard-V: A Verification Framework for LLM-Generated Infrastructure-as-Code Repairs — arXiv:2609.28488},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.28488},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_81efc1a5d0e5; sha256 5e85937e6a20bd33bf08b74eec69b44146712c9c683d3f35515cfc1e0a1eb931},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.28488. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Infrastructure-as-Code (IaC) misconfigurations are a leading cause of cloud security incidents, and Large Language Models (LLMs) are increasingly proposed as automated repair agents. Yet the trustworthiness of LLM-generated IaC repairs remains underexplored. IaC presents distinctive verification challenges: security scanners may behave differently across tools and configurations, infrastructure semantics cannot be validated through ordinary unit tests, and provider-specific rules create a fragmented verification landscape. We present IaC-Guard-V, a verification-centered framework that evaluates AI-generated IaC repairs through four dimensions: syntactic validity, target-issue resolution, regression safety, and patch minimality. We construct a benchmark of 70 real-world misconfigured Terraform and Kubernetes artifacts spanning 70 unique scanner rules and eight violation classes, and evaluate three repair strategies across three LLM families in 630 runs. Although all models achieve 100% syntactic validity, only 32-50% of single-shot repairs pass full verification. Verification-guided iterative repair significantly improves verified-fix rates to 68-92%. An open-source model with verification-guided repair outperforms the strongest commercial model without verification at one-twelfth the cost per verified fix. Kubernetes repairs reach near-perfect rates for commercial models but require verification-guided iteration for the open-source model. Structured prompting consistently reduces Terraform repair quality, challenging common assumptions about constrained LLM output. The benchmark and artifacts are released for reproducibility.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-25 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.28488 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T05:25:51.925Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).