Site Security Architecture

Defense-in-depth approach protecting this portfolio against OWASP Top 10 and AI-specific threats

High-Level Architecture

Visitor (Browser)
    ↓ HTTPS + Browser Security
GitHub Pages (Static Frontend)
    ↓ Sanitized API Calls
FastAPI Backend (Render)
    ↓ Rate Limiting + Input Validation + Prompt Injection Filter
RAG Engine (FAISS + Resume/Projects Data)
    ↓ Safe Context Retrieval
LLM Response (Grok / OpenAI)
        

Each layer enforces security: static frontend minimizes attack surface, backend validates inputs, prompt filter blocks jailbreaks, RAG uses trusted data only.

OWASP Top 10 & AI-Specific Protections

Implemented Security Practices

Cipher