arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.11664cs.CRcs.AI
收藏

无服务器AI安全:基于FaaS的机器学习的攻击面分析与运行时保护机制

Serverless AI Security: Attack Surface Analysis and Runtime Protection Mechanisms for FaaS-Based Machine Learning

Carnegie Mellon University(卡内基梅隆大学)

Chetan Pathade, Vinod Dhimam, Sheheryar Ahmad, Ilsa Lareb

AI总结:

本文提出Serverless AI Shield框架,通过多层防护机制提升无服务器环境中机器学习的安全性,实现高检测率与低性能开销。

摘要:

无服务器计算已得到广泛应用,超过70%的AWS组织使用无服务器解决方案[1]。同时,机器学习推断工作负载越来越多地迁移到函数即服务(FaaS)平台,以利用其可扩展性和成本效益[2],[3],[4]。然而,这种融合引入了关键的安全挑战,最近的报告显示AI/ML漏洞增加了220%[5],而无服务器计算的碎片化架构带来了与传统云部署不同的新安全问题[6],[7]。本文首次对无服务器环境中的机器学习工作负载进行了全面的安全分析。我们系统地刻画了五个类别中的攻击面:函数层面的漏洞(冷启动利用,依赖污染)、模型特定的威胁(基于API的提取,对抗性输入)、基础设施攻击(跨函数污染,特权升级)、供应链风险(恶意层,后门库)以及IAM复杂性(短暂性,无服务器函数)。通过在AWS Lambda、Azure Functions和Google Cloud Functions上的实证评估,我们展示了现实中的攻击场景并量化了其安全影响。我们提出了Serverless AI Shield(SAS),一个多层防御框架,提供预部署验证、运行时监控和后执行取证。我们的评估显示SAS在检测率上达到94%,同时保持推理延迟的性能开销低于9%。我们发布了开源的安全工具包,以使从业者能够评估和加固其无服务器AI部署,推动该领域向更加健壮的云原生机器学习系统发展。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑