How sakshi-jadiya/airgap-call--call-e-hackathon works
AirGap Call is a prototype prompt-firewall and out-of-band incident-response system. A user submits a prompt through the Streamlit dashboard; the FastAPI chat endpoint checks token and containment state, scans for injection patterns, and, on detection, records the incident, returns HTTP 423, and dispatches a background telephony task. An administrator responds by keypad, causing in-memory RLS or token state to change; the dashboard polls and displays that state. The documented simulation endpoint also triggers escalation. The repository shows in-memory state rather than a database. CALL-E behavior and keypad handling are described in the service and README; no separate telephony implementation is present.
Main entry points: guard_service.py FastAPI Gateway · dashboard.py Streamlit Dashboard · security.py Security State · main.py Service Launcher
Components 11
Admin Console
- Streamlit Dashboard
frontend/dashboard.py - State Hashing
frontend/dashboard.py
API and Orchestration
- Service Launcher
backend/main.py - FastAPI Gateway
backend/guard_service.py - Incident Status API
backend/guard_service.py - Background Call Dispatch
backend/guard_service.py
Detection and State
- Prompt Detection
backend/security.py - Security State
backend/security.py
Out-of-Band Triage
- CALL-E Telephony
Other components
- Prompt Operator
- Admin Phone
Connections 15
- Prompt Operator → Streamlit Dashboard: enters prompt
frontend/dashboard.py - Streamlit Dashboard → FastAPI Gateway: posts chat
frontend/dashboard.py - FastAPI Gateway → Prompt Detection: scans prompt
backend/guard_service.py - FastAPI Gateway → Security State: checks and updates
backend/guard_service.py - Prompt Detection → Security State: records incident
backend/security.py - Streamlit Dashboard → Incident Status API: polls status
frontend/dashboard.py - Incident Status API → Security State: reads status
backend/guard_service.py - Streamlit Dashboard → State Hashing: hashes state
frontend/dashboard.py - Streamlit Dashboard → FastAPI Gateway: triggers simulation
frontend/dashboard.py - FastAPI Gateway → Background Call Dispatch: offloads call
backend/guard_service.py - Background Call Dispatch → CALL-E Telephony: creates call
backend/guard_service.py - CALL-E Telephony → Admin Phone: dials alert
README.md - Admin Phone → CALL-E Telephony: returns keypad choice
README.md - Background Call Dispatch → Security State: applies triage
backend/guard_service.py - Service Launcher → FastAPI Gateway: starts server
backend/main.py