Target map, narrow recon
- Target
-
The front
www.vibe.coand the hosts behind it:clerk.vibe.co,clear-platform.vibe.coandcdn.apps.vibe.co. - Impact
-
The shape in one line. A Next.js SPA front (
www.vibe.co) over three back planes, Clerk auth (clerk.vibe.co), a GraphQL product API (clear-platform.vibe.co) and an S3 CDN (cdn.apps.vibe.co), where the whole account hangs off one anonymous-then-bound handle,__client, and every*.vibe.coorigin is CORS-trusted by the auth plane. That last fact is why any XSS anywhere on the apex is an ATO, carried from session 02. - Steps
-
The recon questions, answered from what sessions 01–03 and the cold capture actually showed. This is the snapshot we build on, the dig later column is where each row goes next.
- Evidence
-
Recon questions and answers
Question Answer so far Dig later What is the front? www.vibe.co, a Next.js SPA, Vercel origin behind Cloudflare (cf-ray,__cf_bm,cf_clearance)map every *.vibe.cofront (CDN, dashboards from session 02), fingerprint each stackArchitecture Single-page app on Next.js App Router, Turbopack bundles under /_next/static/immutable/chunkspull the route manifest out of the bundle, list every client route ↳ Rendering SSR prerendered shell (sign-in served signed-out as HTML) then CSR hydration, RSC payloads over ?_rsc=— XSS surface in both the SSR HTML and the CSR DOM sinksclassify each sink SSR-reflected vs DOM, confirm the stored howItWorksrender context (session 02)↳ Routing Next.js App Router, client-side nav + server components, the auth routes boot Clerk ( sign-in,sign-up,sso-callback,welcome)enumerate routes, feeds lead 1D (other routes) What is the API? UI www.vibe.co(RSC + server actions +/api/*), authclerk.vibe.co(Clerk FAPI/v1/*, vendor), productclear-platform.vibe.co/graphql+/rest, app-developer OAuthapi.vibe.co/oauth2/*(vibe, docs atdevelopers.vibe.co), CDNcdn.apps.vibe.co(S3)GraphQL introspection on clear-platform, mine developers.vibe.cofor the full product API, testapi.vibe.co/oauth2redirect_uri (Run 4)Authentication factor __client, the Clerk device handle, minted anonymous byGET /v1/clientthen bound to the user after Google OAuththe fixation lead (lead 3), can we plant our __clientin a victimWhere the AF is stored a cookie, Domain=clerk.vibe.co,HttpOnly; Secure; SameSite=Lax; Max-Age=315360000, paired with__client_uat(Domain=vibe.co, JS-readable signed-in hint) and__session(Domain=vibe.co, the RS256 session JWT, not HttpOnly, so JS reads it for the GraphQL bearer, see Run 3)the __clerk_handshakebundle (lead 3), what signs and verifies itHow it passes data UI on www.vibe.co, APIs onclerk.vibe.coandclear-platform.vibe.co/graphql, encodingsapplication/x-www-form-urlencoded(FAPI writes) andapplication/json(GraphQL), JSON responsesdoes the FAPI accept a JSON body, is there method or content-type confusion How it handles users (schemes) Clerk-brokered Google OAuth, a cookie scheme ( __client,__client_uat,__ck_csrf_token) at the FAPI, and a bearer JWT scheme (the RS256__session) sent asAuthorizationto the product GraphQL, not cookies, andclerk.vibe.coCORS isACAC:trueto all*.vibe.codecoded in Run 3, RS256 60s, carries identity + org_role, minted at/v1/client/sessions/<sid>/tokens, still confirm GraphQL rejects cookie-only - Status
-
Done. This is the snapshot from sessions 01 to 03. The Dig later column lists the next tests.