Inspiration

Modern technical publishing and developer workflows demand a zero-trust perimeter. Exposing API keys, database URIs, and authentication tokens in early post drafts or documentation remains a silent vector for security breaches. HybridGuard AI was conceived to eliminate this vulnerability by engineering a lightning-fast, privacy-first security audit utility. By combining on-device execution with cloud intelligence, we set out to prove that robust developer tooling can run instantly in the browser without sacrificing data privacy or incurring prohibitive cloud overhead.

What it does

HybridGuard AI is a client-side web application designed to intercept, scan, and sanitize technical text, code snippets, and draft articles before publication. Powered by Firebase AI Logic, the utility evaluates input payloads locally via Gemini Nano for immediate pattern matching and redaction. If the client environment lacks local model support, the architecture dynamically routes the payload through a secure cloud fallback channel. It actively scrubs exposed GitHub Personal Access Tokens (PATs), AWS credentials, Stripe keys, and MongoDB connection strings, outputting a clean, audit-verified draft.

How we built it

The system architecture relies on a lean, modular front-end deployed on Vercel, integrated with a clean version-controlled repository on GitHub. We utilized the Firebase AI Logic SDK to abstract multi-tier execution handling—managing the state bridge between client-side browser execution and remote cloud inference endpoints. This approach entirely bypasses bloated backend servers, keeping the application lightweight, blazing fast, and strictly aligned with a modern low-code/no-code operational model.

Challenges we ran into

The primary hurdle involved managing asynchronous state transitions between local client inference (Gemini Nano) and remote cloud fallback when local execution flags failed or timed out. We resolved this by implementing strict wrapper functions around the Firebase AI Logic initialization lifecycle, ensuring graceful degradation, predictable fallback triggers, and zero UI latency spikes during security scans.

Accomplishments that we're proud of

  • Architecting a true hybrid inference workflow that successfully executes local client-side pattern matching while maintaining seamless cloud redundancy.
  • Achieving sub-second audit responses for large technical text blocks by prioritizing on-device processing.
  • Deploying a secure, production-ready developer utility with zero heavy backend infrastructure.

What's next for HybridGuard AI

  • Expanding the regex and semantic pattern matching library to cover custom enterprise environment variables and private key formats.
  • Developing a browser extension variant to automate inline security scanning directly within publishing platforms.
  • Implementing automated one-click redaction replacement tokens for all flagged credential types.
Share this project:

Updates

Submission history