PoliFlow: Inferring Control-Flow Policies from Serverless Workflows
Escaleira, P.
;
Cunha , V. A.
;
Barraca, JPB
;
Gomes, D.Gomes
;
Aguiar, R.
PoliFlow: Inferring Control-Flow Policies from Serverless Workflows, Proc IEEE International Symposium on Cluster, Cloud and Internet Computing CCGrid, Sydney, Australia, Vol. , pp. - , May, 2026.
Digital Object Identifier: 10.1109/CCGrid68966.2026.00078
Download Full text PDF ( 347 KBs)
Abstract
Serverless applications increasingly implement business logic as workflows spanning many functions and managed services, yet pairwise Role-Based Access Control (RBAC) permissions alone cannot guarantee that requests follow the intended execution order. To address this problem, we propose PoliFlow, a specification-first framework that enforces Control Flow Integrity (CFI) in serverless applications by inferring order-aware policies directly from workflow definitions, rather than through profiling or manually crafted RBAC policies. Given an explicit workflow or a workflow-like declarative specification, PoliFlow’s Extractor computes, for every function and service in a serverless application, the set of admissible execution paths. These paths are then enforced by a decentralized Enforcer co-located with each entity, which validates requests against precomputed prefixes and rejects executions that violate the intended global order, even when all pairwise permissions hold. A prototype across orchestrated workflow-based applications shows that PoliFlow can systematically harden serverless applications with modest overhead and without changes to application logic.