Serverless AI Security: Attack Surface Analysis and Runtime Protection Mechanisms for FaaS-Based Machine Learning
Not on the map. Why?
Abstract (arXiv)
Serverless computing has achieved widespread adoption, with over 70% of AWS organizations using serverless solutions [1]. Meanwhile, machine learning inference workloads increasingly migrate to Function-as-a-Service (FaaS) platforms for their scalability and cost-efficiency [2], [3], [4]. However, this convergence introduces critical security challenges, with recent reports showing a 220% increase in AI/ML vulnerabilities [5] and serverless computing's fragmented architecture raises new security concerns distinct from traditional cloud deployments [6], [7]. This paper presents the first comprehensive security analysis of machine learning workloads in serverless environments. We systematically characterize the attack surface across five categories: function-level vulnerabilities (cold start exploitation, dependency poisoning), model-specific threats (API-based extraction, adversarial inputs), infrastructure attacks (cross-function contamination, privilege escalation), supply chain risks (malicious layers, backdoored libraries), and IAM complexity (ephemeral nature, serverless functions). Through empirical assessments across AWS Lambda, Azure Functions, and Google Cloud Functions, we demonstrate real-world attack scenarios and quantify their security impact. We propose Serverless AI Shield (SAS), a multi-layered defense framework providing pre-deployment validation, runtime monitoring, and post-execution forensics. Our evaluation shows SAS achieves 94% detection rates while maintaining performance overhead below 9% for inference latency. We release an open-source security toolkit to enable practitioners to assess and harden their serverless AI deployments, advancing the field toward more resilient cloud-native machine learning systems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 61 references that are in the map. First posted on arXiv 15 Jan 2026.
Builds on
13 of 61 references.
References · 13
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2016Stealing Machine Learning Models via Prediction APIscited by 602
- 2024Membership Inference Attacks and Defenses in Federated Learning: A Surveycited by 27
- 2023Model Extraction Attacks Revisitedcited by 21
- 2017Serverless Computing: Current Trends and Open Problemscited by 17
- 2019Serverless Computing: A Survey of Opportunities, Challenges and Applicationscited by 11
- 2022Security for Machine Learning-based Software Systems: a survey of threats, practices and challengescited by 9
- 2023Cold Start Latency in Serverless Computing: A Systematic Review, Taxonomy, and Future Directionscited by 6
- 2024Serverless Cold Starts and Where to Find Themcited by 5
- 2021Serverless Computing: A Security Perspectivecited by 3
- 2022Adversarial Machine Learning Threat Analysis and Remediation in Open Radio Access Network (O-RAN)cited by 3
- 2021Securing Serverless Computing: Challenges, Solutions, and Opportunitiescited by 1
1 more
Built on by
Not cited yet.