CFLRA
Developers & Designers who implement consent solutions like a cookie banner shouldn’t need to understand & keep on track of ever-changing legal regulations.
Core trick
Analyzes consent-flow designs against jurisdiction-specific rules to flag dark patterns before they ship.
Description
Developers & Designers who implement consent solutions like a cookie banner shouldn’t need to understand & keep on track of ever-changing legal regulations. Currently they have to, and most do not exposing your company to greater legal risk.
PMs, Engineers, Designers can easily ship dark patterns which may increase your companies legal exposure in Europe, California etc.
README excerpt
# Hackathon Monorepo Consent Flow Legal Risk Analysis monorepo built with Bun, Turborepo, Next.js, Effect, T3 Env, Drizzle, and shared workspace packages. ## Requirements - Bun `1.3.11` or newer - Node.js `18` or newer ## Getting Started Install dependencies: ```sh bun install ``` Link the Vercel project and pull development envs: ```sh vercel link vercel env pull apps/web/.env.local ``` Run the app locally: ```sh bun run dev ``` Run the main quality checks: ```sh bun run check bun run test ``` Apply formatting and autofixes: ```sh bun run fix ``` ## Available Scripts - `bun run dev` runs `turbo run dev` - `bun run build` runs `turbo run build` - `bun run db:generate` generates Drizzle SQL migrations in `packages/db/drizzle` - `bun run db:migrate` applies committed Drizzle migrations - `bun run lint` runs `turbo run lint` - `bun run check-types` runs `turbo run check-types` - `bun run check` runs Ultracite checks - `bun run fix` formats and applies safe fixes with Ultracite - `bun run test` runs Bun tests and succeeds when the repo has no tests yet ## Workspace Layout - `apps/web` contains the Next.js app - `packages/env` contains the shared T3 Env validation contract - `packages/ai` owns the Vercel AI SDK analyzer boundary - `packages/cache` owns Upstash Redis runtime config and cache helpers - `packages/db` owns PlanetScale Postgres schema, migrations, and scan persistence - `packages/storage` owns Vercel Blob runtime config and artifact helpers - `package