Lune

USENIX Security2025Top-tier venue

CloudFlow: Identifying Security-sensitive Data Flows in Serverless Applications

Giuseppe Raffa, Jorge Blasco, Daniel O'Keeffe, Santanu Kumar Dash

Abstract

The serverless computing paradigm has significantly changed how modern cloud applications are developed. This model allows developers to focus on application business logic while outsourcing to the cloud provider infrastructure details such as machine provisioning. However, the serverless model also presents new security challenges. Among these, static analysis of application security, a fundamental part of the secure software development lifecycle, becomes more complex due to the presence of event-triggered code and the black-box nature of cloud services. In this paper, we present CloudFlow, a novel framework to statically detect security-sensitive data flows in serverless applications. To achieve this, CloudFlow leverages the infrastructure definition provided by the developer to identify the events, permissions and entry points of an application. Using this information and custom models for events and cloud API calls, it instruments the application code, which can then be analysed with general-purpose methods for static analysis. We evaluate our framework against a new suite of 40 microbenchmarks, CloudBench. Furthermore, we analyse 104 real-world applications selected from a recent dataset. To the best of our knowledge, this is the largest security-focused analysis of serverless applications to date. Our results show that CloudFlow passes all microbenchmarks, apart from three, and detects 11 code injection and information leakage vulnerabilities in real-world applications. Both CloudFlow and CloudBench are open-source to support future research.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ALASTOR: Reconstructing the Provenance of Serverless Intrusions cites Valve: Securing Function Workflows on Serverless Computing Platforms
  • Guarding Serverless Applications with Kalium cites Valve: Securing Function Workflows on Serverless Computing Platforms
  • Guarding Serverless Applications with Kalium cites ALASTOR: Reconstructing the Provenance of Serverless Intrusions
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on6

  1. Valve: Securing Function Workflows on Serverless Computing PlatformsPubali Datta, Prabuddha Kumar, Tristan Morris, Michael Grace et al.WWW 2020 · 79 citations
  2. Groundhog: Efficient Request Isolation in FaaSMohamed Alzayat, Jonathan Mace, Peter Druschel, Deepak GargEuroSys 2023 · 16 citations
  3. ALASTOR: Reconstructing the Provenance of Serverless IntrusionsPubali Datta, Isaac Polinsky, Muhammad Adil Inam, Adam Bates et al.USENIX Security 2022
  4. PyCG: Practical Call Graph Generation in PythonVitalis Salis, Thodoris Sotiropoulos, Panos Louridas, Diomidis Spinellis et al.ICSE 2021
  5. Guarding Serverless Applications with KaliumDeepak Sirone Jegan, Liang Wang, Siddhant Bhagat, Michael M. SwiftUSENIX Security 2023

Related papers

  1. Growlithe: A Developer-Centric Compliance Tool for Serverless ApplicationsPraveen Gupta, Arshia Moghimi, Devam Sisodraker, Mohammad Shahrad et al.S&P 2025
  2. ALPS: Automated Least-Privilege Enforcement for Securing Serverless FunctionsChanghee Shin, Bom Kim, Seungsoo LeeINFOCOM 2026 · 1 citation
  3. An empirical study on challenges of application development in serverless computingJinfeng Wen, Zhenpeng Chen, Yi Liu, Yiling Lou et al.FSE 2021 · 75 citations
  4. SeBS-Flow: Benchmarking Serverless Cloud Function WorkflowsLarissa Schmid, Marcin Copik, Alexandru Calotoiu, Laurin Brandner et al.EuroSys 2025 · 10 citations
  5. MinFlow: High-performance and Cost-efficient Data Passing for I/O-intensive Stateful Serverless AnalyticsTao Li, Yongkun Li, Wenzhe Zhu, Yinlong Xu et al.FAST 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines