IaC Generation with LLMs: An Error Taxonomy and A Study on Configuration Knowledge Injection
Jheronimus Academy of Data Science(Jheronimus数据科学学院);Tilburg University(蒂尔堡大学);Eindhoven University of Technology(埃因霍温理工大学);University of Sannio(萨诺尼大学)
Roman Nekrasov, Stefano Fossati, Indika Kumara, Damian Andrew Tamburri, Willem-Jan van den Heuvel
Large Language Models (LLMs) currently exhibit low success rates in generating correct and intent-aligned Infrastructure as Code (IaC). This research investigated methods to improve LLM-based IaC generation, specifically for Terraform, by systematically injecting structured configuration knowledge. To facilitate this, an existing IaC-Eval benchmark was significantly enhanced with cloud emulation and automated error analysis. Additionally, a novel error taxonomy for LLM-assisted IaC code generation was developed. A series of knowledge injection techniques was implemented and evaluated, progressing from Naive Retrieval-Augmented Generation (RAG) to more sophisticated Graph RAG approaches. These included semantic enrichment of graph components and modeling inter-resource dependencies. Experimental results demonstrated that while baseline LLM performance was poor (27.1% overall success), injecting structured configuration knowledge increased technical validation success to 75.3% and overall success to 62.6%. Despite these gains in technical correctness, intent alignment plateaued, revealing a "Correctness-Congruence Gap" where LLMs can become proficient "coders" but remain limited "architects" in fulfilling nuanced user intent.
Taxonomy, Evaluation and Exploitation of IPI-Centric LLM Agent Defense Frameworks
The Hong Kong University of Science and Technology(香港科技大学);Zhejiang University of Technology(浙江工业大学);Lingnan University(岭南大学);School of Cyber Science and Engineering, Southeast University(东南大学计算机科学与工程学院);ZTE Corporation(中兴通讯有限公司)
Beyond Blind Spots: Analytic Hints for Mitigating LLM-Based Evaluation Pitfalls
Ora Nova Fandina(奥拉诺瓦·法丁纳);Eitan Farchi(埃itan·法奇);Shmulik Froimovich(什mulik·弗罗伊米奇);Raviv Gal(拉维夫·加尔);Wesam Ibraheem(韦萨姆·伊布拉希姆);Rami Katan(拉米·卡坦);Alice Podolsky(艾丽斯·波德洛斯基)
Towards Secure Logging: Characterizing and Benchmarking Logging Code Security Issues with LLMs
York University(约克大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));University of Waterloo(滑铁卢大学);University of Alberta(阿尔伯塔大学)
MemPoison: Uncovering Persistent Memory Threats and Structural Blind Spots in LLM Agents
State Key Laboratory for Novel Software Technology, Nanjing University, China(南京大学新型软件技术国家重点实验室);NARI Group Corporation/State Grid Electric Power Research Institute, China(国网电力研究院/国电电力集团)
Systematization of Knowledge: Security and Safety in the Model Context Protocol Ecosystem
Tribhuvan University(特里布文大学);University of North Dakota(北达科他大学);Youngstown State University(亚当斯州立大学);University of Missouri(密苏里大学);University of Toledo(托莱多大学)
Demystifying Agent Skills: Why They Work-Until They Don't
Princeton University(普林斯顿大学);UC San Diego(加州大学圣迭戈分校);Stanford University(斯坦福大学);University of Southern California(南加利福尼亚大学);Johns Hopkins University(约翰斯·霍普金斯大学)
From Prompt Injections to Protocol Exploits: Threats in LLM-Powered AI Agents Workflows
Department of Computer and Network Engineering, College of Information Technology, United Arab Emirates University(阿联酋大学计算机与网络工程系);Technology Innovation Institute(技术创新研究所);Eötvös Loránd University(埃奥瓦大学);Department of Computer Science, Guelma University(古尔马大学计算机科学系);De Montfort University(德蒙福特大学);Khalifa University of Science and Technology(卡里玛科学技术大学)