Privacy Policy

Last updated: December 6, 2026

1. What Data We Process & Why

ClauseGuard is built with a privacy-first architecture. When you upload a PDF, text extraction runs 100% locally in your browser using pdfjs-dist. Your PDF file is never uploaded to or stored on ClauseGuard servers.

When you click “Scan for Red Flags”, only the extracted contract text is transmitted over HTTPS to our edge API (/api/analyze) and forwarded to the Google Gemini API solely to generate your real-time risk assessment.

2. Data Retention & Storage

  • Contract Files & Text: Zero server-side retention. ClauseGuard does not maintain a database of your contracts or analysis results.
  • Browser Storage: We store a single counter in localStorage (clauseguard_free_scans_used) to track your free scan allowance.
Deletes all ClauseGuard data stored in your browser immediately.

3. Third-Party Processors

  • Google Gemini API: Processes submitted contract text to generate the structured risk score, summary, and counter-clauses. Do not submit sensitive personal IDs or confidential secrets if your client agreement prohibits third-party AI processing.
  • Cloudflare Pages: Hosts the application and executes edge API requests.
  • Lemon Squeezy: Acts as Merchant of Record for paid passes and subscriptions if you choose to upgrade.

4. Open-Source Licenses

ClauseGuard uses the following open-source libraries: Next.js (MIT), React (MIT), Tailwind CSS (MIT), Lucide Icons (ISC), and Mozilla PDF.js / pdfjs-dist (Apache-2.0).