Inspiration Have you ever tried to cancel a subscription and felt like you were in a hostage situation? Websites use Dark Patterns to trick us. They hide buttons, use tiny fonts, and bury "gotcha" clauses in 50-page legal documents. We built Hoya Holmes because you shouldn't need a law degree just to buy a pair of socks. We wanted to turn the average user into a forensic expert.
What it does Hoya Holmes acts as a digital private investigator. You give it a URL, and it treats the site like a digital crime scene:
Behavioral Audit: It scans the code to find hidden Cancel buttons or deceptive layouts.
Legal Cross-Examination: It compares what the "Big Green Button" promises vs. what the "Scary Fine Print" actually hides.
Dark Pattern Detection: It flags specific violations like Roach Motels (easy to join, impossible to leave) and Sneaky Terms.
How we built it We used Google Gemini 2.5 Flash as our Forensic Brain.
Data Extraction: We built a scraper to pull the raw DOM tree, CSS hierarchy, and the full Terms and Conditions.
Creative AI Usage: Most people use AI for text, but we fed Gemini the CSS hierarchy. This allows the AI to "see" if a button is technically on the page but visually invisible.
Legal Intelligence: We grounded Gemini in actual legal standards like FTC guidelines and the ROSCA Act to turn it into a zero-shot legal auditor.
Challenges we ran into Modern websites are messy! HTML is full of "noise" that confuses basic scripts. Our biggest challenge was getting the AI to understand Intent. We didn't just want to know what a button said; we wanted to know why it was designed to be hard to find. We solved this by leveraging Gemini’s massive context window to analyze the entire user journey and the code structure simultaneously.
Accomplishments that we're proud of The "Aha!" Moment: Successfully getting Gemini to identify Visual Interference (when a site uses color or layout to gaslight you).
Speed: Performing a full forensic legal audit of a complex site in under 5 seconds.
Impact: Building a tool that actually gives power back to the consumer.
What we learned We learned that Gemini isn't just a chatbot; it’s a Reasoning Engine. We discovered that AI can bridge the gap between messy code and complex laws. We also realized just how many reputable websites are actually using deceptive designs that violate consumer protection standards.
What's next for Hoya Holmes Chrome Extension: A real-time Safety Meter that warns you about dark patterns before you even click Sign Up.
Evidence Ledger: A public database where users can upload Gemini-verified reports of predatory websites to hold companies accountable.
Auto-Litigator: A feature that helps users generate formal cancellation requests based on the legal violations Hoya Holmes finds.
Code: 129B51523526F6E6
Built With
- beautiful-soup
- dotenv
- fastapi
- flask
- gemini
- javascript
- lxml
- openai
- python
- react
- uvicorn
- vite
Log in or sign up for Devpost to join the conversation.