Redact
A tax preparer can ask a chatbot to double-check an income total and accidentally share a client's Social Security number and home address. Redact helps independent tax preparers and people checking their own returns ask the arithmetic question while keeping identifying details in their browser.
Gemini Nano runs in Chrome through Firebase AI Logic to find private details. Redact replaces them with placeholders. Before sending to Gemini, a second on-device Nano check inspects the frozen request and a code scan looks for known private values and identifying patterns. If the checks clear, the request is ready for passkey approval. A possible leak raises a caution for review, and a code scan match blocks the send until it is fixed. The approved request goes through Firebase AI Logic with App Check to the pinned gemini-3.6-flash model. The browser restores private details in the answer using a passkey-protected mapping that stays on the device. Firestore saves standard and comparison reviews in placeholder form.
Compare mode lets you bring a W-2 alongside a 1040. Redact checks both forms for private details before sending the redacted copies for comparison. On the seeded forms, the approved cloud comparison found that wages differed by $2,400, confirmed that federal withholding matched at $5,200, and showed a corrected total of $51,000.
Proof mode lets you paste text and inspect the exact frozen request before approving it. In the verified run, the request was 824 bytes. Redact showed its SHA-256 fingerprint and zero findings from the final code scan. The cloud answer referred to an email placeholder, and the browser restored the email on-device. An exported receipt lets reviewers check the fingerprints against the exact request and response and verify that the passkey signature matches the request.
Standard 1040 review. On live release 979cdefdd9c34de1, the seeded 1040 request returned HTTP 200 in 10.64 seconds and corrected the entered total from $53,400 to $51,000. The review saved and reopened from History. The passkey restored private details, and Chrome recorded one Gemini POST across the send and reopen.
Split-cloud review. On the same release, Gemini received only the four income lines from 1z through 4b, and the Cloudflare Worker received only four amounts from the other income lines. The worker returned a $1,600 subtotal. The browser combined the two parts and showed $51,000.
Device-only review. After opening the offline page online once in Chrome with Gemini Nano ready, you can redact text and check 1040 arithmetic with the server unavailable. The seeded return totaled $51,000 with the tab disconnected, $2,400 below the amount entered on line 9.
The browser-based suite passed 17/17 on the tested release. Reviewers can rerun it in the Privacy Lab.
Demo guide
| Time | What the video shows | Judging criterion |
|---|---|---|
| 0:00–0:13 | A 1040 illustrates how a question about income can expose a home address and Social Security number. | Potential impact |
| 0:13–0:49 | A delivery note goes through Proof mode. The checks clear, the frozen request shows its size and SHA-256 fingerprint, and the passkey approves the send. The browser restores the email in the answer. | Design and technological implementation |
| 0:49–1:04 | Both forms are loaded in Compare mode, and the on-device checks cover private details across the pair. | Design and technological implementation |
| 1:04–1:25 | A visible employer tax ID raises a caution and holds the request. The ID is covered, the revised request is checked, and the passkey approves it. | Design |
| 1:25–1:39 | The cloud comparison shows the $2,400 wage mismatch, matching withholding, and the corrected $51,000 total. The signed receipt is available to check. | Quality of the idea |