Skip to main content
QUICK REVIEW

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

Shriti Priya, Julian James Stephen|arXiv (Cornell University)|Mar 10, 2026
Security and Verification in ComputingComputer Science0 citations
TL;DR

Paladin proposes an application-agnostic policy framework that uses large language models to extract API request semantics and enforce cross-application security policies at cloud proxies, achieving 81% policy identification accuracy with about 14% overhead.

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, and reasonable overheads, making it substantially easier to define and enforce cross application policies.

Motivation & Objective

  • Motivate the need for cross-application API security policies that transcend individual application semantics.
  • Design a cloud platform level framework enabling administrators to define and enforce policies across multiple APIs.
  • Leverage large language models to extract semantic meaning from API requests for policy enforcement.
  • Provide an implementation and evaluation demonstrating practicality and overheads of Paladin.

Proposed method

  • Introduce Paladin as a proxy-based security framework with TLS termination and inlined policy enforcement.
  • Use LLMs to automatically tag HTTP requests with business and technical flow tags, enabling abstract, application-agnostic policy definitions.
  • Extract policy variables from request parameters based on semantically equivalent terms across APIs (e.g., numResults, count) to enforce boundaries.
  • Maintain request context and container context to enable history-aware and resource-aware policies.
  • Provide a policy definition interface that supports pre- and post-tag policy checks and multiple tagging modes (single vs parallel prompting).
  • Implement a Go-based prototype using Envoy and WebAssembly for the tagging plugin, with LLM prompts described for tag inference.
(a) Overview
(a) Overview

Experimental results

Research questions

  • RQ1Can a cross-application policy framework enforce layer-7 threats (unrestricted resource consumption, unrestricted access to sensitive flows, broken authentication) without relying on API-specific knowledge?
  • RQ2How effectively can LLMs derive semantic meaning from API requests to generate reusable policy variables and tags across heterogeneous APIs?
  • RQ3What are the performance overheads and accuracy of Paladin in identifying and enforcing policies in real cloud deployments?
  • RQ4Does Paladin’s request/context architecture enable scalable, application-agnostic security across diverse cloud workloads?

Key findings

  • Policy identification accuracy of 81% in characterizing requests for enforcement.
  • Overhead of about 14% observed in their evaluations.
  • Paladin demonstrates broad applicability across multiple applications and APIs.
  • The framework provides an application-agnostic policy language and tagging mechanism that speeds up policy definition and enforcement.
  • LLMs are used to group and extract semantic information from requests to enforce policies, rather than replacing existing security controls.
  • Prototype implementation shows practicality of integrating Paladin with Envoy and WebAssembly.
(b) Proxy components
(b) Proxy components

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.