AutoPilot Responder: Zero-Trust AI Gateway
An AI-powered security analyst that monitors Gmail for threats and requires human approval before taking action — built with Auth0 Token Vault and CIBA.
How It Works
- User logs in via Auth0 (Google OAuth)
- Auth0 Token Vault securely stores and exchanges Gmail tokens
- AI agent scans Gmail inbox for security threats
- When a threat is detected, Auth0 CIBA sends a push notification to the user's phone
- User approves or denies the action on Okta Verify
- Only after approval does the agent execute the response (block IP, alert team)
Features
- Auth0 Token Vault for secure Gmail token management
- Auth0 CIBA (Client-Initiated Backchannel Authentication) for human-in-the-loop approval
- Real-time Gmail threat detection
- Simulated IP blocking after phone approval
- Zero-trust architecture — AI never acts without human approval
Tech Stack
- Python + FastAPI
- Auth0 (Token Vault + CIBA + Okta Verify)
- Gmail API
- LangChain / LangGraph
Setup
- Clone the repo
- Create
.envfile with your credentials: - Install dependencies:
pip install -r requirements.txt - Run:
python -m uvicorn app:app --reload --port 8000 - Open
http://localhost:8000
Demo Flow
- Click Login
- Click Connect Google Account (Token Vault)
- Click Scan Gmail for Threats
- Click Block IP on any HIGH threat
- Approve on your phone via Okta Verify
Built With
- aiagent
- aiohttp
- auth0
- ciba
- cybersecurity
- digitalocean
- okta
- python
- zerotrust
Log in or sign up for Devpost to join the conversation.