Inspiration

Imagine receiving a suspicious message, seeing a misleading social media post, or encountering a chart that seems too impressive to be true.

You want to verify it, but the screenshot also contains someone's name, phone number, email address, or other personal information. Should protecting yourself from misinformation require giving up your privacy?

I believe it shouldn't.

This inspired ProofLens — a platform designed to make online information easier to verify while keeping users in control of their personal data.

What it does

ProofLens allows anyone to upload a screenshot, chart, social media post, or simply paste a suspicious claim to examine its credibility.

For example, if a company claims that its sales increased by 50% when they actually increased from $40,000 to $50,000, ProofLens identifies the mathematical inconsistency directly on the user's device.

If a screenshot contains personal information, ProofLens detects and redacts sensitive details before preparing anything for external verification.

When a claim requires real-world evidence, ProofLens shows the user exactly what information would leave their device and requests approval before proceeding with cloud verification.

Users receive a Claim Integrity Report explaining:

  • Whether the information is supported, false, misleading, or unverified.
  • Why the system reached its conclusion.
  • What supporting evidence is available.
  • What private information was detected and removed.
  • Whether the analysis occurred on the device or in the cloud.

Rather than simply telling people what to believe, ProofLens helps them understand why information should or should not be trusted.

What makes ProofLens different

Most verification tools focus on answering one question: Is this information true?

ProofLens asks three:

Can this claim be verified without an internet connection?

What information should remain private?

Is there enough reliable evidence to reach a conclusion?

Its intelligent hybrid architecture allows straightforward claims to be evaluated locally, while more complex claims can benefit from cloud reasoning after the user approves the sanitized information.

When reliable evidence is unavailable, ProofLens deliberately returns UNVERIFIED rather than presenting an unsupported conclusion.

Privacy is not an optional setting. It is a fundamental part of how ProofLens operates.

How I built it

ProofLens uses Firebase AI Logic to create a three-stage verification process.

Device — Private analysis

Text and images are processed locally to extract claims, identify sensitive information, detect mathematical inconsistencies, and recognize potentially misleading patterns.

Hybrid Router — Intelligent decision-making

The router determines whether a claim can be resolved locally, requires external evidence, or cannot be reliably verified.

Cloud — Deeper verification

When external verification is necessary, the user reviews and approves the exact sanitized payload before it is transmitted to Gemini. Retrieved evidence and quotations are checked before a definitive verdict can be issued.

The application integrates Firebase AI Logic, Authentication, Firestore, App Check, Remote Config, and Hosting, alongside TypeScript, browser-based OCR, and local image processing.

ProofLens also supports offline analysis and graceful degradation when cloud services are unavailable.

Challenges I ran into

One of the most important discoveries during development was that automatically removing personal information does not guarantee complete privacy.

Early blind evaluations revealed that conventional redaction techniques could miss unfamiliar names. Adding more detection rules improved individual examples but did not reliably solve the problem.

Instead of treating privacy as a detection problem alone, I redesigned the architecture so that no verification payload is automatically transmitted without explicit user approval.

Another challenge was preventing unsupported conclusions. A trustworthy verification platform must recognize the difference between finding relevant information and finding evidence that genuinely supports a claim.

These challenges shaped ProofLens into a system designed to protect privacy, communicate uncertainty, and remain transparent about its decisions.

Accomplishments that I'm proud of

ProofLens is a publicly deployed application supported by systematic testing and measurable evaluation.

  • 216 automated tests passed.
  • 252 labeled evaluation examples, including text, screenshots, and charts.
  • 97.6% overall routing accuracy in the offline benchmark.
  • 90.5% routing accuracy on the final untouched blind evaluation set.
  • 93.2% overall local verdict agreement.
  • Zero automatic verification-payload transmissions without user approval.
  • All six privacy-audit invariants satisfied.
  • Successful live on-device inference and Gemini cloud connectivity, with a measured cloud response time of approximately 1.26 seconds in diagnostics.

ProofLens was also developed and deployed using free-tier services, demonstrating that privacy-conscious verification can be accessible without expensive infrastructure.

The evaluation dashboard openly presents both successful results and limitations, including earlier failures that motivated architectural improvements.

What I learned

Trustworthy technology is not simply about providing answers. It is about knowing when an answer is justified, recognizing uncertainty, and respecting the information users entrust to a system.

Hybrid inference creates an opportunity to balance privacy, accessibility, responsiveness, and deeper reasoning without requiring every piece of information to be processed remotely.

What's next for ProofLens

I envision ProofLens becoming an everyday verification companion for students, journalists, researchers, educators, and anyone navigating online information.

Future development will focus on expanding authoritative evidence sources, improving multilingual verification, strengthening privacy detection, and introducing a browser extension that allows users to examine suspicious content directly while browsing.

In a world where misleading information spreads faster than it can be verified, ProofLens offers a simple principle:

You shouldn't have to surrender your privacy to discover the truth.

ProofLens — Verify what you see. Protect what you share.

Built With

  • api
  • chrome-built-in-ai
  • cloud-firestore
  • css3
  • firebase-ai-logic
  • firebase-app-check
  • firebase-authentication
  • firebase-hosting
  • firebase-remote-config
  • gemini
  • html5
  • tesseract.js
  • typescript
  • vite
  • wikipedia
Share this project:

Updates

Submission history