skills/lukasa1993/tanstack-skills-extracted/tanstack-router-core-auth-and-guards/Gen Agent Trust Hub
tanstack-router-core-auth-and-guards
Pass
Audited by Gen Agent Trust Hub on Aug 10, 2026
Risk Level: SAFE
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill's metadata references documentation hosted on the official TanStack GitHub repository (
github.com/TanStack/router). These references are for documentation and context purposes. - [INDIRECT_PROMPT_INJECTION]: The skill demonstrates handling data from URL search parameters (
search.redirect). It explicitly provides asanitizeRedirecthelper function to validate these parameters, mitigating the risk of Open Redirect attacks. - Ingestion points:
search.redirectparameter in the login route example. - Boundary markers: Uses
beforeLoadhooks to enforce authentication boundaries before component rendering. - Capability inventory: Route navigation, context management, and form submission.
- Sanitization: Includes a dedicated
sanitizeRedirectfunction that enforces relative paths and prevents protocol-relative URL injection.
Audit Metadata