Paladin: A Policy Framework for Securing Cloud APIs by Combining Application Context with Generative AI

Shriti Priya, Julian James Stephen, Arjun Natarajan · 2026

Read Paladin: A Policy Framework for Securing Cloud APIs by Combining Application Context with Generative AI by Shriti Priya, Julian James Stephen, Arjun Natarajan (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-10228.txt.

Introduction

Shriti Priya, Julian James Stephen and Arjun Natarajan build Paladin, a policy framework for securing cloud APIs with application context. Cloud workloads face threats that exploit application layer flaws, and stopping them needs awareness of what each request means. Paladin uses large language models to extract that semantic meaning, giving administrators an application agnostic way to write policies. High performance proxies then match requests to policies and enforce them automatically.

Catalog record

CREATORShriti Priya, Julian James Stephen, Arjun Natarajan
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE51341
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2603.10228

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Paladin: A Policy Framework for Securing Cloud APIs by Combining Application Context with Generative AI Shriti Priya, Julian James Stephen, Arjun Natarajan Abstract . Enterprises and organizations today increasingly deploy in-house, cloud based applications and APIs for internal operations or external customers. These deployments deal with increasing number of threats, despite security features offered by cloud service providers. This work focus on threats that exploit application layer vulnerabilities of cloud workloads. Prevention and mitigation measures against such threats need to be cognizant of application semantics, posing a hurdle to existing solutions. In this work, we design and implement a security framework that allow cloud workload administrators to easily define and enforce policies capable of preventing (i) unrestricted resource consumption, (ii) unrestricted access to sensitive business flows, and (iii) broken authentication. Our framework, Paladin, leverages large language models to extract sufficient semantic meaning from API requests to provide cloud administrators with an application agnostic policy definition interface. Once defined, requests are automatically matched with relevant policies and enforced by high performance proxies. Evaluations with our prototype show that such a framework has broad applicability across applications, good policy identification accuracy (81%), and reasonable overheads (14%), making it substantially easier to define and enforce cross application policies. 1. Introduction Institutions, industries and governments utilize cloud based compute resources in one form or another. Today, cloud applications encompass banking systems ( 22 ) , space research ( 51 ) , health care ( 58 ) , and other key services in society. Within web based development methodologies, creating application programming interfaces (APIs), especially RESTful ( 31 ) APIs have become extremely popular. Ensuring these applications or APIs are secure from attacks, data leaks and other misuse, while remaining available for its intended use is of primary concern for these organizations. Layer 7 attacks target application layer (OSI ( 23 ) ) resources like web APIs and data servers. Researchers have extensively studied how to prevent various layer 7 attacks like denial of service (DoS) ( 64 ; 34 ; 29 ) , injection attacks ( 57 ; 17 ; 21 ) , cross-site request forgery (CSRF) ( 4 ; 65 ) and more. Still, applications and APIs are getting deployed with known and preventable vulnerabilities. This leads to an orthogonal need for organizations to protect their many and varied cloud based APIs with a strong set of policies. The primary goal of these set of policies would be to ensure an organizational level of protection, irrespective of the quality or safety of individual applications. Challenges. Towards defining and enforcing such policies, organizations face a wide array of challenges. Consider a scenario where applications in the cluster are exposing endpoints which are not secured against unrestricted resource consumption. E.g., an API endpoint that returns a certain number of records in its response, based on an input HTTP parameter, like GET / query ? numResults =10 . In this example, the web server is supposed to return 10 records in its response. But, if the application does not impose a maximum limit for the numResults parameter, and the query result size is high, an attacker can make the same request with numResults =100000 , which can paralyze the web server. A second application may have a similar endpoint but with a different parameter name. E.g., GET / search ? count =10 , with the parameter count now controlling the number of records in the response. Across multiple applications, such differences can be over the name of the parameter, semantics of the end point (an array of objects instead of search results), HTTP request type (e.g., POST vs GET) etc. To define and enforce a cluster wide policy across such differences, security administrators or policy writers need to rely on API developers to provide prior information about their APIs. The administrators then need to understand the application semantics and nuances of different API groups to secure their clusters effectively. Further, as API endpoints and API parameters change, these policies need to be updated. As the number of applications and APIs in the cloud increase, the burden on cloud security administrators becomes untenable. Solution outline. In this work we design a security framework (Paladin) that allow cloud security administrators to easily define and enforce cross application policies. We show that such policies are effective for preventing a wide array of security risks including: T.1 Unrestricted resource consumption T.2 Unrestricted access to sensitive business flows, and T.3 Broken authentication These categories are more formally defined in Section 2.2 . In general, these threats originate from applications not performing proper boundary checks, authorizations, and validations on each request. Our framework, Paladin, provides an application and API independent abstraction to define policies that perform such checks. E.g., consider the HTTP request GET v1 / query ? numResults =10 from before. A policy author can specify that all requests with HTTP parameters having a similar meaning to numResults should have parameter values bound within a predefined variance. Paladin then utilizes large language models ( 7 ) to identify HTTP parameters that have the same semantics as numResults . These may include size , num_results , count , etc. More complex policies rely on identifying semantics of the complete request, not just the request parameters. E.g., both GET / query and GET / search are requests resulting in the server returning a list of records in its response. Paladin automates the job of understanding and grouping similar APIs from different applications, allowing cloud administrators to define policies much faster and easier. Paladin also curates and utilizes past context of requests to enable richer policies. Key contributions. Many common applications expose endpoints potentially susceptible to the types of attacks listed above ( T.1 , T.2 and T.3 ) ( 37 ) . We observe that appropriately tuned large language models can be leveraged to successfully extract sufficient semantic meanings from HTTP API requests to create a library of effective policies. Our work is not a replacement for any existing security mechanisms (firewalls, gateways, intrusion detection systems, etc.), but rather a new control instrument for cloud administrators. Towards this, our key contributions are: (1) A cloud platform level framework that allow administrators to define cross application API policies to protect against specific layer-7 threats (2) A novel design that combines request and environment context with the intent of the request, making policies effective (3) Leverage large language models to group and extract relevant information from API requests to enforce relevant policies (4) Evaluations showing broad effectiveness of the framework as a practical solution The remainder of this paper is organized as follows. We present background information on relevant systems and threat model in Section 2 . We provide details of our framework in Section 3 . In Section 4 , we discuss how to define policies to prevent the identified risks. Section 5 describe how we interface with the large language model and Section 6 describe our implementation. We present our evaluation results in Section 7 . Section 8 contrasts with related work, and Section 9 concludes with final remarks. 2. Background and Threat Model This section describe background information and threat model of our framework. 2.1. Cloud architecture Containers and orchestration. Containers (

Read the complete text