Design and Implementation of a Zero Trust API Gateway for Secure and Risk-Aware API Access

APIs connect clients, applications, and services, but perimeter-based controls alone do not provide sufficient protection when credentials are compromised or traffic crosses distributed environments. This paper describes the design and implementation of a Zero Trust API gateway developed as an inline policy-enforcement layer for protected services. The prototype is implemented with FastAPI and combines password-based authentication, OAuth sign-in, JSON Web Tokens, time-based one-time-password multi-factor authentication, scoped API keys, refresh-token rotation, and role- and scope-based authorization. Its request pipeline includes IP blocking, request logging, adaptive risk scoring, sliding-window rate limiting, and a rule-based web application firewall. The gateway also provides a reverse-proxy component that resolves registered upstream services, applies destination checks, forwards permitted requests, and records request identifiers and timing information. Additional detection components evaluate behavioral signals, impossible-travel indicators, and per-user anomalies using an Isolation Forest model when the required machine-learning dependency is available. Functional verification covers successful and rejected authentication, authorization boundaries, rate-limit responses, malicious-input detection, and proxy behavior. The available project evidence supports a functional prototype assessment; it does not establish production-scale throughput, statistically measured latency overhead, or resistance to all attack variants. The paper therefore distinguishes implemented controls from deployment requirements and identifies distributed state, stronger upstream connection validation, centralized monitoring, and broader adversarial testing as priorities for future work. Keywords— Zero Trust Architecture; API Gateway; API Security; Risk-Based Access Control; Web Application Firewall; Anomaly Detection

Authors

Institutions

Publication Details

Journal
International Journal of Creative and Open Research in Engineering and Management
Published
2026-11-07
DOI
https://doi.org/10.55041/ijcope.v2i11.027
Primary Topic
Web Application Security Vulnerabilities
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Design and Implementation of a Zero Trust API Gateway for Secure and Risk-Aware API Access

Angshuman Banerjee, Annie Sujith, Arshadali M. Athani, Mohammed Shazaan Aarish et al.
2 links
International Journal of Creative and Open Research in Engineering and Management
Web Application Security Vulnerabilities
article

Design and Implementation of a Zero Trust API Gateway for Secure and Risk-Aware API Access

Angshuman Banerjee, Annie Sujith, Arshadali M. Athani, Mohammed Shazaan Aarish, Basappa Veerappa
article en

Abstract

APIs connect clients, applications, and services, but perimeter-based controls alone do not provide sufficient protection when credentials are compromised or traffic crosses distributed environments. This paper describes the design and implementation of a Zero Trust API gateway developed as an inline policy-enforcement layer for protected services. The prototype is implemented with FastAPI and combines password-based authentication, OAuth sign-in, JSON Web Tokens, time-based one-time-password multi-factor authentication, scoped API keys, refresh-token rotation, and role- and scope-based authorization. Its request pipeline includes IP blocking, request logging, adaptive risk scoring, sliding-window rate limiting, and a rule-based web application firewall. The gateway also provides a reverse-proxy component that resolves registered upstream services, applies destination checks, forwards permitted requests, and records request identifiers and timing information. Additional detection components evaluate behavioral signals, impossible-travel indicators, and per-user anomalies using an Isolation Forest model when the required machine-learning dependency is available. Functional verification covers successful and rejected authentication, authorization boundaries, rate-limit responses, malicious-input detection, and proxy behavior. The available project evidence supports a functional prototype assessment; it does not establish production-scale throughput, statistically measured latency overhead, or resistance to all attack variants. The paper therefore distinguishes implemented controls from deployment requirements and identifies distributed state, stronger upstream connection validation, centralized monitoring, and broader adversarial testing as priorities for future work. Keywords— Zero Trust Architecture; API Gateway; API Security; Risk-Based Access Control; Web Application Firewall; Anomaly Detection

International Journal of Creative and Open Research in Engineering and ManagementVol. 02(11)
RV University (IN)
Openalex Percentile: Top 10%
Web Application Security Vulnerabilities
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon