Static detection of silent misconfigurations with deep interaction analysis
Jialu Zhang, Ruzica Piskac, Ennan Zhai, Tianyin Xu
摘要
The behavior of large systems is guided by their configurations: users set parameters in the configuration file to dictate which corresponding part of the system code is executed. However, it is often the case that, although some parameters are set in the configuration file, they do not influence the system runtime behavior, thus failing to meet the user's intent. Moreover, such misconfigurations rarely lead to an error message or raising an exception. We introduce the notion of silent misconfigurations which are prohibitively hard to identify due to (1) lack of feedback and (2) complex interactions between configurations and code.
This paper presents ConfigX, the first tool for the detection of silent misconfigurations. The main challenge is to understand the complex interactions between configurations and the code that they affected. Our goal is to derive a specification describing non-trivial interactions between the configuration parameters that lead to silent misconfigurations. To this end, ConfigX uses static analysis to determine which parts of the system code are associated with configuration parameters. ConfigX then infers the connections between configuration parameters by analyzing their associated code blocks. We design customized control-and data-flow analysis to derive a specification of configurations. Additionally, we conduct reachability analysis to eliminate spurious rules to reduce false positives. Upon evaluation on five real-world datasets across three widely-used systems, Apache, vsftpd, and PostgreSQL, ConfigX detected more than 2200 silent misconfigurations. We additionally conducted a user study where we ran ConfigX on misconfigurations reported on user forums by real-world users. ConfigX easily detected issues and suggested repairs for those misconfigurations. Our solutions were accepted and confirmed in the interaction with the users, who originally posted the problems.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Large Language Models as Configuration Validators 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
- Large Language Models as Configuration Validators 引用了 Understanding and discovering software configuration dependencies in cloud and datacenter systems
- Large Language Models as Configuration Validators 引用了 Test Selection for Unified Regression Testing
- Large Language Models as Configuration Validators 引用了 Testing Configuration Changes in Context to Prevent Production Failures
- Large Language Models as Configuration Validators 引用了 Towards Continuous Access Control Validation and Forensics
- Understanding and discovering software configuration dependencies in cloud and datacenter systems 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
- Understanding and discovering software configuration dependencies in cloud and datacenter systems 引用了 Testing Configuration Changes in Context to Prevent Production Failures
- Testing Configuration Changes in Context to Prevent Production Failures 引用了 Understanding and discovering software configuration dependencies in cloud and datacenter systems
- Understanding and discovering software configuration dependencies in cloud and datacenter systems 引用了 Towards Continuous Access Control Validation and Forensics
- Test Selection for Unified Regression Testing 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
- Test Selection for Unified Regression Testing 引用了 Understanding and discovering software configuration dependencies in cloud and datacenter systems
- Test Selection for Unified Regression Testing 引用了 Testing Configuration Changes in Context to Prevent Production Failures
- Testing Configuration Changes in Context to Prevent Production Failures 引用了 Towards Continuous Access Control Validation and Forensics
- Unearthing Semantic Checks for Cloud Infrastructure-as-Code Programs 引用了 Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change Analysis
引用它的顶会 Paper11
- PyDex: Repairing Bugs in Introductory Python Assignments using LLMsJialu Zhang, José Pablo Cambronero, Sumit Gulwani, Vu Le 等OOPSLA 2024 · 38 次引用
- Test Selection for Unified Regression TestingShuai Wang, Xinyu Lian, Darko Marinov, Tianyin XuICSE 2023 · 9 次引用
- Large Language Models as Configuration ValidatorsXinyu Lian, Yinfang Chen, Runxiang Cheng, Jie Huang 等ICSE 2025 · 7 次引用
- Runtime Protocol Refinement Checking for Distributed Protocol ImplementationsDing Ding, Zhanghan Wang, Jinyang Li, Aurojit PandaNSDI 2025 · 6 次引用
- Unearthing Semantic Checks for Cloud Infrastructure-as-Code ProgramsYiming Qiu, Patrick Tser Jern Kon, Ryan Beckett, Ang ChenSOSP 2024 · 4 次引用
它引用的 Paper12
- Rex: Preventing Bugs and Misconfiguration in Large Services Using Correlated Change AnalysisSonu Mehta, Ranjita Bhagwan, Rahul Kumar, Chetan Bansal 等NSDI 2020 · 65 次引用
- Testing Configuration Changes in Context to Prevent Production FailuresXudong Sun, Runxiang Cheng, Jianyan Chen, Elaine Ang 等OSDI 2020 · 61 次引用
- Accuracy, Scalability, Coverage: A Practical Configuration Verifier on a Global WANFangdan Ye, Da Yu, Ennan Zhai, Hongqiang Harry Liu 等SIGCOMM 2020 · 55 次引用
- Understanding and discovering software configuration dependencies in cloud and datacenter systemsQingrong Chen, Teng Wang, Owolabi Legunsen, Shanshan Li 等FSE 2020 · 54 次引用
- Towards Continuous Access Control Validation and ForensicsChengcheng Xiang, Yudong Wu, Bingyu Shen, Mingyao Shen 等CCS 2019 · 48 次引用
相关 Paper
- Automated Reasoning and Detection of Specious Configuration in Large Systems with Symbolic ExecutionYigong Hu, Gongqi Huang, Peng HuangOSDI 2020 · 31 次引用
- ConfTainter: Static Taint Analysis For Configuration OptionsTeng Wang, Haochen He, Xiaodong Liu, Shanshan Li 等ASE 2023 · 12 次引用
- Multi-Intention-Aware Configuration Selection for Performance TuningHaochen He, Zhouyang Jia, Shanshan Li, Yue Yu 等ICSE 2022 · 11 次引用
- DiagConfig: Configuration Diagnosis of Performance Violations in Configurable Software SystemsZhiming Chen, Pengfei Chen, Peipei Wang, Guangba Yu 等FSE 2023 · 9 次引用
- Tailoring programs for static analysis via program transformationRijnard van Tonder, Claire Le GouesICSE 2020 · 6 次引用
