Logo
Back to Projects

Cloudflare AI Website Security Analyzer

AI-powered website security analyzer built entirely on Cloudflare's serverless platform, combining real infrastructure, AI, and state management.

Key Achievements

  • Built an AI-powered website security analyzer that analyzes HTTP headers and provides security-focused insights using Cloudflare Workers AI (Llama 3.3).
  • Implemented session-based state management using Durable Objects to store analyzed URLs, security headers, AI-generated reports, and chat history for context-aware conversations.
  • Architected the full-stack application using Cloudflare Worker as the backend coordinator, handling URL validation, header fetching, prompt construction, AI calls, and CORS handling.
  • Created a conversational chat interface where users can ask follow-up questions like 'What is CSP?', 'How serious is this issue?', and 'How can I fix this?' with AI responses that maintain full context from the analysis.
  • Deployed frontend on Cloudflare Pages and backend API on Cloudflare Workers, running entirely on Cloudflare's free tier with no external backend services required.
  • The system fetches website HTTP response headers, extracts security-relevant headers, generates plain-English security analysis via Workers AI, and stores everything in Durable Objects for persistent, contextual conversations.