GLITCH: Automated Polyglot Security Smell Detection in Infrastructure as Code
Not on the map. Why?
Abstract (arXiv)
Infrastructure as Code (IaC) is the process of managing IT infrastructure via programmable configuration files (also called IaC scripts). Like other software artifacts, IaC scripts may contain security smells, which are coding patterns that can result in security weaknesses. Automated analysis tools to detect security smells in IaC scripts exist, but they focus on specific technologies such as Puppet, Ansible, or Chef. This means that when the detection of a new smell is implemented in one of the tools, it is not immediately available for the technologies supported by the other tools -- the only option is to duplicate the effort. This paper presents an approach that enables consistent security smell detection across different IaC technologies. We conduct a large-scale empirical study that analyzes security smells on three large datasets containing 196,755 IaC scripts and 12,281,251 LOC. We show that all categories of security smells are identified across all datasets and we identify some smells that might affect many IaC projects. To conduct this study, we developed GLITCH, a new technology-agnostic framework that enables automated polyglot smell detection by transforming IaC scripts into an intermediate representation, on which different security smell detectors can be defined. GLITCH currently supports the detection of nine different security smells in scripts written in Ansible, Chef, or Puppet. We compare GLITCH with state-of-the-art security smell detectors. The results obtained not only show that GLITCH can reduce the effort of writing security smell analyses for multiple IaC technologies, but also that it has higher precision and recall than the current state-of-the-art tools.
Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). First posted on arXiv 28 May 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Detection of security smells in IaC scripts through semantics-aware code and language processingcited by 0
- 2026IntelliSA: An Intelligent Static Analyzer for IaC Security Smell Detection Using Symbolic Rules and Neural Inferencecited by 0
- 2026Context-Aware Distillation and Ablation for Text2DSLcited by 0
- 2026Security-First Evaluation of Text-to-Terraform: Benchmarking LLMs and SLMs for Secure IaC Generationcited by 0
- 2026Compared to What? A Human-Anchored Security Benchmark for LLM-Generated Infrastructure-as-Codecited by 0
- 2026Compared to What? A Human-Anchored Security Benchmark for LLM-Generated Infrastructure-as-Code28 Aug 2026
- 2026Security-First Evaluation of Text-to-Terraform: Benchmarking LLMs and SLMs for Secure IaC Generation2 Aug 2026
- 2026Context-Aware Distillation and Ablation for Text2DSL21 Jun 2026
- 2026IntelliSA: An Intelligent Static Analyzer for IaC Security Smell Detection Using Symbolic Rules and Neural Inference21 Jan 2026
- 2025Detection of security smells in IaC scripts through semantics-aware code and language processing23 Sep 2025