arrow
Return

LLM-Based Misconfiguration Detection for AWS Serverless Computing

delete2026-04-01
delete2
PRE
AI
J
Jinfeng Wen *
陈震鹏 (Zhenpeng Chen)
Z
Zhu, Zixi
F
Federica Sarro
Y
Yi Liu
平皓弟 cover
平皓弟 (Haodi Ping)
S
Shangguang Wang
DOI:10.1145/3745766delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Serverless computing is a popular cloud computing paradigm that enables developers to build applications at the function level, known as serverless applications. The Serverless Application Model (AWS SAM) is the most widely adopted configuration schema. However, misconfigurations pose a significant challenge due to the complexity of serverless configurations and the limitations of traditional data-driven techniques. Recent advancements in Large Language Models (LLMs), pre-trained on large-scale public data, offer promising potential for identifying and explaining misconfigurations. In this article, we present SlsDetector, the first framework that harnesses the capabilities of LLMs to perform static misconfiguration detection in serverless applications. SlsDetector utilizes effective prompt engineering with zero-shot prompting to identify configuration issues. It designs multi-dimensional constraints aligned with serverless configuration characteristics and leverages the Chain of Thought technique to enhance LLM inferences, alongside generating structured responses. We evaluate SlsDetector on a curated dataset of 110 configuration files, which includes correct configurations, real-world misconfigurations, and intentionally injected errors. Our results show that Sls-Detector, based on ChatGPT-4o (one of the most representative LLMs), achieves a precision of 72.88%, recall of 88.18%, and F1-score of 79.75%, outperforming state-of-the-art data-driven methods by 53.82, 17.40, and 49.72 percentage points, respectively. We further investigate the generalization capability of SlsDetector across recent LLMs, including Llama 3.1 (405B) Instruct Turbo, Gemini 1.5 Pro, and DeepSeek V3, with consistently high effectiveness.
Keywords:
Serverless computing
Software configuration
Large language model

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

B
beijing university of posts & telecommunications
Scholars:
1.4W
Papers: 1.2W
Citations: 9
B
beijing university of technology
Scholars:
5.2K
Papers: 1.7K
Citations: 0
N
Nanyang Technological University
Scholars:
4.9W
Papers: 4.8W
Citations: 8.1W
U
university college london
Scholars:
8.1K
Papers: 4.4K
Citations: 1
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
researcher View more organizations