{
  "schema_version": "1.0.0",
  "scanner": {
    "name": "global-capability-catalog",
    "version": "0.1.0"
  },
  "repo": {
    "id": "github-recent__mbarbine__platphorm-xml",
    "name": "mbarbine__platphorm-xml",
    "path": "/Users/bwm.barbinewarnermichael/Documents/github/repositories/github-recent/mbarbine__platphorm-xml",
    "relative_path": "github-recent/mbarbine__platphorm-xml",
    "remote_url": "git@github.com:mbarbine/platphorm-xml.git",
    "default_branch": "main",
    "current_commit": "90df81b6253ef00efc6ae91a9cd8294d14f8a2ab"
  },
  "languages": [
    {
      "language": "TypeScript",
      "files": 154,
      "bytes": 527784
    },
    {
      "language": "YAML",
      "files": 2,
      "bytes": 282582
    },
    {
      "language": "CSS",
      "files": 2,
      "bytes": 10559
    },
    {
      "language": "JSON",
      "files": 5,
      "bytes": 4931
    },
    {
      "language": "Markdown",
      "files": 3,
      "bytes": 2313
    },
    {
      "language": "JavaScript",
      "files": 3,
      "bytes": 845
    },
    {
      "language": "Dockerfile",
      "files": 1,
      "bytes": 636
    }
  ],
  "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": "platphorm-xml",
        "version": "0.1.0",
        "scripts": {
          "dev": "next dev",
          "build": "next build",
          "start": "next start",
          "lint": "eslint .",
          "test": "vitest run",
          "test:watch": "vitest",
          "test:coverage": "vitest run --coverage",
          "test:e2e": "playwright test"
        },
        "dependencies": {
          "@hookform/resolvers": "^3.9.1",
          "@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",
          "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.1.6",
          "next-themes": "^0.4.6",
          "react": "19.2.4",
          "react-day-picker": "9.13.2",
          "react-dom": "19.2.4",
          "react-hook-form": "^7.54.1",
          "react-resizable-panels": "^2.1.7",
          "recharts": "2.15.0",
          "sonner": "^1.7.1",
          "swr": "^2.2.5",
          "tailwind-merge": "^3.3.1",
          "vaul": "^1.1.2",
          "zod": "^3.24.1",
          "zustand": "^5.0.0"
        },
        "dev_dependencies": {
          "@playwright/test": "^1.59.1",
          "@tailwindcss/postcss": "^4.2.0",
          "@testing-library/jest-dom": "^6.9.1",
          "@testing-library/react": "^16.3.2",
          "@types/node": "^22",
          "@types/react": "19.2.14",
          "@types/react-dom": "19.2.3",
          "@vitejs/plugin-react": "^5.1.4",
          "eslint": "^9.39.4",
          "eslint-config-next": "^16.1.6",
          "jsdom": "^28.1.0",
          "postcss": "^8.5",
          "tailwindcss": "^4.2.0",
          "tw-animate-css": "1.3.3",
          "typescript": "5.7.3",
          "vitest": "^4.0.18"
        }
      }
    ]
  },
  "routes": {
    "api_routes": [
      {
        "route": "/cron/refresh",
        "source_path": "app/api/cron/refresh/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/docs",
        "source_path": "app/api/docs/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/health",
        "source_path": "app/api/health/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/mcp",
        "source_path": "app/api/mcp/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/atom/inspect",
        "source_path": "app/api/v1/atom/inspect/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/convert/json",
        "source_path": "app/api/v1/convert/json/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/convert/yaml",
        "source_path": "app/api/v1/convert/yaml/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/format",
        "source_path": "app/api/v1/format/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/health",
        "source_path": "app/api/v1/health/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/mcp",
        "source_path": "app/api/v1/mcp/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/minify",
        "source_path": "app/api/v1/minify/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/network",
        "source_path": "app/api/v1/network/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET",
          "POST"
        ]
      },
      {
        "route": "/v1/parse",
        "source_path": "app/api/v1/parse/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/rss/inspect",
        "source_path": "app/api/v1/rss/inspect/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/schemas/[slug]",
        "source_path": "app/api/v1/schemas/[slug]/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/schemas",
        "source_path": "app/api/v1/schemas/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "GET"
        ]
      },
      {
        "route": "/v1/sitemap/inspect",
        "source_path": "app/api/v1/sitemap/inspect/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/stats",
        "source_path": "app/api/v1/stats/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/validate",
        "source_path": "app/api/v1/validate/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/xpath",
        "source_path": "app/api/v1/xpath/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      },
      {
        "route": "/v1/xsd/validate",
        "source_path": "app/api/v1/xsd/validate/route.ts",
        "kind": "next-app-api-route",
        "methods": [
          "POST"
        ]
      }
    ],
    "app_routes": [
      {
        "route": "/faq",
        "source_path": "app/faq/page.tsx",
        "kind": "next-app-page",
        "methods": [
          "GET"
        ]
      }
    ]
  },
  "components": [
    {
      "name": "i18n-provider",
      "kind": "ui-component",
      "source_path": "components/i18n-provider.tsx"
    },
    {
      "name": "breadcrumbs",
      "kind": "ui-component",
      "source_path": "components/navigation/breadcrumbs.tsx"
    },
    {
      "name": "ph3ar-modal",
      "kind": "ui-component",
      "source_path": "components/ph3ar-modal.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": "header",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/header.tsx"
    },
    {
      "name": "node-details",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/node-details.tsx"
    },
    {
      "name": "xml-editor",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-editor.tsx"
    },
    {
      "name": "xml-graph-view",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-graph-view.tsx"
    },
    {
      "name": "xml-stats",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-stats.tsx"
    },
    {
      "name": "xml-toolbar",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-toolbar.tsx"
    },
    {
      "name": "xml-tree-node",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-tree-node.tsx"
    },
    {
      "name": "xml-tree-view",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-tree-view.tsx"
    },
    {
      "name": "xml-utility-panels",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-utility-panels.tsx"
    },
    {
      "name": "xml-viewer",
      "kind": "ui-component",
      "source_path": "components/xml-viewer/xml-viewer.tsx"
    }
  ],
  "data_models": [
    {
      "name": "route",
      "kind": "model-file",
      "source_path": "app/api/v1/schemas/[slug]/route.ts"
    },
    {
      "name": "route",
      "kind": "model-file",
      "source_path": "app/api/v1/schemas/route.ts"
    }
  ],
  "database": {
    "databases": [],
    "schemas": [],
    "migrations": []
  },
  "tests": [
    {
      "name": "route.test.ts",
      "kind": "unit-or-integration",
      "source_path": "app/llms-index.json/route.test.ts"
    },
    {
      "name": "i18n.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/i18n.test.ts"
    },
    {
      "name": "mcp-client.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/mcp-client.test.ts"
    },
    {
      "name": "mcp-server.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/mcp-server.test.ts"
    },
    {
      "name": "sample-xml.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/sample-xml.test.ts"
    },
    {
      "name": "utils.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/utils.test.ts"
    },
    {
      "name": "xml-parser.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/xml-parser.test.ts"
    },
    {
      "name": "xml-store.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/xml-store.test.ts"
    },
    {
      "name": "xml-tools.test.ts",
      "kind": "unit-or-integration",
      "source_path": "lib/xml-tools.test.ts"
    },
    {
      "name": "playwright.config.ts",
      "kind": "playwright",
      "source_path": "playwright.config.ts"
    },
    {
      "name": "xml-phase1.spec.ts",
      "kind": "e2e",
      "source_path": "tests/e2e/xml-phase1.spec.ts"
    }
  ],
  "ci": {
    "workflows": []
  },
  "containers": {
    "dockerfiles": [
      {
        "path": "Dockerfile"
      }
    ],
    "compose_files": []
  },
  "env": {
    "example_files": [],
    "variables": [
      {
        "name": "AI_GATEWAY_API_KEY",
        "source_paths": [
          "lib/model-adapter.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "DATABASE_URL",
        "source_paths": [
          "lib/discovery.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "MCP_HUB_URL",
        "source_paths": [
          "lib/mcp-client.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "NODE_ENV",
        "source_paths": [
          "lib/discovery.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "OPENAI_API_KEY",
        "source_paths": [
          "lib/model-adapter.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "PLATPHORM_API_KEY",
        "source_paths": [
          "lib/auth.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "PLATPHORM_REQUIRE_API_KEY",
        "source_paths": [
          "lib/auth.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "PLATPHORM_TRACE_EXPORT_ENABLED",
        "source_paths": [
          "lib/discovery.ts",
          "lib/trace.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "PLAYWRIGHT_BASE_URL",
        "source_paths": [
          "playwright.config.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "SERVICE_URL",
        "source_paths": [
          "lib/mcp-client.ts"
        ],
        "likely_secret": false
      },
      {
        "name": "VERCEL_AI_GATEWAY_API_KEY",
        "source_paths": [
          "lib/model-adapter.ts"
        ],
        "likely_secret": true
      },
      {
        "name": "VERCEL_ENV",
        "source_paths": [
          "lib/discovery.ts"
        ],
        "likely_secret": false
      }
    ]
  },
  "configs": [
    {
      "path": "eslint.config.mjs"
    },
    {
      "path": "next.config.mjs"
    },
    {
      "path": "package.json"
    },
    {
      "path": "pnpm-workspace.yaml"
    },
    {
      "path": "postcss.config.mjs"
    },
    {
      "path": "tsconfig.json"
    },
    {
      "path": "vercel.json"
    }
  ],
  "docs": {
    "readme_paths": [],
    "doc_paths": [],
    "llms_context_paths": []
  },
  "discovery_files": {
    "openapi": [],
    "mcp": [
      {
        "path": "app/api/mcp/route.ts"
      },
      {
        "path": "lib/mcp-server.ts"
      }
    ],
    "llms": [],
    "sitemaps": [],
    "feeds": [],
    "well_known": [
      {
        "path": "app/.well-known/agents.json/route.ts"
      },
      {
        "path": "app/.well-known/ai-plugin.json/route.ts"
      },
      {
        "path": "app/.well-known/llms-full.txt/route.ts"
      },
      {
        "path": "app/.well-known/llms-index.json/route.ts"
      },
      {
        "path": "app/.well-known/llms.txt/route.ts"
      },
      {
        "path": "app/.well-known/mcp.json/route.ts"
      },
      {
        "path": "app/.well-known/platphorm.xml/route.ts"
      },
      {
        "path": "app/.well-known/security.txt/route.ts"
      },
      {
        "path": "app/.well-known/trust.json/route.ts"
      }
    ],
    "robots": [],
    "manifests": []
  },
  "integrations": [
    {
      "name": "OpenAI",
      "confidence": "medium",
      "evidence_paths": [
        "lib/model-adapter.ts",
        "package.json"
      ]
    },
    {
      "name": "PlatPhorm",
      "confidence": "medium",
      "evidence_paths": [
        "app/api/cron/refresh/route.ts",
        "app/api/docs/route.ts",
        "app/api/v1/network/route.ts",
        "app/faq/page.tsx",
        "app/llms-index.json/route.test.ts",
        "components/xml-viewer/xml-toolbar.tsx",
        "components/xml-viewer/xml-utility-panels.tsx",
        "components/xml-viewer/xml-viewer.tsx",
        "lib/auth.ts",
        "lib/discovery.ts",
        "lib/trace.ts",
        "package.json"
      ]
    },
    {
      "name": "Postgres",
      "confidence": "medium",
      "evidence_paths": [
        "app/api/cron/refresh/route.ts",
        "lib/discovery.ts",
        "package.json"
      ]
    },
    {
      "name": "Vercel",
      "confidence": "medium",
      "evidence_paths": [
        "app/layout.tsx",
        "lib/discovery.ts",
        "lib/model-adapter.ts",
        "package.json",
        "pnpm-lock.yaml"
      ]
    }
  ],
  "license": {
    "spdx": null,
    "paths": []
  },
  "comments": [
    {
      "kind": "security",
      "source_path": "app/.well-known/security.txt/route.ts",
      "line": 7,
      "text": "return textResponse(`Contact: mailto:security@platphormnews.com"
    },
    {
      "kind": "security",
      "source_path": "app/.well-known/security.txt/route.ts",
      "line": 10,
      "text": "Canonical: ${XML_SERVICE.baseUrl}/.well-known/security.txt"
    },
    {
      "kind": "security",
      "source_path": "lib/discovery.ts",
      "line": 31,
      "text": "'/.well-known/security.txt',"
    },
    {
      "kind": "security",
      "source_path": "lib/discovery.ts",
      "line": 343,
      "text": "securityContact: 'security@platphormnews.com',"
    },
    {
      "kind": "todo",
      "source_path": "lib/i18n.ts",
      "line": 163,
      "text": "'toolbar.expandAll': 'Expandir Todo',"
    },
    {
      "kind": "todo",
      "source_path": "lib/i18n.ts",
      "line": 164,
      "text": "'toolbar.collapseAll': 'Colapsar Todo',"
    },
    {
      "kind": "security",
      "source_path": "lib/mcp-server.ts",
      "line": 133,
      "text": "return { valid: parsed.isValid, errors: parsed.errors, security: parsed.security, stats: parsed.stats };"
    },
    {
      "kind": "security",
      "source_path": "lib/platform-config.ts",
      "line": 37,
      "text": "'/.well-known/security.txt',"
    },
    {
      "kind": "security",
      "source_path": "lib/platform-config.ts",
      "line": 46,
      "text": "{ method: 'POST', path: '/api/v1/validate', publicSafe: true, description: 'Validate XML syntax and security constraints.' },"
    },
    {
      "kind": "security",
      "source_path": "lib/xml-api-handlers.ts",
      "line": 103,
      "text": "return ok({ valid: parsed.isValid, errors: parsed.errors, security: parsed.security, stats: parsed.stats, meta });"
    },
    {
      "kind": "security",
      "source_path": "lib/xml-tools.test.ts",
      "line": 27,
      "text": "expect(result.security.issues.length).toBeGreaterThan(0);"
    },
    {
      "kind": "security",
      "source_path": "lib/xml-tools.ts",
      "line": 31,
      "text": "security: {"
    },
    {
      "kind": "security",
      "source_path": "lib/xml-tools.ts",
      "line": 322,
      "text": "security: {"
    }
  ],
  "security": {
    "secret_risks": [],
    "unsafe_patterns": [
      {
        "name": "child-process-exec",
        "confidence": "medium",
        "evidence_paths": [
          "components/xml-viewer/xml-editor.tsx",
          "lib/xml-tools.ts"
        ]
      },
      {
        "name": "dangerously-set-html",
        "confidence": "medium",
        "evidence_paths": [
          "app/faq/page.tsx",
          "app/page.tsx",
          "components/ui/chart.tsx"
        ]
      },
      {
        "name": "sql-injection-review-needed",
        "confidence": "medium",
        "evidence_paths": [
          "lib/discovery.ts"
        ]
      },
      {
        "name": "ssrf-review-needed",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/v1/network/route.ts"
        ]
      }
    ],
    "sensitive_data_indicators": [
      {
        "name": "api_key",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/cron/refresh/route.ts",
          "app/api/docs/route.ts",
          "app/api/v1/network/route.ts",
          "app/faq/page.tsx",
          "app/llms-index.json/route.test.ts",
          "components/xml-viewer/xml-toolbar.tsx",
          "components/xml-viewer/xml-utility-panels.tsx",
          "components/xml-viewer/xml-viewer.tsx",
          "lib/auth.ts",
          "lib/discovery.ts",
          "lib/mcp-client.ts",
          "lib/mcp-server.ts",
          "lib/model-adapter.ts",
          "lib/openapi.ts",
          "lib/platform-config.ts",
          "lib/xml-api-handlers.ts"
        ]
      },
      {
        "name": "card",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/docs/route.ts",
          "app/faq/page.tsx",
          "app/globals.css",
          "app/layout.tsx",
          "components/ui/alert.tsx",
          "components/ui/calendar.tsx",
          "components/ui/card.tsx",
          "components/ui/hover-card.tsx",
          "components/xml-viewer/xml-graph-view.tsx",
          "lib/discovery.ts",
          "lib/xml-tools.ts",
          "package.json",
          "pnpm-lock.yaml",
          "styles/globals.css"
        ]
      },
      {
        "name": "email",
        "confidence": "medium",
        "evidence_paths": [
          "app/.well-known/ai-plugin.json/route.ts",
          "lib/openapi.ts",
          "lib/sample-xml.ts",
          "lib/structured-data.ts"
        ]
      },
      {
        "name": "financial",
        "confidence": "medium",
        "evidence_paths": [
          "lib/sample-xml.ts"
        ]
      },
      {
        "name": "health",
        "confidence": "medium",
        "evidence_paths": [
          "app/api/cron/refresh/route.ts",
          "app/api/health/route.ts",
          "app/api/v1/health/route.ts",
          "lib/discovery.ts",
          "lib/mcp-client.test.ts",
          "lib/mcp-client.ts",
          "lib/mcp-server.ts",
          "lib/openapi.ts",
          "lib/platform-config.ts",
          "tests/e2e/xml-phase1.spec.ts"
        ]
      },
      {
        "name": "location",
        "confidence": "medium",
        "evidence_paths": [
          "lib/sample-xml.ts",
          "lib/xml-tools.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": [
          "components/xml-viewer/xml-editor.tsx",
          "lib/sample-xml.ts",
          "lib/xml-store.ts",
          "lib/xml-tools.ts",
          "pnpm-lock.yaml"
        ]
      }
    ]
  },
  "generated_at": "2026-05-16T16:44:22.202Z"
}
