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:
6.0K
Papers: 2.0K
Citations: 0
U
university college london
Scholars:
8.9K
Papers: 4.8K
Citations: 1
N
Nanyang Technological University
Scholars:
4.9W
Papers: 4.8W
Citations: 8.1W
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
researcher View more organizations
Cited Papers

Cited Papers

err
IF0
err
err0
PREAI
err
errShare
errSave
Serverless linear algebra
err2020-10-12
err0
errOAAI
errVaishaal Shankar; Karl Krauth; Kailas Vodrahalli; Qifan Pu; Benjamin Recht; Ion Stoica; Jonathan Ragan-Kelley; Eric Jonas; Shivaram Venkataraman
errShare
errSave
Mining frequent patterns without candidate generation
err2000-05-16
err0
PREAI
errJiawei Han; Jian Pei; Yiwen Yin
errShare
errSave
errShare
errSave
Evaluating and Improving ChatGPT for Unit Test Generation
err2024-07-12
err0
PREAI
errZhiqiang Yuan; Mingwei Liu; Shiji Ding; Kaixin Wang; Yixuan Chen; Xin Peng; Yiling Lou
errShare
errSave
Serverless Computing-Where Are We Now, and Where Are We Heading?
err2021-01-01
err26
errOAAI
errTaibi, Davide; Spillner, Josef; Wawruch, Konrad
errShare
errSave
Understanding and Detecting On-The-Fly Configuration Bugs
err2023-05-01
err0
PREAI
errTeng Wang; Zhouyang Jia; Shanshan Li; Si Zheng; Yue Yu; Erci Xu; Shaoliang Peng; Xiangke Liao
errShare
errSave
researcher View more