Metraipolis › archive › dc_b0fd123c350a

Compared to What? A Human-Anchored Security Benchmark for LLM-Generated Infrastructure-as-Code — arXiv:2608.28021

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.28021
License (as archived)
CC0-1.0
Archived
2026-10-17T10:43:14.534Z
SHA-256 of the archived text
66378d1e7c2bf0ca771039cba58752ca4c3f20e41f359a02793920281c036650
Stable URL of this page
https://metraipolis.com/documento/dc_b0fd123c350a

How to cite

Compared to What? A Human-Anchored Security Benchmark for LLM-Generated Infrastructure-as-Code — arXiv:2608.28021 — arXiv (en), https://arxiv.org/abs/2608.28021 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b0fd123c350a (Metraipolis archive dc_b0fd123c350a, sha256 66378d1e7c2bf0ca771039cba58752ca4c3f20e41f359a02793920281c036650)
BibTeX
@misc{dcb0fd123c350a,
  title = {Compared to What? A Human-Anchored Security Benchmark for LLM-Generated Infrastructure-as-Code — arXiv:2608.28021},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.28021},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b0fd123c350a; sha256 66378d1e7c2bf0ca771039cba58752ca4c3f20e41f359a02793920281c036650},
  year = {2026}
}

Archived text

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

Large language models increasingly author Infrastructure-as-Code (IaC), where one insecure default is provisioned straight into production. Prior evaluations report vulnerability counts for models only, and so cannot say whether models are worse than the engineers they assist. We present GenIaC-SecBench: 100 deployment scenarios across 12 model configurations from six vendors, open and closed weights, yielding 1,196 artifacts scanned by three policy engines (Checkov, Trivy, KICS) at complete coverage. Crucially we scan 634 human-authored IaC templates with the identical toolchain, giving the first size-matched human security baseline for this task. Vulnerability density is strongly inverse to artifact size (Spearman $\rho=-0.55$, $p<10^{-77}$), so unmatched comparisons measure size, not security. Size-matched, every configuration exceeds the human baseline at $3.21\times$ to $3.87\times$, and the gap widens as tasks get simpler ($4.9\times$ at one resource, $1.4\times$ at twenty or more). A majority of scenarios prescribe a security state rather than specifying function alone, so we stratify by prompt class: pooled the gap is $3.50\times$, and excluding every scenario that explicitly requests an insecure configuration still leaves all configurations above baseline ($2.4\times$ to $4.2\times$). The corpus cannot isolate unprompted default posture, and we say so. Decomposing "reasoning" into standard generation, prompted chain-of-thought, and vendor extended-thinking APIs, extended thinking beats prompted CoT ($-12.0\%$, $p=0.0013$) while prompted CoT alone is indistinguishable from standard ($-1.3\%$, n.s.); it consumes under $1\%$ of the output budget, bounding the effect. Two negative results: more deployable models are not more vulnerable ($r=0.158$, $p=0.625$), and complete-case Friedman is uncomputable here, motivating Skillings-Mack. All code and data are released.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-31 in cs.MA).
Categorie arXiv: Cryptography and Security (cs.CR) ; Artificial Intelligence (cs.AI); Multiagent Systems (cs.MA); Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.28021 — 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-17T10:33:20.610Z dalla pagina https://arxiv.org/catchup/cs.MA/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).