{
  "schema_version": "1.0.0",
  "scanner": {
    "name": "global-capability-catalog",
    "version": "0.1.0"
  },
  "repo": {
    "id": "github-recent__mbarbine__car-service-records",
    "name": "mbarbine__car-service-records",
    "path": "/Users/bwm.barbinewarnermichael/Documents/github/repositories/github-recent/mbarbine__car-service-records",
    "relative_path": "github-recent/mbarbine__car-service-records",
    "remote_url": "git@github.com:mbarbine/car-service-records.git",
    "default_branch": "main",
    "current_commit": "236f33ab8a9c64cc70f64d3da0907c05ad52f7e8"
  },
  "languages": [
    {
      "language": "TypeScript",
      "files": 129,
      "bytes": 520395
    },
    {
      "language": "YAML",
      "files": 1,
      "bytes": 193974
    },
    {
      "language": "CSS",
      "files": 2,
      "bytes": 11016
    },
    {
      "language": "JSON",
      "files": 5,
      "bytes": 7474
    },
    {
      "language": "Markdown",
      "files": 1,
      "bytes": 1299
    },
    {
      "language": "JavaScript",
      "files": 2,
      "bytes": 325
    }
  ],
  "frameworks": [
    {
      "name": "Next.js",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "React",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "Tailwind CSS",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    },
    {
      "name": "Vitest",
      "confidence": "high",
      "evidence_paths": [
        "package.json"
      ]
    }
  ],
  "packages": {
    "package_manager": "pnpm",
    "manifests": [
      {
        "path": "package.json",
        "name": "my-project",
        "version": "0.1.0",
        "scripts": {
          "dev": "next dev",
          "build": "next build",
          "start": "next start",
          "lint": "eslint .",
          "test": "vitest",
          "test:run": "vitest run",
          "test:coverage": "vitest run --coverage"
        },
        "dependencies": {
          "@ai-sdk/gateway": "^3.0.109",
          "@hookform/resolvers": "^3.9.1",
          "@neondatabase/serverless": "^1.1.0",
          "@radix-ui/react-accordion": "1.2.12",
          "@radix-ui/react-alert-dialog": "1.1.15",
          "@radix-ui/react-aspect-ratio": "1.1.8",
          "@radix-ui/react-avatar": "1.1.11",
          "@radix-ui/react-checkbox": "1.3.3",
          "@radix-ui/react-collapsible": "1.1.12",
          "@radix-ui/react-context-menu": "2.2.16",
          "@radix-ui/react-dialog": "1.1.15",
          "@radix-ui/react-dropdown-menu": "2.1.16",
          "@radix-ui/react-hover-card": "1.1.15",
          "@radix-ui/react-label": "2.1.8",
          "@radix-ui/react-menubar": "1.1.16",
          "@radix-ui/react-navigation-menu": "1.2.14",
          "@radix-ui/react-popover": "1.1.15",
          "@radix-ui/react-progress": "1.1.8",
          "@radix-ui/react-radio-group": "1.3.8",
          "@radix-ui/react-scroll-area": "1.2.10",
          "@radix-ui/react-select": "2.2.6",
          "@radix-ui/react-separator": "1.1.8",
          "@radix-ui/react-slider": "1.3.6",
          "@radix-ui/react-slot": "1.2.4",
          "@radix-ui/react-switch": "1.2.6",
          "@radix-ui/react-tabs": "1.1.13",
          "@radix-ui/react-toast": "1.2.15",
          "@radix-ui/react-toggle": "1.1.10",
          "@radix-ui/react-toggle-group": "1.1.11",
          "@radix-ui/react-tooltip": "1.2.8",
          "@vercel/analytics": "1.6.1",
          "ai": "^6.0.174",
          "autoprefixer": "^10.4.20",
          "class-variance-authority": "^0.7.1",
          "clsx": "^2.1.1",
          "cmdk": "1.1.1",
          "date-fns": "4.1.0",
          "embla-carousel-react": "8.6.0",
          "input-otp": "1.4.2",
          "lucide-react": "^0.564.0",
          "next": "16.2.4",
          "next-themes": "^0.4.6",
          "react": "^19",
          "react-day-picker": "9.13.2",
          "react-dom": "^19",
          "react-hook-form": "^7.54.1",
          "react-resizable-panels": "^2.1.7",
          "recharts": "2.15.0",
          "sonner": "^1.7.1",
          "swr": "^2.4.1",
          "tailwind-merge": "^3.3.1",
          "vaul": "^1.1.2",
          "zod": "^3.24.1"
        },
        "dev_dependencies": {
          "@tailwindcss/postcss": "^4.2.0",
          "@testing-library/jest-dom": "^6.6.3",
          "@testing-library/react": "^16.3.0",
          "@testing-library/user-event": "^14.6.1",
          "@types/node": "^22",
          "@types/react": "^19",
          "@types/react-dom": "^19",
          "@vitejs/plugin-react": "^4.4.1",
          "jsdom": "^26.1.0",
          "postcss": "^8.5",
          "tailwindcss": "^4.2.0",
          "tw-animate-css": "1.3.3",
          "typescript": "5.7.3",
          "vitest": "^3.2.4"
        }
      }
    ]
  },
  "routes": {
    "api_routes": [
      {
        "route": "/health",
        "source_path": "app/api/health/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/activity",
        "source_path": "app/api/v1/activity/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/analyze-vehicle",
        "source_path": "app/api/v1/analyze-vehicle/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/documents",
        "source_path": "app/api/v1/documents/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/notes/[id]",
        "source_path": "app/api/v1/notes/[id]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "DELETE",
          "GET",
          "PATCH"
        ]
      },
      {
        "route": "/v1/notes",
        "source_path": "app/api/v1/notes/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/photos",
        "source_path": "app/api/v1/photos/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/reminders",
        "source_path": "app/api/v1/reminders/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/search",
        "source_path": "app/api/v1/search/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/shares/[id]",
        "source_path": "app/api/v1/shares/[id]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "DELETE"
        ]
      },
      {
        "route": "/v1/shares",
        "source_path": "app/api/v1/shares/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/stats",
        "source_path": "app/api/v1/stats/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/vehicles/[id]/documents",
        "source_path": "app/api/v1/vehicles/[id]/documents/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/vehicles/[id]/photos",
        "source_path": "app/api/v1/vehicles/[id]/photos/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/vehicles/[id]",
        "source_path": "app/api/v1/vehicles/[id]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "DELETE",
          "GET",
          "PATCH"
        ]
      },
      {
        "route": "/v1/vehicles/[id]/services",
        "source_path": "app/api/v1/vehicles/[id]/services/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/vehicles/[id]/shares",
        "source_path": "app/api/v1/vehicles/[id]/shares/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/vehicles",
        "source_path": "app/api/v1/vehicles/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      }
    ],
    "app_routes": [
      {
        "route": "/garage/documents",
        "source_path": "app/garage/documents/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/documents/upload",
        "source_path": "app/garage/documents/upload/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/notes",
        "source_path": "app/garage/notes/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage",
        "source_path": "app/garage/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/photos",
        "source_path": "app/garage/photos/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/photos/upload",
        "source_path": "app/garage/photos/upload/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/reminders",
        "source_path": "app/garage/reminders/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/search",
        "source_path": "app/garage/search/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/services/new",
        "source_path": "app/garage/services/new/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/services",
        "source_path": "app/garage/services/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/settings",
        "source_path": "app/garage/settings/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/shares",
        "source_path": "app/garage/shares/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/vehicles/[id]",
        "source_path": "app/garage/vehicles/[id]/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/vehicles/[id]/services/new",
        "source_path": "app/garage/vehicles/[id]/services/new/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/vehicles/new",
        "source_path": "app/garage/vehicles/new/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/garage/vehicles",
        "source_path": "app/garage/vehicles/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/share/[token]",
        "source_path": "app/share/[token]/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      }
    ]
  },
  "components": [
    {
      "name": "app-shell",
      "kind": "ui-component",
      "source_path": "components/app-shell.tsx"
    },
    {
      "name": "command-palette",
      "kind": "ui-component",
      "source_path": "components/command-palette.tsx"
    },
    {
      "name": "recent-activity-client",
      "kind": "ui-component",
      "source_path": "components/recent-activity-client.tsx"
    },
    {
      "name": "recent-activity",
      "kind": "ui-component",
      "source_path": "components/recent-activity.tsx"
    },
    {
      "name": "service-record-form",
      "kind": "ui-component",
      "source_path": "components/service-record-form.tsx"
    },
    {
      "name": "service-records-list",
      "kind": "ui-component",
      "source_path": "components/service-records-list.tsx"
    },
    {
      "name": "theme-provider",
      "kind": "ui-component",
      "source_path": "components/theme-provider.tsx"
    },
    {
      "name": "accordion",
      "kind": "ui-component",
      "source_path": "components/ui/accordion.tsx"
    },
    {
      "name": "alert-dialog",
      "kind": "ui-component",
      "source_path": "components/ui/alert-dialog.tsx"
    },
    {
      "name": "alert",
      "kind": "ui-component",
      "source_path": "components/ui/alert.tsx"
    },
    {
      "name": "aspect-ratio",
      "kind": "ui-component",
      "source_path": "components/ui/aspect-ratio.tsx"
    },
    {
      "name": "avatar",
      "kind": "ui-component",
      "source_path": "components/ui/avatar.tsx"
    },
    {
      "name": "badge",
      "kind": "ui-component",
      "source_path": "components/ui/badge.tsx"
    },
    {
      "name": "breadcrumb",
      "kind": "ui-component",
      "source_path": "components/ui/breadcrumb.tsx"
    },
    {
      "name": "button-group",
      "kind": "ui-component",
      "source_path": "components/ui/button-group.tsx"
    },
    {
      "name": "button",
      "kind": "ui-component",
      "source_path": "components/ui/button.tsx"
    },
    {
      "name": "calendar",
      "kind": "ui-component",
      "source_path": "components/ui/calendar.tsx"
    },
    {
      "name": "card",
      "kind": "ui-component",
      "source_path": "components/ui/card.tsx"
    },
    {
      "name": "carousel",
      "kind": "ui-component",
      "source_path": "components/ui/carousel.tsx"
    },
    {
      "name": "chart",
      "kind": "ui-component",
      "source_path": "components/ui/chart.tsx"
    },
    {
      "name": "checkbox",
      "kind": "ui-component",
      "source_path": "components/ui/checkbox.tsx"
    },
    {
      "name": "collapsible",
      "kind": "ui-component",
      "source_path": "components/ui/collapsible.tsx"
    },
    {
      "name": "command",
      "kind": "ui-component",
      "source_path": "components/ui/command.tsx"
    },
    {
      "name": "context-menu",
      "kind": "ui-component",
      "source_path": "components/ui/context-menu.tsx"
    },
    {
      "name": "dialog",
      "kind": "ui-component",
      "source_path": "components/ui/dialog.tsx"
    },
    {
      "name": "drawer",
      "kind": "ui-component",
      "source_path": "components/ui/drawer.tsx"
    },
    {
      "name": "dropdown-menu",
      "kind": "ui-component",
      "source_path": "components/ui/dropdown-menu.tsx"
    },
    {
      "name": "empty",
      "kind": "ui-component",
      "source_path": "components/ui/empty.tsx"
    },
    {
      "name": "field",
      "kind": "ui-component",
      "source_path": "components/ui/field.tsx"
    },
    {
      "name": "form",
      "kind": "ui-component",
      "source_path": "components/ui/form.tsx"
    },
    {
      "name": "hover-card",
      "kind": "ui-component",
      "source_path": "components/ui/hover-card.tsx"
    },
    {
      "name": "input-group",
      "kind": "ui-component",
      "source_path": "components/ui/input-group.tsx"
    },
    {
      "name": "input-otp",
      "kind": "ui-component",
      "source_path": "components/ui/input-otp.tsx"
    },
    {
      "name": "input",
      "kind": "ui-component",
      "source_path": "components/ui/input.tsx"
    },
    {
      "name": "item",
      "kind": "ui-component",
      "source_path": "components/ui/item.tsx"
    },
    {
      "name": "kbd",
      "kind": "ui-component",
      "source_path": "components/ui/kbd.tsx"
    },
    {
      "name": "label",
      "kind": "ui-component",
      "source_path": "components/ui/label.tsx"
    },
    {
      "name": "menubar",
      "kind": "ui-component",
      "source_path": "components/ui/menubar.tsx"
    },
    {
      "name": "navigation-menu",
      "kind": "ui-component",
      "source_path": "components/ui/navigation-menu.tsx"
    },
    {
      "name": "pagination",
      "kind": "ui-component",
      "source_path": "components/ui/pagination.tsx"
    },
    {
      "name": "popover",
      "kind": "ui-component",
      "source_path": "components/ui/popover.tsx"
    },
    {
      "name": "progress",
      "kind": "ui-component",
      "source_path": "components/ui/progress.tsx"
    },
    {
      "name": "radio-group",
      "kind": "ui-component",
      "source_path": "components/ui/radio-group.tsx"
    },
    {
      "name": "resizable",
      "kind": "ui-component",
      "source_path": "components/ui/resizable.tsx"
    },
    {
      "name": "scroll-area",
      "kind": "ui-component",
      "source_path": "components/ui/scroll-area.tsx"
    },
    {
      "name": "select",
      "kind": "ui-component",
      "source_path": "components/ui/select.tsx"
    },
    {
      "name": "separator",
      "kind": "ui-component",
      "source_path": "components/ui/separator.tsx"
    },
    {
      "name": "sheet",
      "kind": "ui-component",
      "source_path": "components/ui/sheet.tsx"
    },
    {
      "name": "sidebar",
      "kind": "ui-component",
      "source_path": "components/ui/sidebar.tsx"
    },
    {
      "name": "skeleton",
      "kind": "ui-component",
      "source_path": "components/ui/skeleton.tsx"
    },
    {
      "name": "slider",
      "kind": "ui-component",
      "source_path": "components/ui/slider.tsx"
    },
    {
      "name": "sonner",
      "kind": "ui-component",
      "source_path": "components/ui/sonner.tsx"
    },
    {
      "name": "spinner",
      "kind": "ui-component",
      "source_path": "components/ui/spinner.tsx"
    },
    {
      "name": "switch",
      "kind": "ui-component",
      "source_path": "components/ui/switch.tsx"
    },
    {
      "name": "table",
      "kind": "ui-component",
      "source_path": "components/ui/table.tsx"
    },
    {
      "name": "tabs",
      "kind": "ui-component",
      "source_path": "components/ui/tabs.tsx"
    },
    {
      "name": "textarea",
      "kind": "ui-component",
      "source_path": "components/ui/textarea.tsx"
    },
    {
      "name": "toast",
      "kind": "ui-component",
      "source_path": "components/ui/toast.tsx"
    },
    {
      "name": "toaster",
      "kind": "ui-component",
      "source_path": "components/ui/toaster.tsx"
    },
    {
      "name": "toggle-group",
      "kind": "ui-component",
      "source_path": "components/ui/toggle-group.tsx"
    },
    {
      "name": "toggle",
      "kind": "ui-component",
      "source_path": "components/ui/toggle.tsx"
    },
    {
      "name": "tooltip",
      "kind": "ui-component",
      "source_path": "components/ui/tooltip.tsx"
    },
    {
      "name": "use-mobile",
      "kind": "ui-component",
      "source_path": "components/ui/use-mobile.tsx"
    },
    {
      "name": "upcoming-reminders-client",
      "kind": "ui-component",
      "source_path": "components/upcoming-reminders-client.tsx"
    },
    {
      "name": "upcoming-reminders",
      "kind": "ui-component",
      "source_path": "components/upcoming-reminders.tsx"
    },
    {
      "name": "vehicle-card",
      "kind": "ui-component",
      "source_path": "components/vehicle-card.tsx"
    },
    {
      "name": "vehicle-form",
      "kind": "ui-component",
      "source_path": "components/vehicle-form.tsx"
    },
    {
      "name": "vehicle-form.test",
      "kind": "ui-component",
      "source_path": "tests/components/vehicle-form.test.tsx"
    }
  ],
  "data_models": [],
  "database": {
    "databases": [],
    "schemas": [],
    "migrations": []
  },
  "tests": [
    {
      "name": "analyze-vehicle.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/api/analyze-vehicle.test.ts"
    },
    {
      "name": "health.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/api/health.test.ts"
    },
    {
      "name": "notes.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/api/notes.test.ts"
    },
    {
      "name": "services.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/api/services.test.ts"
    },
    {
      "name": "shares.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/api/shares.test.ts"
    },
    {
      "name": "vehicles.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/api/vehicles.test.ts"
    },
    {
      "name": "vehicle-form.test.tsx",
      "kind": "unit-or-integration",
      "source_path": "tests/components/vehicle-form.test.tsx"
    },
    {
      "name": "flow.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/integration/flow.test.ts"
    },
    {
      "name": "auth.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/lib/auth.test.ts"
    },
    {
      "name": "db.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/lib/db.test.ts"
    },
    {
      "name": "utils.test.ts",
      "kind": "unit-or-integration",
      "source_path": "tests/lib/utils.test.ts"
    }
  ],
  "ci": {
    "workflows": []
  },
  "containers": {
    "dockerfiles": [],
    "compose_files": []
  },
  "env": {
    "example_files": [],
    "variables": [
      {
        "name": "DATABASE_URL",
        "source_paths": [
          "lib/db.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "NEXT_PUBLIC_APP_URL",
        "source_paths": [
          "app/api/v1/vehicles/[id]/shares/route.ts",
          "app/robots.ts",
          "app/sitemap.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "NODE_ENV",
        "source_paths": [
          "app/layout.tsx"
        ],
        "likely_secret": false
      }
    ]
  },
  "configs": [
    {
      "path": "next.config.mjs"
    },
    {
      "path": "package.json"
    },
    {
      "path": "postcss.config.mjs"
    },
    {
      "path": "tsconfig.json"
    }
  ],
  "docs": {
    "readme_paths": [
      {
        "path": "README.md"
      }
    ],
    "doc_paths": [],
    "llms_context_paths": [
      {
        "path": "public/llms-full.txt"
      },
      {
        "path": "public/llms-index.json"
      },
      {
        "path": "public/llms.txt"
      }
    ]
  },
  "discovery_files": {
    "openapi": [],
    "mcp": [],
    "llms": [
      {
        "path": "public/llms-full.txt"
      },
      {
        "path": "public/llms-index.json"
      },
      {
        "path": "public/llms.txt"
      }
    ],
    "sitemaps": [],
    "feeds": [],
    "well_known": [],
    "robots": [],
    "manifests": []
  },
  "integrations": [
    {
      "name": "Postgres",
      "confidence": "medium",
      "evidence_paths": [
        "lib/db.ts",
        "package.json"
      ]
    },
    {
      "name": "Vercel",
      "confidence": "medium",
      "evidence_paths": [
        "app/layout.tsx",
        "package.json",
        "pnpm-lock.yaml"
      ]
    }
  ],
  "license": {
    "spdx": null,
    "paths": []
  },
  "comments": [
    {
      "kind": "unsafe",
      "source_path": "app/api/v1/vehicles/[id]/route.ts",
      "line": 78,
      "text": "SET ${sql.unsafe(updates.join(', '))}, updated_at = NOW()"
    },
    {
      "kind": "todo",
      "source_path": "app/garage/notes/page.tsx",
      "line": 287,
      "text": "// TODO: Open edit dialog"
    },
    {
      "kind": "deprecated",
      "source_path": "pnpm-lock.yaml",
      "line": 2707,
      "text": "deprecated: Use @exodus/bytes instead for a more spec-conformant and faster implementation"
    },
    {
      "kind": "security",
      "source_path": "public/llms-full.txt",
      "line": 28,
      "text": "- Row-level security enforced at application layer"
    },
    {
      "kind": "security",
      "source_path": "public/llms-full.txt",
      "line": 195,
      "text": "## Security"
    }
  ],
  "security": {
    "secret_risks": [],
    "unsafe_patterns": [
      {
        "name": "dangerously-set-html",
        "confidence": "medium",
        "evidence_paths": [
          "components/ui/chart.tsx"
        ]
      },
      {
        "name": "sql-injection-review-needed",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/activity/route.ts",
          "app/api/v1/documents/route.ts",
          "app/api/v1/notes/[id]/route.ts",
          "app/api/v1/notes/route.ts",
          "app/api/v1/photos/route.ts",
          "app/api/v1/stats/route.ts",
          "app/api/v1/vehicles/[id]/documents/route.ts",
          "app/api/v1/vehicles/[id]/photos/route.ts",
          "app/api/v1/vehicles/[id]/route.ts",
          "app/api/v1/vehicles/[id]/services/route.ts",
          "app/api/v1/vehicles/[id]/shares/route.ts",
          "app/api/v1/vehicles/route.ts",
          "app/garage/notes/page.tsx",
          "app/garage/services/page.tsx",
          "app/garage/shares/page.tsx",
          "app/share/[token]/page.tsx",
          "components/recent-activity.tsx",
          "components/service-record-form.tsx",
          "components/vehicle-form.tsx"
        ]
      },
      {
        "name": "ssrf-review-needed",
        "confidence": "medium",
        "evidence_paths": [
          "app/garage/documents/page.tsx",
          "app/garage/documents/upload/page.tsx",
          "app/garage/notes/page.tsx",
          "app/garage/page.tsx",
          "app/garage/photos/page.tsx",
          "app/garage/photos/upload/page.tsx",
          "app/garage/search/search-content.tsx",
          "app/garage/services/new/page.tsx",
          "app/garage/shares/page.tsx",
          "components/recent-activity-client.tsx",
          "components/service-record-form.tsx",
          "components/upcoming-reminders-client.tsx",
          "components/vehicle-form.tsx"
        ]
      }
    ],
    "sensitive_data_indicators": [
      {
        "name": "card",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/vehicles/[id]/documents/route.ts",
          "app/garage/documents/page.tsx",
          "app/garage/documents/upload/page.tsx",
          "app/garage/notes/page.tsx",
          "app/garage/page.tsx",
          "app/garage/photos/page.tsx",
          "app/garage/photos/upload/page.tsx",
          "app/garage/reminders/page.tsx",
          "app/garage/search/page.tsx",
          "app/garage/search/search-content.tsx",
          "app/garage/services/new/page.tsx",
          "app/garage/services/page.tsx",
          "app/garage/settings/page.tsx",
          "app/garage/shares/page.tsx",
          "app/garage/vehicles/[id]/page.tsx",
          "app/garage/vehicles/new/page.tsx",
          "app/garage/vehicles/page.tsx",
          "app/globals.css",
          "app/layout.tsx",
          "app/share/[token]/page.tsx"
        ]
      },
      {
        "name": "email",
        "confidence": "medium",
        "evidence_paths": [
          "app/garage/settings/page.tsx",
          "lib/auth.ts",
          "lib/types.ts",
          "public/llms-full.txt",
          "public/llms.txt",
          "tests/lib/auth.test.ts"
        ]
      },
      {
        "name": "health",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/health/route.ts",
          "public/llms-full.txt",
          "public/llms.txt",
          "tests/api/health.test.ts"
        ]
      },
      {
        "name": "location",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/vehicles/[id]/services/route.ts",
          "app/garage/shares/page.tsx",
          "components/service-record-form.tsx",
          "lib/types.ts"
        ]
      },
      {
        "name": "oauth",
        "confidence": "medium",
        "evidence_paths": [
          "lib/auth.ts"
        ]
      },
      {
        "name": "password",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/vehicles/[id]/shares/route.ts",
          "app/garage/shares/page.tsx",
          "lib/auth.ts",
          "lib/types.ts",
          "public/llms-full.txt",
          "public/llms.txt",
          "tests/api/shares.test.ts",
          "tests/integration/flow.test.ts"
        ]
      },
      {
        "name": "password_hash",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/vehicles/[id]/shares/route.ts",
          "app/garage/shares/page.tsx",
          "lib/types.ts",
          "public/llms-full.txt"
        ]
      },
      {
        "name": "payment",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/vehicles/[id]/documents/route.ts"
        ]
      },
      {
        "name": "pii",
        "confidence": "medium",
        "evidence_paths": [
          "pnpm-lock.yaml"
        ]
      },
      {
        "name": "secret-like environment variables",
        "confidence": "medium",
        "evidence_paths": [
          "package.json"
        ]
      },
      {
        "name": "token",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/vehicles/[id]/shares/route.ts",
          "app/garage/shares/page.tsx",
          "app/share/[token]/page.tsx",
          "lib/auth.ts",
          "lib/types.ts",
          "pnpm-lock.yaml",
          "public/llms-full.txt",
          "public/llms.txt",
          "tests/api/shares.test.ts",
          "tests/integration/flow.test.ts"
        ]
      }
    ]
  },
  "generated_at": "2026-05-16T16:44:06.773Z"
}
