SecureBrowser is a web application built to protect the new generation of AI-integrated browsers. As AI agents become more capable, Indirect Prompt Injection (the #1 threat on the OWASP Top 10 for LLMs) allows attackers to hide malicious instructions in ordinary text, emails, or websites.

SecureBrowser solves this by acting as an AI firewall. Users paste suspicious text into the app, and it uses Firebase AI Logic to analyze the intent.

How it works:

The user inputs text.

A strict system prompt tells the LLM to act as a security firewall.

If the text contains hidden jailbreaks (like "Ignore previous instructions" or the "Grandma exploit"), it flags it as 🚨 VULNERABLE. If it's safe, it returns a ✅ SAFE status.

This project demonstrates how Firebase AI Logic can be used to build fast, secure, and intelligent safety guardrails for end users.

Share this project:

Updates

posted an update —

Project Update: SecureBrowser is officially submitted for #BuildHybridAI!

I just finalized the build for SecureBrowser Scanner, a hybrid web app designed to protect users from malicious prompt injections (the #1 threat on the OWASP Top 10 for LLMs).

What's new: The app is fully integrated with Firebase AI Logic and the Gemini 1.5 Flash model. It uses a strict system prompt to act as an AI firewall, catching classic jailbreaks like "DAN" and social engineering exploits (like the Grandma attack) in real-time.

Tech Stack: Built with pure HTML/CSS/JS and deployed via local server. The core logic uses Firebase AI Logic for hybrid inference (on-device fallback to cloud).

Huge thanks to Google and Devpost for putting on this hackathon. Check out the live demo and the GitHub repo linked on the project page!

Submission history