arrow
返回

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
平皓弟 封面图
平皓弟 (Haodi Ping)
S
Shangguang Wang
DOI:10.1145/3745766delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

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.
Keyword:
Serverless computing
Software configuration
Large language model

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

B
beijing university of posts & telecommunications
学者数:
1.4W
论文数: 1.2W
被引数: 9
B
beijing university of technology
学者数:
6.0K
论文数: 2.0K
被引数: 0
U
university college london
学者数:
8.9K
论文数: 4.8K
被引数: 1
N
Nanyang Technological University
学者数:
4.9W
论文数: 4.8W
被引数: 8.1W
U
university of london
学者数:
21.5W
论文数: 19.7W
被引数: 305
学者 查看更多机构
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
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
err分享
err收藏
Mining frequent patterns without candidate generation
err2000-05-16
err0
PREAI
errJiawei Han; Jian Pei; Yiwen Yin
err分享
err收藏
Evaluating and Improving ChatGPT for Unit Test Generation评估和改进ChatGPT以用于单元测试生成
err2024-07-12
err0
PREAI
errZhiqiang Yuan; Mingwei Liu; Shiji Ding; Kaixin Wang; Yixuan Chen; Xin Peng; Yiling Lou
err分享
err收藏
Serverless Computing-Where Are We Now, and Where Are We Heading?
err2021-01-01
err26
errOAAI
errTaibi, Davide; Spillner, Josef; Wawruch, Konrad
err分享
err收藏
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
err分享
err收藏
学者 查看更多内容