proxy-shield

Overview

A High-Performance, Asynchronous AI Compliance Proxy.

Proxy Shield allows you to inspect network traffic for compliance violations (e.g., sensitive data leaks) using an AI/Embedding model without slowing down the user.

It uses a "Traffic Mirroring" architecture: traffic is instantly forwarded to a configured destination (zero latency), while a copy is sent asynchronously to an AI analyzer. If a violation is detected, the AI updates a shared Redis state to ban the offender's IP address temporarily.

[ Client ] ---> [ OpenResty (Nginx) ] --------------------> [ Configured Target ]

+---> (Mirror Copy) ---> [ AI Service ]

<--- (Ban Command) -----------+ (via Redis)

The proxy is configured at startup with a specific destination. All traffic will be forwarded to this target regardless of the original request's destination.

Set the TARGET_HOST environment variable in your .env file:

From the project’s README on GitHub.

At a glance

RepositoryKentucky-Open-Science/proxy-shield
Research areaOther projects
Primary languagePython
LanguagesPython 99.5%, Dockerfile 0.5%
LicenseNone specified
Stars / forks0 / 0
Open issues and pull requests0
Created2026-02-04
Last push2026-04-03
Default branchmain

What the README covers

Top contributors

Get the code

git clone https://github.com/Kentucky-Open-Science/proxy-shield.git