Metadata-Version: 2.4
Name: zt-ai-proxy-core
Version: 0.1.0
Summary: ZeroTrusted AI Proxy Core - MITM interception, PII detection, and enforcement logic (standalone edition)
Home-page: https://github.com/zerotrusted-ai/zt-ai-proxy
Author: ZeroTrusted.ai
Author-email: "ZeroTrusted.ai" <opensource@zerotrusted.ai>
License: MIT License
        
        Copyright (c) 2026 Vijay Karavadra
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: proxy,mitmproxy,pii,llm,security,interception
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mitmproxy>=9.0.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# ZeroTrusted AI Proxy - Core (Open Source)

This repository provides everything you need to run the ZeroTrusted AI Proxy as a standalone open-source solution.

## 🚀 Quick Start for Open Source Users

### 1. Clone the Repository
```
git clone https://github.com/www-zerotrusted-ai/zt-ai-proxy-core.git
cd zt-ai-proxy-core
```

### 2. Build the Standalone Proxy Executable
Ensure you have Python 3.12+ and PowerShell 5.1+ installed on Windows.

Run the build script:
```
./build_standalone_exe.ps1
```
This will generate the standalone executable in the `dist/` folder.

### 3. Load the Chrome Extension
1. Open Chrome and go to `chrome://extensions/`
2. Enable "Developer mode"
3. Click "Load unpacked" and select the `browser_extension` folder in this repo

### 4. Run the Proxy
Run the generated executable from the `dist/` folder:
```
./dist/ZTProxy-Standalone.exe
```

### 5. Configure Your Browser to Use the Proxy
Set your browser to use the proxy at `127.0.0.1:8081` (or as configured).

### 6. Block Sensitive Data (PII) in AI Requests
When you use ChatGPT or other AI services, the proxy will block requests containing sensitive information (PII) such as emails, phone numbers, credit cards, etc. The Chrome extension will show a block page if a request is blocked.

---
For more details, see the documentation or open an issue on GitHub.
