Lune

ASE2022顶会

GLITCH: Automated Polyglot Security Smell Detection in Infrastructure as Code

Nuno Saavedra, João F. Ferreira

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Unfulfilled Promises: LLM-Based Detection of OS Compatibility Issues in Infrastructure as Code 引用了 When Your Infrastructure Is a Buggy Program: Understanding Faults in Infrastructure as Code Ecosystems
  • Unfulfilled Promises: LLM-Based Detection of OS Compatibility Issues in Infrastructure as Code 引用了 State Reconciliation Defects in Infrastructure as Code
  • Unfulfilled Promises: LLM-Based Detection of OS Compatibility Issues in Infrastructure as Code 引用了 Gang of eight: a defect taxonomy for infrastructure as code scripts
  • Unfulfilled Promises: LLM-Based Detection of OS Compatibility Issues in Infrastructure as Code 引用了 Practical fault detection in puppet programs
  • When Your Infrastructure Is a Buggy Program: Understanding Faults in Infrastructure as Code Ecosystems 引用了 State Reconciliation Defects in Infrastructure as Code
  • When Your Infrastructure Is a Buggy Program: Understanding Faults in Infrastructure as Code Ecosystems 引用了 Gang of eight: a defect taxonomy for infrastructure as code scripts
  • When Your Infrastructure Is a Buggy Program: Understanding Faults in Infrastructure as Code Ecosystems 引用了 Practical fault detection in puppet programs
  • State Reconciliation Defects in Infrastructure as Code 引用了 Gang of eight: a defect taxonomy for infrastructure as code scripts
  • State Reconciliation Defects in Infrastructure as Code 引用了 Practical fault detection in puppet programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. When Your Infrastructure Is a Buggy Program: Understanding Faults in Infrastructure as Code EcosystemsGeorgios-Petros Drosos, Thodoris Sotiropoulos, Georgios Alexopoulos, Dimitris Mitropoulos 等OOPSLA 2024 · 14 次引用
  2. State Reconciliation Defects in Infrastructure as CodeMd. Mahadi Hassan, John Salvador, Shubhra Kanti Karmaker Santu, Akond RahmanFSE 2024 · 8 次引用
  3. Unfulfilled Promises: LLM-Based Detection of OS Compatibility Issues in Infrastructure as CodeGeorgios-Petros Drosos, Georgios Alexopoulos, Thodoris Sotiropoulos, Dimitris Mitropoulos 等FSE 2026

它引用的 Paper3

  1. Gang of eight: a defect taxonomy for infrastructure as code scriptsAkond Rahman, Effat Farhana, Chris Parnin, Laurie A. WilliamsICSE 2020 · 58 次引用
  2. What helped, and what did not? An Evaluation of the Strategies to Improve Continuous IntegrationXianhao Jin, Francisco ServantICSE 2021 · 26 次引用
  3. Practical fault detection in puppet programsThodoris Sotiropoulos, Dimitris Mitropoulos, Diomidis SpinellisICSE 2020 · 22 次引用

相关 Paper

  1. Leveraging Practitioners' Feedback to Improve a Security LinterSofia Reis, Rui Abreu, Marcelo d'Amorim, Daniel FortunatoASE 2022 · 16 次引用
  2. Your Build Scripts Stink: The State of Code Smells in Build ScriptsMahzabin Tamanna, Yash Chandrani, Matthew Burrows, Brandon Wroblewski 等ASE 2025 · 1 次引用
  3. Configuration smells in continuous delivery pipelines: a linter and a six-month study on GitLabCarmine Vassallo, Sebastian Proksch, Anna Jancso, Harald C. Gall 等FSE 2020 · 43 次引用
  4. An Empirical Study and Benchmark of Kubernetes Misconfiguration ScannersHaeun Eom, Bohyun Suk, Sungjae HwangISSTA 2026
  5. The Smelly Eight: An Empirical Study on the Prevalence of Code Smells in Quantum ComputingQihong Chen, Rúben Câmara, José Campos, André Souto 等ICSE 2023 · 23 次引用
黄昏的海面,两侧是细线勾勒的悬崖