This is a minimal TanStack Start app that reproduces crawler-visible internal route IDs in SSR HTML on current published packages.
It models route IDs like these:
/_marketing/blog/$slug/_marketing/doc/$docId/app/_authenticated/_dashboard/settings/integrations
Those IDs should be internal router identifiers, but they can appear in the SSR payload. Search crawlers can normalize script content and discover them as URL-shaped paths.
pnpm install
pnpm build
pnpm startIn another terminal:
pnpm scanExpected result on affected versions: pnpm scan prints LEAK ... entries and
exits non-zero.
Expected result after the upstream fix: pnpm scan prints OK ... for every
URL and exits zero.
@tanstack/react-router:1.169.1@tanstack/react-start:1.167.63