GenKubeSec: LLM-Based Kubernetes Misconfiguration Detection, Localization, Reasoning, and Remediation
Not on the map. Why?
Abstract (arXiv)
A key challenge associated with Kubernetes configuration files (KCFs) is that they are often highly complex and error-prone, leading to security vulnerabilities and operational setbacks. Rule-based (RB) tools for KCF misconfiguration detection rely on static rule sets, making them inherently limited and unable to detect newly-discovered misconfigurations. RB tools also suffer from misdetection, since mistakes are likely when coding the detection rules. Recent methods for detecting and remediating KCF misconfigurations are limited in terms of their scalability and detection coverage, or due to the fact that they have high expertise requirements and do not offer automated remediation along with misconfiguration detection. Novel approaches that employ LLMs in their pipeline rely on API-based, general-purpose, and mainly commercial models. Thus, they pose security challenges, have inconsistent classification performance, and can be costly. In this paper, we propose GenKubeSec, a comprehensive and adaptive, LLM-based method, which, in addition to detecting a wide variety of KCF misconfigurations, also identifies the exact location of the misconfigurations and provides detailed reasoning about them, along with suggested remediation. When empirically compared with three industry-standard RB tools, GenKubeSec achieved equivalent precision (0.990) and superior recall (0.999). When a random sample of KCFs was examined by a Kubernetes security expert, GenKubeSec's explanations as to misconfiguration localization, reasoning and remediation were 100% correct, informative and useful. To facilitate further advancements in this domain, we share the unique dataset we collected, a unified misconfiguration index we developed for label standardization, our experimentation code, and GenKubeSec itself as an open-source tool.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 25 of its 79 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
25 of 79 references.
References · 25
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
13 more
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
- 2017Exploring Generalization in Deep Learningcited by 595
- 2019How to Fine-Tune BERT for Text Classification?cited by 409
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
- 2018A Survey of Unsupervised Deep Domain Adaptationcited by 361
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2023BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questionscited by 125
- 2019Exploiting BERT for End-to-End Aspect-based Sentiment Analysiscited by 57
- 2023Evaluation of ChatGPT Model for Vulnerability Detectioncited by 33
- 2023Can Large Language Models Provide Security & Privacy Advice? Measuring the Ability of LLMs to Refute Misconceptionscited by 20
- 2024Analyzing and Mitigating (with LLMs) the Security Misconfigurations of Helm Charts from Artifact Hubcited by 8
- 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factorscited by 6
- 2024LUCID: A Framework for Reducing False Positives and Inconsistencies Among Container Scanning Toolscited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 4.
11 papers.
- 2025A Survey of AIOps in the Era of Large Language Modelscited by 18
- 2024The Vision of Autonomic Computing: Can LLMs Make It a Reality?cited by 4
- 2025LADs: Leveraging LLMs for AI-Driven DevOpscited by 4
- 2026Can LLMs Really Recover Microservice Failures? A Recovery-Aware Evaluation of Diagnosis-to-Action Reasoningcited by 3
- 2025KubeGuard: LLM-Assisted Kubernetes Hardening via Configuration Files and Runtime Logs Analysiscited by 1
- 2026Does Runtime Topology Context Improve LLM-Generated Kubernetes Security Patches?cited by 1
- 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniquescited by 0
- 2025Detection of security smells in IaC scripts through semantics-aware code and language processingcited by 0
- 2025LLM-Powered Fully Automated Chaos Engineering: Towards Enabling Anyone to Build Resilient Software Systems at Low Costcited by 0
- 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediationcited by 0
- 2026Towards Secure Cloud-Native Computing: Unveiling Kubernetes Misconfigurations with Large Language Modelscited by 0
- 2026Does Runtime Topology Context Improve LLM-Generated Kubernetes Security Patches?28 Jul 2026
- 2026Towards Secure Cloud-Native Computing: Unveiling Kubernetes Misconfigurations with Large Language Models25 Jul 2026
- 2026Can LLMs Really Recover Microservice Failures? A Recovery-Aware Evaluation of Diagnosis-to-Action Reasoning6 Jul 2026
- 2026SHIELDS: Automating OS Hardening with Iterative Multi-Agent Remediation3 Jun 2026
- 2025LLM-Powered Fully Automated Chaos Engineering: Towards Enabling Anyone to Build Resilient Software Systems at Low Cost11 Nov 2025
- 2025Detection of security smells in IaC scripts through semantics-aware code and language processing23 Sep 2025
- 2025KubeGuard: LLM-Assisted Kubernetes Hardening via Configuration Files and Runtime Logs Analysis4 Sep 2025
- 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques18 Jul 2025
- 2025A Survey of AIOps in the Era of Large Language Models23 Jun 2025
- 2025LADs: Leveraging LLMs for AI-Driven DevOps28 Feb 2025
- 2024The Vision of Autonomic Computing: Can LLMs Make It a Reality?19 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2025LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurations
- 2026Kubernetes Misconfigurations in the Wild: Taxonomy, Evolution, and Automated Repair with Large Language Models ↗
- 2024LLM-Based Misconfiguration Detection for AWS Serverless Computing
- 2025Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimization
- 2026AnomalyGen: Enhancing Log-Based Anomaly Detection with Code-Guided Data Augmentation ↗
- 2026Auditable Graph-Guided Root Cause Analysis for Kubernetes Incidents
- 2025Repairing Tool Calls Using Post-tool Execution Reflection and RAG
- 2026Don't Let the Model Write the YAML: Deterministic, Minimal-Diff GitOps Remediation from LLM-Proposed Field Changes