CookieLens โ Making Cookie Consent Actually Make Sense ๐ก Inspiration CookieLens was inspired by a simple but pressing question:
"Do users really know what data leaves a website when they click Accept Cookies?" Most consent banners today are just legal checkboxes โ not real transparency tools. We wanted to change that. CookieLens reimagines cookie compliance by combining AI and code/runtime analysis to actually explain what's happening: ๐ what data goes where โ and why. โ๏ธ What It Does CookieLens is an AI-powered compliance agent that automatically scans any website, detects every cookie and outbound data flow, and explains โ in clear, human language โ exactly what's being shared. It generates: ๐งฉ A ready-to-embed consent banner ๐ A visual data-sharing report ๐ A compliant, multilingual cookie policy ๐ A comprehensive compliance analysis against GDPR, CCPA, and SOC2 frameworks All within minutes โ and all automatically. ๐ง How We Built It We brought four powerful technologies together: ๐ต๏ธโโ๏ธ Semgrep โ static code analysis to find cookie writes, trackers, and outbound data points. ๐ Puppeteer โ runtime scanning to observe cookies and third-party network calls in action. ๐ฌ Claude (via AWS Bedrock) โ natural-language explanations that turn raw technical evidence into friendly, multilingual summaries. ๐ Vanta (via MCP Server) โ compliance framework integration that automatically evaluates cookie practices against GDPR, CCPA, and SOC2 requirements, generating actionable compliance scores and remediation recommendations. Everything runs securely inside AWS, with encryption, access control, and zero data leaving the environment. ๐งฉ Challenges We Ran Into Keeping cookie and PII data secure while still analyzing it effectively. Building accurate classification rules across thousands of different cookie and tracker names. Getting Claude to write legally sound and user-friendly summaries (not easy!). Making the AI explanations feel natural inside a responsive, lightweight React banner. Mapping runtime scan data to specific compliance framework controls across multiple regulations. ๐ Accomplishments We're Proud Of Built a full end-to-end AI compliance pipeline in under 24 hours. Achieved 90%+ detection coverage across popular CMS and e-commerce sites. Delivered clear, multilingual explanations users actually understand. Created a modern, embeddable consent UI that's compliant, elegant, and transparent. Integrated automated compliance scoring that maps findings directly to GDPR, CCPA, and SOC2 controls. ๐ What We Learned How to bridge static and dynamic analysis for real-world privacy auditing. How to build trustworthy AI that explains rather than obscures. That clarity beats legal jargon โ transparency builds user trust. How to leverage compliance frameworks as code through Vanta's API to make regulations actionable. And most importantly: privacy by design isn't just possible โ it's powerful. ๐ What's Next for CookieLens We're just getting started. Next, we plan to: โก Add real-time script blocking based on consent preferences. ๐งฎ Expand cookie classification with ML-powered heuristics. ๐ Launch a developer dashboard to monitor compliance drift over time. ๐งฐ Open-source a lightweight CookieLens CLI + API for CI integration. ๐ Expand framework coverage to include ISO 27001, HIPAA, and regional privacy laws. ๐งก Privacy shouldn't be painful โ CookieLens makes it understandable.
Built With
- amazon-web-services
- bedrock
- claude
- lambda
- vanta
Log in or sign up for Devpost to join the conversation.