Inspiration

Inspiration

Phishing and social engineering attacks account for over 90% of enterprise security breaches. Static blacklists fail against fresh zero-day domains, while naive LLM implementations suffer from latency, hallucination risks, and rate-limit crashes. We built Phish Guard AI to solve this dilemma: combining Gemini's multimodal reasoning with deterministic RFC 822 email forensics and an automated offline fallback engine.

What It Does

Phish Guard AI is an enterprise-grade defense platform evaluating threats across three primary vectors:

  • Text & URL Analysis: Deconstructs message semantics, urgency triggers, and inspects embedded URLs safely without resolving them.
  • Screenshot / Vision Mode: Leverages Gemini Vision models for direct multimodal OCR of SMS/WhatsApp captures to uncover hidden credential harvesting forms.
  • Deep Email Forensics (.eml): Performs deterministic RFC 822 header inspections to flag Display Name Spoofing, Reply-To mismatches, and attachment risks (e.g., .pdf.exe).
  • Risk Engine v2: Aggregates multi-source evidence into an explainable, calibrated risk score (0-100) mapped to actionable severity tiers.

How We Built It

  • Backend: Asynchronous REST API developed using FastAPI and Python 3.11+.
  • AI Engine: Google GenAI SDK (gemini-3.6-flash) with strict JSON schema enforcement.
  • Forensics: Custom RFC 822 header parsers and URL risk profiling algorithms.
  • Resilience: Thread-safe sliding-window RateLimiter and a zero-downtime deterministic fallback engine.
  • Frontend: Modern, responsive SOC-style dashboard built with Next.js, React, and Tailwind CSS.

Challenges We Ran Into

  • Ensuring zero-downtime during upstream API quota limits or network cuts via local heuristic fallback.
  • Calibrating multi-signal scores without artificial inflation using weighted scoring tiers.

Accomplishments That We're Proud Of

  • 100% test coverage across raw text, image screenshot OCR, and raw .eml MIME parsing.
  • Transparent, mathematically explainable risk score breakdown.

What We Learned

  • Blending probabilistic AI reasoning with deterministic cybersecurity rule sets to eliminate hallucinations while maintaining high detection accuracy.

What's Next for Phish Guard AI

  • Browser extension for zero-click scanning in Gmail and Outlook Web.
  • Direct enterprise inbound gateway webhooks for Microsoft 365 and Google Workspace. ## What it does

How we built it

Challenges we ran into

Accomplishments that we're proud of

What we learned

What's next for Phish Guard AI

Built With

  • cybersecurity
  • fastapi
  • googel.gemin
  • next.js
  • python
  • react
  • tailwind-css
Share this project:

Updates

Submission history