{
  "schema_version": "1.0.0",
  "scanner": {
    "name": "global-capability-catalog",
    "version": "0.1.0"
  },
  "repo": {
    "id": "github-recent__mbarbine__tiktok-clone",
    "name": "mbarbine__tiktok-clone",
    "path": "/Users/bwm.barbinewarnermichael/Documents/github/repositories/github-recent/mbarbine__tiktok-clone",
    "relative_path": "github-recent/mbarbine__tiktok-clone",
    "remote_url": "git@github.com:mbarbine/tiktok-clone.git",
    "default_branch": "main",
    "current_commit": "b245d5f0e279fe669038bbfb6415d9015096b383"
  },
  "languages": [
    {
      "language": "TypeScript",
      "files": 69,
      "bytes": 232926
    },
    {
      "language": "YAML",
      "files": 1,
      "bytes": 180318
    },
    {
      "language": "Markdown",
      "files": 4,
      "bytes": 8377
    },
    {
      "language": "CSS",
      "files": 2,
      "bytes": 5280
    },
    {
      "language": "JSON",
      "files": 3,
      "bytes": 3332
    },
    {
      "language": "JavaScript",
      "files": 2,
      "bytes": 1023
    }
  ],
  "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"
      ]
    }
  ],
  "packages": {
    "package_manager": "pnpm",
    "manifests": [
      {
        "path": "package.json",
        "name": "my-v0-project",
        "version": "0.1.0",
        "scripts": {
          "build": "next build",
          "dev": "next dev",
          "lint": "next lint",
          "start": "next start"
        },
        "dependencies": {
          "@aws-sdk/client-s3": "latest",
          "@aws-sdk/s3-presigned-post": "latest",
          "@hookform/resolvers": "^3.9.1",
          "@radix-ui/react-accordion": "latest",
          "@radix-ui/react-alert-dialog": "latest",
          "@radix-ui/react-aspect-ratio": "latest",
          "@radix-ui/react-avatar": "latest",
          "@radix-ui/react-checkbox": "latest",
          "@radix-ui/react-collapsible": "latest",
          "@radix-ui/react-context-menu": "latest",
          "@radix-ui/react-dialog": "latest",
          "@radix-ui/react-dropdown-menu": "latest",
          "@radix-ui/react-hover-card": "latest",
          "@radix-ui/react-label": "latest",
          "@radix-ui/react-menubar": "latest",
          "@radix-ui/react-navigation-menu": "latest",
          "@radix-ui/react-popover": "latest",
          "@radix-ui/react-progress": "latest",
          "@radix-ui/react-radio-group": "latest",
          "@radix-ui/react-scroll-area": "latest",
          "@radix-ui/react-select": "latest",
          "@radix-ui/react-separator": "latest",
          "@radix-ui/react-slider": "latest",
          "@radix-ui/react-slot": "latest",
          "@radix-ui/react-switch": "latest",
          "@radix-ui/react-tabs": "latest",
          "@radix-ui/react-toast": "latest",
          "@radix-ui/react-toggle": "latest",
          "@radix-ui/react-toggle-group": "latest",
          "@radix-ui/react-tooltip": "latest",
          "autoprefixer": "^10.4.20",
          "class-variance-authority": "^0.7.1",
          "clsx": "^2.1.1",
          "cmdk": "latest",
          "date-fns": "4.1.0",
          "embla-carousel-react": "latest",
          "input-otp": "latest",
          "lucide-react": "^0.454.0",
          "next": "15.2.4",
          "next-themes": "latest",
          "react": "^19",
          "react-day-picker": "latest",
          "react-dom": "^19",
          "react-hook-form": "latest",
          "react-resizable-panels": "latest",
          "recharts": "latest",
          "sonner": "latest",
          "tailwind-merge": "^2.5.5",
          "tailwindcss-animate": "^1.0.7",
          "uuid": "latest",
          "vaul": "latest",
          "zod": "^3.24.1"
        },
        "dev_dependencies": {
          "@types/node": "^22",
          "@types/react": "^19",
          "@types/react-dom": "^19",
          "postcss": "^8.5",
          "tailwindcss": "^3.4.17",
          "typescript": "^5"
        }
      }
    ]
  },
  "routes": {
    "api_routes": [
      {
        "route": "/upload",
        "source_path": "app/api/upload/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      }
    ],
    "app_routes": [
      {
        "route": "/discover",
        "source_path": "app/discover/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/profile",
        "source_path": "app/profile/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/trending",
        "source_path": "app/trending/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/upload",
        "source_path": "app/upload/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      }
    ]
  },
  "components": [
    {
      "name": "image-card",
      "kind": "ui-component",
      "source_path": "components/image-card.tsx"
    },
    {
      "name": "media-upload",
      "kind": "ui-component",
      "source_path": "components/media-upload.tsx"
    },
    {
      "name": "nav-bar",
      "kind": "ui-component",
      "source_path": "components/nav-bar.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",
      "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": "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-otp",
      "kind": "ui-component",
      "source_path": "components/ui/input-otp.tsx"
    },
    {
      "name": "input",
      "kind": "ui-component",
      "source_path": "components/ui/input.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": "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": "video-card",
      "kind": "ui-component",
      "source_path": "components/video-card.tsx"
    },
    {
      "name": "video-feed",
      "kind": "ui-component",
      "source_path": "components/video-feed.tsx"
    }
  ],
  "data_models": [],
  "database": {
    "databases": [],
    "schemas": [],
    "migrations": []
  },
  "tests": [],
  "ci": {
    "workflows": []
  },
  "containers": {
    "dockerfiles": [],
    "compose_files": []
  },
  "env": {
    "example_files": [],
    "variables": [
      {
        "name": "AWS_ACCESS_KEY_ID",
        "source_paths": [
          "lib/s3-upload.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "AWS_REGION",
        "source_paths": [
          "lib/s3-upload.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "AWS_S3_BUCKET_NAME",
        "source_paths": [
          "lib/s3-upload.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "AWS_SECRET_ACCESS_KEY",
        "source_paths": [
          "lib/s3-upload.ts"
        ],
        "likely_secret": true
      }
    ]
  },
  "configs": [
    {
      "path": "next.config.mjs"
    },
    {
      "path": "package.json"
    },
    {
      "path": "postcss.config.mjs"
    },
    {
      "path": "tailwind.config.ts"
    },
    {
      "path": "tsconfig.json"
    }
  ],
  "docs": {
    "readme_paths": [
      {
        "path": "README.md"
      }
    ],
    "doc_paths": [],
    "llms_context_paths": []
  },
  "discovery_files": {
    "openapi": [],
    "mcp": [],
    "llms": [],
    "sitemaps": [],
    "feeds": [],
    "well_known": [],
    "robots": [],
    "manifests": []
  },
  "integrations": [
    {
      "name": "AWS",
      "confidence": "medium",
      "evidence_paths": [
        "lib/s3-upload.ts",
        "package.json",
        "pnpm-lock.yaml"
      ]
    },
    {
      "name": "S3",
      "confidence": "medium",
      "evidence_paths": [
        "lib/s3-upload.ts",
        "package.json",
        "pnpm-lock.yaml"
      ]
    }
  ],
  "license": {
    "spdx": null,
    "paths": []
  },
  "comments": [
    {
      "kind": "security",
      "source_path": ".jules/sentinel.md",
      "line": 8,
      "text": "**Learning:** Security validations on the server-side must be perfectly mirrored in the policies and presigned URLs generated for third-party services like S3, as an attacker can manipulate the final request sent directly to the service."
    },
    {
      "kind": "security",
      "source_path": "app/api/upload/route.ts",
      "line": 4,
      "text": "// 🛡️ SECURITY: Use explicit allowlists for MIME types instead of broad string matching (like `.startsWith(\"image/\")`)"
    },
    {
      "kind": "security",
      "source_path": "components/media-upload.tsx",
      "line": 41,
      "text": "// 🛡️ SECURITY: Use explicit allowlists for MIME types instead of broad string matching (like `.startsWith(\"image/\")`)"
    },
    {
      "kind": "security",
      "source_path": "components/ui/chart.tsx",
      "line": 47,
      "text": "// 🛡️ SECURITY: Sanitize the provided ID to prevent CSS injection and XSS vulnerabilities"
    },
    {
      "kind": "security",
      "source_path": "components/ui/sidebar.tsx",
      "line": 87,
      "text": "// 🛡️ SECURITY: Add SameSite=Lax to prevent CSRF issues and Secure to ensure transmission over HTTPS"
    },
    {
      "kind": "unsafe",
      "source_path": "components/video-feed.tsx",
      "line": 26,
      "text": "caption: \"Hacking the mainframe #cyberware #hack\","
    },
    {
      "kind": "security",
      "source_path": "lib/s3-upload.ts",
      "line": 36,
      "text": "// 🛡️ SECURITY: Force S3 to enforce the exact Content-Type validated by the server."
    },
    {
      "kind": "security",
      "source_path": "next.config.mjs",
      "line": 12,
      "text": "// 🛡️ SECURITY: Add security headers to provide defense-in-depth against common vulnerabilities like XSS, clickjacking, and MIME-sniffing"
    }
  ],
  "security": {
    "secret_risks": [],
    "unsafe_patterns": [
      {
        "name": "dangerously-set-html",
        "confidence": "medium",
        "evidence_paths": [
          ".jules/sentinel.md",
          "components/ui/chart.tsx"
        ]
      }
    ],
    "sensitive_data_indicators": [
      {
        "name": "card",
        "confidence": "medium",
        "evidence_paths": [
          ".jules/bolt.md",
          "app/globals.css",
          "components/image-card.tsx",
          "components/ui/card.tsx",
          "components/ui/hover-card.tsx",
          "components/video-card.tsx",
          "components/video-feed.tsx",
          "package.json",
          "pnpm-lock.yaml",
          "styles/globals.css",
          "tailwind.config.ts"
        ]
      },
      {
        "name": "location",
        "confidence": "medium",
        "evidence_paths": [
          ".jules/bolt.md",
          "app/discover/page.tsx",
          "app/trending/page.tsx",
          "pnpm-lock.yaml"
        ]
      },
      {
        "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": [
          "pnpm-lock.yaml"
        ]
      }
    ]
  },
  "generated_at": "2026-05-16T16:44:27.024Z"
}
