-
-
Name, tagline, 4 headline stats
-
Counter-clause + ready-to-send email
-
Problem statement + 6 real trap types
-
"6 clauses. No fog." + DO NOT SIGN + checklist
-
Call to action
-
Paste / PDF-DOCX / URL, live word counts
-
"Privacy Shield: ON (PII Masked)" visible
-
F grade, 8/100, weighted meter
-
Full Spanish UI — new capture
-
Pipeline, provider cascade, security controls
-
Social impact + six user segments
-
131 focal sentences, 7 ms index latency
-
69 tests, 18 E2E, gates green
-
2024 vs 2025 terms side by side
-
Clause cards with verbatim quotes + risk filter
TermSight
Check any contract or Terms of Service in seconds—in plain English, without giving up your privacy.
Inspiration
Most people click "I Agree" on long Terms of Service, Privacy Policies, and contracts without reading them. Legal language is hard to read, and hiring a lawyer is expensive. Hidden inside these pages are traps like forced arbitration, unfair auto-renewals, and broad rights for companies to train AI on your content. We built TermSight so anyone can check a contract in seconds and know what they are agreeing to.
Target Users
- Everyday Users: Check website Terms of Service and Privacy Policies before clicking accept.
- Freelancers & Gig Workers: Review client contracts for unfair payment, liability, or IP ownership terms without paying high legal fees.
- Small Businesses & Non-Native English Speakers: Audit agreements in 8 languages using simple, clear explanations.
What it does
TermSight reads agreements from pasted text, uploaded files (.pdf, .docx, .txt, .md, .html), live URLs, or our browser extension, and gives you:
- Risk Breakdown & Fairness Score (0–100): Labels clauses Red (High Risk), Yellow (Caution), or Green (Safe) with an A–F grade and exact quotes from the contract.
- Clear Sign Verdict: Tells you whether a contract is Safe to Sign, Negotiate First, or Do Not Sign As-Is, along with a simple checklist.
- Ask This Contract: Lets you ask questions in plain English and get answers backed by exact quotes and line numbers.
- Compare Mode: Compares an old contract against a new one side-by-side to catch sneaky updates.
- Ready-to-Use Action Tools: Creates negotiation emails, formal arbitration opt-out / GDPR-CCPA / cancellation letters, and Google Calendar or
.icsdeadline reminders. - 8 Languages: Works in English, Spanish, French, German, Hindi, Japanese, Chinese, and Portuguese.
How we built it
- Frontend & UX: Built with React, TypeScript, Vite, Tailwind CSS, and Framer Motion. Designed with no login wall and clear Red/Yellow/Green colors so anyone can understand risks at a glance.
- Browser Extension: Built a Chrome/Edge/Brave (Manifest V3) extension to scan Terms of Service pages directly while browsing.
- Privacy First: Before sending text to any AI model, TermSight hides sensitive info right inside your browser—including emails, phone numbers, Luhn-checked credit card numbers, IBANs, SSNs, crypto addresses, street addresses, and money amounts. Saved data in the browser is encrypted with 256-bit AES-GCM.
- Smart Legal Search (RAG): Splits contracts carefully around legal abbreviations, stems legal words, tags 12 legal topics, and searches using BM25 plus a
+/- 2sentence window so answers always cite the right lines with full context. - Fairness Score Formula:
Score = round((100 * N_green + 45 * N_yellow) / N_total) - Reliable AI + Offline Backup: Serverless Node.js APIs connect to NVIDIA NIM, OpenAI, Anthropic, Google Gemini, and Groq. If no API key is set or an API fails, a built-in rule-based analyzer still runs the check.
Challenges we ran into
- Messy contract formats: Real contracts mix headings, numbered lists, and legal abbreviations like
Inc.orArt.. We built a custom parser to split sentences cleanly without losing line numbers. - Keeping users and servers safe: We scrubbed personal data in the browser before AI calls and added server-side SSRF protection (blocking private and internal IP addresses), origin-restricted CORS, and rate limiting when fetching live URLs.
- Stopping prompt injection: Untrusted contracts might hide fake commands to trick the AI. We wrapped contract text inside strict
<untrusted_contract_content>tags and checked every JSON response before showing it.
Accomplishments that we're proud of
- Built a full contract-checking tool—from risk scoring and version comparison to opt-out letters and calendar reminders—with zero sign-up needed.
- Protected user privacy locally with in-browser PII masking and AES-GCM encryption.
- Tested key features (RAG search, PII masking, encryption, scoring, diffing, and SSRF security) using Vitest and Playwright.
Social Impact
Most people cannot afford a lawyer just to read an app's Terms of Service or a freelance contract. By turning confusing legal text into plain language across 8 languages—and giving users ready-to-send opt-out letters and deadline reminders—TermSight helps everyday people protect their data, money, and legal rights.
What we learned
- Combining BM25 keyword search with nearby sentences (
+/- 2context window) finds much better legal citations than cutting text into random chunks. - Having a built-in rule-based backup alongside multiple AI providers keeps the app working reliably even when APIs hit rate limits.
What's next for TermSight
- Publish the Chrome/Edge/Brave extension so users get instant alerts when a website changes its Terms of Service.
- Improve reading for complex multi-column PDFs and add region-specific checks for laws like GDPR and CCPA.
Built With
- anthropic
- bm25
- chrome
- cloudflare-turnstile
- framer-motion
- google-gemini
- groq
- lucide-react
- node.js
- nvidia-nim
- openai
- playwright
- rag
- supabase
- tailwindcss
- typescript
- vercel
- vite
- vitest
- web-crypto-api