mlsanityData to 7 Oct 2026

GenKubeSec: LLM-Based Kubernetes Misconfiguration Detection, Localization, Reasoning, and Remediation

arXiv 2405.19954 ↗First posted 30 May 2024cs.CR cs.CL cs.DCcited by 11

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2020Longformer: The Long-Document Transformercited by 3,362
  9. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  10. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  11. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  12. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
13 more
  1. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 622
  2. 2017Exploring Generalization in Deep Learningcited by 595
  3. 2019How to Fine-Tune BERT for Text Classification?cited by 409
  4. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  5. 2018A Survey of Unsupervised Deep Domain Adaptationcited by 361
  6. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  7. 2023BLIVA: A Simple Multimodal LLM for Better Handling of Text-Rich Visual Questionscited by 125
  8. 2019Exploiting BERT for End-to-End Aspect-based Sentiment Analysiscited by 57
  9. 2023Evaluation of ChatGPT Model for Vulnerability Detectioncited by 33
  10. 2023Can Large Language Models Provide Security & Privacy Advice? Measuring the Ability of LLMs to Refute Misconceptionscited by 20
  11. 2024Analyzing and Mitigating (with LLMs) the Security Misconfigurations of Helm Charts from Artifact Hubcited by 8
  12. 2024An Insight into Security Code Review with LLMs: Capabilities, Obstacles, and Influential Factorscited by 6
  13. 2024LUCID: A Framework for Reducing False Positives and Inconsistencies Among Container Scanning Toolscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 4.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLMSecConfig: An LLM-Based Approach for Fixing Software Container Misconfigurations
  2. 2026Kubernetes Misconfigurations in the Wild: Taxonomy, Evolution, and Automated Repair with Large Language Models ↗
  3. 2024LLM-Based Misconfiguration Detection for AWS Serverless Computing
  4. 2025Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimization
  5. 2026AnomalyGen: Enhancing Log-Based Anomaly Detection with Code-Guided Data Augmentation ↗
  6. 2026Auditable Graph-Guided Root Cause Analysis for Kubernetes Incidents
  7. 2025Repairing Tool Calls Using Post-tool Execution Reflection and RAG
  8. 2026Don't Let the Model Write the YAML: Deterministic, Minimal-Diff GitOps Remediation from LLM-Proposed Field Changes