{
  "schema_version": "1.0.0",
  "scanner": {
    "name": "global-capability-catalog",
    "version": "0.1.0"
  },
  "repo": {
    "id": "github-recent__mbarbine__platphorm-politics",
    "name": "mbarbine__platphorm-politics",
    "path": "/Users/bwm.barbinewarnermichael/Documents/github/repositories/github-recent/mbarbine__platphorm-politics",
    "relative_path": "github-recent/mbarbine__platphorm-politics",
    "remote_url": "git@github.com:mbarbine/platphorm-politics.git",
    "default_branch": "main",
    "current_commit": "5d5a1904fbfe235f4800341dbac14ad7ebe79b9e"
  },
  "languages": [
    {
      "language": "JSON",
      "files": 5,
      "bytes": 373677
    },
    {
      "language": "YAML",
      "files": 1,
      "bytes": 259971
    },
    {
      "language": "TypeScript",
      "files": 53,
      "bytes": 155522
    },
    {
      "language": "Markdown",
      "files": 6,
      "bytes": 11222
    },
    {
      "language": "CSS",
      "files": 2,
      "bytes": 9088
    },
    {
      "language": "SQL",
      "files": 4,
      "bytes": 5050
    },
    {
      "language": "JavaScript",
      "files": 3,
      "bytes": 1684
    }
  ],
  "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": "fec-form-filer",
        "version": "0.1.0",
        "scripts": {
          "build": "next build",
          "dev": "next dev",
          "lint": "eslint .",
          "start": "next start"
        },
        "dependencies": {
          "@hookform/resolvers": "^3.10.0",
          "@lob/lob-typescript-sdk": "1.3.5",
          "@radix-ui/react-accordion": "1.2.2",
          "@radix-ui/react-alert-dialog": "1.1.4",
          "@radix-ui/react-aspect-ratio": "1.1.1",
          "@radix-ui/react-avatar": "1.1.2",
          "@radix-ui/react-checkbox": "latest",
          "@radix-ui/react-collapsible": "1.1.2",
          "@radix-ui/react-context-menu": "2.2.4",
          "@radix-ui/react-dialog": "1.1.4",
          "@radix-ui/react-dropdown-menu": "2.1.4",
          "@radix-ui/react-hover-card": "1.1.4",
          "@radix-ui/react-label": "latest",
          "@radix-ui/react-menubar": "1.1.4",
          "@radix-ui/react-navigation-menu": "1.2.3",
          "@radix-ui/react-popover": "1.1.4",
          "@radix-ui/react-progress": "1.1.1",
          "@radix-ui/react-radio-group": "1.2.2",
          "@radix-ui/react-scroll-area": "1.2.2",
          "@radix-ui/react-select": "latest",
          "@radix-ui/react-separator": "1.1.1",
          "@radix-ui/react-slider": "1.2.2",
          "@radix-ui/react-slot": "latest",
          "@radix-ui/react-switch": "1.1.2",
          "@radix-ui/react-tabs": "1.1.2",
          "@radix-ui/react-toast": "1.2.4",
          "@radix-ui/react-toggle": "1.1.1",
          "@radix-ui/react-toggle-group": "1.1.1",
          "@radix-ui/react-tooltip": "latest",
          "@supabase/ssr": "latest",
          "@supabase/supabase-js": "latest",
          "@vercel/analytics": "latest",
          "@vercel/blob": "latest",
          "autoprefixer": "^10.4.20",
          "class-variance-authority": "^0.7.1",
          "clsx": "^2.1.1",
          "cmdk": "1.0.4",
          "date-fns": "4.1.0",
          "embla-carousel-react": "8.5.1",
          "input-otp": "1.4.1",
          "jspdf": "latest",
          "lucide-react": "^0.454.0",
          "next": "16.0.10",
          "next-themes": "latest",
          "radix-ui": "^1.4.3",
          "react": "19.2.0",
          "react-day-picker": "9.8.0",
          "react-dom": "19.2.0",
          "react-hook-form": "^7.60.0",
          "react-resizable-panels": "^2.1.7",
          "recharts": "2.15.4",
          "sonner": "latest",
          "tailwind-merge": "^2.5.5",
          "tailwindcss-animate": "^1.0.7",
          "vaul": "^0.9.9",
          "zod": "3.25.76"
        },
        "dev_dependencies": {
          "@tailwindcss/postcss": "^4.1.9",
          "@testing-library/dom": "^10.4.1",
          "@testing-library/react": "^16.3.2",
          "@types/node": "^22",
          "@types/react": "^19",
          "@types/react-dom": "^19",
          "@vitejs/plugin-react": "^6.0.1",
          "jsdom": "^29.0.1",
          "postcss": "^8.5",
          "tailwindcss": "^4.1.9",
          "tw-animate-css": "1.3.3",
          "typescript": "^5",
          "vitest": "^4.1.1"
        }
      }
    ]
  },
  "routes": {
    "api_routes": [
      {
        "route": "/complete-onboarding",
        "source_path": "app/api/complete-onboarding/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/docs",
        "source_path": "app/api/docs/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/generate-pdf",
        "source_path": "app/api/generate-pdf/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/health",
        "source_path": "app/api/health/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/network/graph",
        "source_path": "app/api/network/graph/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/save-form",
        "source_path": "app/api/save-form/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/send-mail",
        "source_path": "app/api/send-mail/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/well-known",
        "source_path": "app/api/well-known/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      }
    ],
    "app_routes": [
      {
        "route": "/auth/login",
        "source_path": "app/auth/login/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/auth/sign-up-success",
        "source_path": "app/auth/sign-up-success/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/auth/sign-up",
        "source_path": "app/auth/sign-up/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/dashboard",
        "source_path": "app/dashboard/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/faq",
        "source_path": "app/faq/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/form/[id]",
        "source_path": "app/form/[id]/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/form/new",
        "source_path": "app/form/new/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      }
    ]
  },
  "components": [
    {
      "name": "env-setup-banner",
      "kind": "ui-component",
      "source_path": "components/env-setup-banner.tsx"
    },
    {
      "name": "fec-form-2",
      "kind": "ui-component",
      "source_path": "components/fec-form-2.tsx"
    },
    {
      "name": "fec-tracking",
      "kind": "ui-component",
      "source_path": "components/fec-tracking.tsx"
    },
    {
      "name": "footer",
      "kind": "ui-component",
      "source_path": "components/footer.tsx"
    },
    {
      "name": "form-detail",
      "kind": "ui-component",
      "source_path": "components/form-detail.tsx"
    },
    {
      "name": "header",
      "kind": "ui-component",
      "source_path": "components/header.tsx"
    },
    {
      "name": "onboarding-wizard",
      "kind": "ui-component",
      "source_path": "components/onboarding-wizard.tsx"
    },
    {
      "name": "social-share",
      "kind": "ui-component",
      "source_path": "components/social-share.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",
      "kind": "ui-component",
      "source_path": "components/ui/alert.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": "card",
      "kind": "ui-component",
      "source_path": "components/ui/card.tsx"
    },
    {
      "name": "checkbox",
      "kind": "ui-component",
      "source_path": "components/ui/checkbox.tsx"
    },
    {
      "name": "input",
      "kind": "ui-component",
      "source_path": "components/ui/input.tsx"
    },
    {
      "name": "label",
      "kind": "ui-component",
      "source_path": "components/ui/label.tsx"
    },
    {
      "name": "select",
      "kind": "ui-component",
      "source_path": "components/ui/select.tsx"
    },
    {
      "name": "skeleton",
      "kind": "ui-component",
      "source_path": "components/ui/skeleton.tsx"
    },
    {
      "name": "sonner",
      "kind": "ui-component",
      "source_path": "components/ui/sonner.tsx"
    },
    {
      "name": "textarea",
      "kind": "ui-component",
      "source_path": "components/ui/textarea.tsx"
    },
    {
      "name": "tooltip",
      "kind": "ui-component",
      "source_path": "components/ui/tooltip.tsx"
    },
    {
      "name": "button.test",
      "kind": "ui-component",
      "source_path": "tests/components/button.test.tsx"
    },
    {
      "name": "page.test",
      "kind": "ui-component",
      "source_path": "tests/ui/page.test.tsx"
    }
  ],
  "data_models": [],
  "database": {
    "databases": [],
    "schemas": [],
    "migrations": []
  },
  "tests": [
    {
      "name": "create-test-user.ts",
      "kind": "unit-or-integration",
      "source_path": "scripts/create-test-user.ts"
    },
    {
      "name": "button.test.tsx",
      "kind": "unit-or-integration",
      "source_path": "tests/components/button.test.tsx"
    },
    {
      "name": "page.test.tsx",
      "kind": "unit-or-integration",
      "source_path": "tests/ui/page.test.tsx"
    }
  ],
  "ci": {
    "workflows": []
  },
  "containers": {
    "dockerfiles": [],
    "compose_files": []
  },
  "env": {
    "example_files": [],
    "variables": [
      {
        "name": "LOB_API_KEY",
        "source_paths": [
          "app/api/send-mail/route.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "NEXT_PUBLIC_DEV_SUPABASE_REDIRECT_URL",
        "source_paths": [
          "app/auth/sign-up/page.tsx"
        ],
        "likely_secret": false
      },
      {
        "name": "NEXT_PUBLIC_SUPABASE_ANON_KEY",
        "source_paths": [
          "lib/supabase/client.ts",
          "lib/supabase/middleware.ts",
          "lib/supabase/server.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "NEXT_PUBLIC_SUPABASE_URL",
        "source_paths": [
          "lib/supabase/client.ts",
          "lib/supabase/middleware.ts",
          "lib/supabase/server.ts",
          "scripts/create-test-user.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "SUPABASE_SERVICE_ROLE_KEY",
        "source_paths": [
          "scripts/create-test-user.ts"
        ],
        "likely_secret": true
      }
    ]
  },
  "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": "llms.txt"
      }
    ]
  },
  "discovery_files": {
    "openapi": [],
    "mcp": [
      {
        "path": ".well-known/mcp.json"
      }
    ],
    "llms": [
      {
        "path": "llms.txt"
      }
    ],
    "sitemaps": [],
    "feeds": [],
    "well_known": [
      {
        "path": ".well-known/mcp.json"
      },
      {
        "path": "public/.well-known/apple-developer-merchantid-domain-association"
      },
      {
        "path": "public/.well-known/security.txt"
      }
    ],
    "robots": [
      {
        "path": "public/robots.txt"
      }
    ],
    "manifests": []
  },
  "integrations": [
    {
      "name": "Supabase",
      "confidence": "medium",
      "evidence_paths": [
        "app/auth/sign-up/page.tsx",
        "lib/supabase/client.ts",
        "lib/supabase/middleware.ts",
        "lib/supabase/server.ts",
        "package-lock.json",
        "package.json",
        "pnpm-lock.yaml",
        "README.md",
        "scripts/create-test-user.ts"
      ]
    },
    {
      "name": "Vercel",
      "confidence": "medium",
      "evidence_paths": [
        "app/api/generate-pdf/route.ts",
        "app/layout.tsx",
        "package-lock.json",
        "package.json",
        "pnpm-lock.yaml"
      ]
    }
  ],
  "license": {
    "spdx": null,
    "paths": []
  },
  "comments": [
    {
      "kind": "security",
      "source_path": "app/page.tsx",
      "line": 181,
      "text": "<h3 className=\"font-semibold text-2xl\">Bank-Level Security</h3>"
    },
    {
      "kind": "security",
      "source_path": "public/.well-known/security.txt",
      "line": 1,
      "text": "Contact: security@platphormnews.com"
    },
    {
      "kind": "security",
      "source_path": "public/.well-known/security.txt",
      "line": 6,
      "text": "Canonical: https://platphormnews.com/.well-known/security.txt"
    },
    {
      "kind": "security",
      "source_path": "public/.well-known/security.txt",
      "line": 7,
      "text": "Policy: https://platphormnews.com/security-policy.html"
    },
    {
      "kind": "security",
      "source_path": "README.md",
      "line": 9,
      "text": "- **Secure Storage**: All submissions are securely stored in Supabase with Row Level Security (RLS)"
    },
    {
      "kind": "security",
      "source_path": "README.md",
      "line": 63,
      "text": "- Row Level Security (RLS) policies"
    },
    {
      "kind": "security",
      "source_path": "README.md",
      "line": 141,
      "text": "## Security"
    },
    {
      "kind": "security",
      "source_path": "README.md",
      "line": 143,
      "text": "- All database tables are protected with Row Level Security (RLS)"
    },
    {
      "kind": "security",
      "source_path": "ROADMAP.md",
      "line": 7,
      "text": "- [x] Initial `.well-known` endpoints for security and robot policies"
    },
    {
      "kind": "security",
      "source_path": "ROADMAP.md",
      "line": 28,
      "text": "- [ ] Regular security dependency audits."
    },
    {
      "kind": "security",
      "source_path": "scripts/001_create_fec_submissions_table.sql",
      "line": 45,
      "text": "-- Enable Row Level Security"
    },
    {
      "kind": "security",
      "source_path": "scripts/001_create_fec_submissions_table.sql",
      "line": 46,
      "text": "ALTER TABLE public.fec_submissions ENABLE ROW LEVEL SECURITY;"
    },
    {
      "kind": "security",
      "source_path": "scripts/002_create_profiles_table.sql",
      "line": 11,
      "text": "-- Enable Row Level Security"
    },
    {
      "kind": "security",
      "source_path": "scripts/002_create_profiles_table.sql",
      "line": 12,
      "text": "ALTER TABLE public.profiles ENABLE ROW LEVEL SECURITY;"
    },
    {
      "kind": "security",
      "source_path": "scripts/002_create_profiles_table.sql",
      "line": 35,
      "text": "SECURITY DEFINER"
    },
    {
      "kind": "security",
      "source_path": "SETUP_INSTRUCTIONS.md",
      "line": 68,
      "text": "✅ Row Level Security for data protection"
    }
  ],
  "security": {
    "secret_risks": [],
    "unsafe_patterns": [],
    "sensitive_data_indicators": [
      {
        "name": "api_key",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/send-mail/route.ts",
          "components/env-setup-banner.tsx",
          "components/fec-tracking.tsx",
          "README.md",
          "SETUP_INSTRUCTIONS.md"
        ]
      },
      {
        "name": "card",
        "confidence": "medium",
        "evidence_paths": [
          "app/auth/login/page.tsx",
          "app/auth/sign-up-success/page.tsx",
          "app/auth/sign-up/page.tsx",
          "app/dashboard/page.tsx",
          "app/globals.css",
          "app/layout.tsx",
          "app/page.tsx",
          "components/fec-form-2.tsx",
          "components/fec-tracking.tsx",
          "components/form-detail.tsx",
          "components/onboarding-wizard.tsx",
          "components/social-share.tsx",
          "components/ui/card.tsx",
          "package-lock.json",
          "package.json",
          "pnpm-lock.yaml",
          "styles/globals.css"
        ]
      },
      {
        "name": "email",
        "confidence": "medium",
        "evidence_paths": [
          "app/auth/login/page.tsx",
          "app/auth/sign-up-success/page.tsx",
          "app/auth/sign-up/page.tsx",
          "app/dashboard/page.tsx",
          "app/layout.tsx",
          "app/page.tsx",
          "components/fec-form-2.tsx",
          "components/form-detail.tsx",
          "components/onboarding-wizard.tsx",
          "components/social-share.tsx",
          "README.md",
          "scripts/001_create_fec_submissions_table.sql",
          "scripts/002_create_profiles_table.sql",
          "scripts/create-test-user.ts",
          "SETUP_INSTRUCTIONS.md"
        ]
      },
      {
        "name": "financial",
        "confidence": "medium",
        "evidence_paths": [
          "components/fec-tracking.tsx"
        ]
      },
      {
        "name": "health",
        "confidence": "medium",
        "evidence_paths": [
          "middleware.ts"
        ]
      },
      {
        "name": "location",
        "confidence": "medium",
        "evidence_paths": [
          "app/auth/sign-up/page.tsx",
          "components/social-share.tsx"
        ]
      },
      {
        "name": "password",
        "confidence": "medium",
        "evidence_paths": [
          "app/auth/login/page.tsx",
          "app/auth/sign-up/page.tsx",
          "package-lock.json",
          "pnpm-lock.yaml",
          "scripts/create-test-user.ts",
          "SETUP_INSTRUCTIONS.md"
        ]
      },
      {
        "name": "pii",
        "confidence": "medium",
        "evidence_paths": [
          "package-lock.json",
          "pnpm-lock.yaml"
        ]
      },
      {
        "name": "secret-like environment variables",
        "confidence": "medium",
        "evidence_paths": [
          "package.json"
        ]
      },
      {
        "name": "token",
        "confidence": "medium",
        "evidence_paths": [
          "package-lock.json",
          "pnpm-lock.yaml",
          "README.md",
          "scripts/create-test-user.ts"
        ]
      }
    ]
  },
  "generated_at": "2026-05-16T16:44:19.220Z"
}
