tanstack-start
Pass
Audited by Gen Agent Trust Hub on Aug 23, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill defines several ingestion points for untrusted data, including request bodies (
request.json()), form data (request.formData()), and URL parameters. It mitigates injection risks by strictly enforcing the use of Zod schemas for input validation via.inputValidator()orsafeParse(). It explicitly lists 'Not validating input' as a common mistake. - [COMMAND_EXECUTION]: The skill provides examples of file system operations using
node:fs/promises'swriteFilefunction within API routes and server functions for file uploads. The provided code demonstrates proper sanitization by implementing file size limits (5MB) and MIME type filtering (image/jpeg, image/png, image/webp) before writing to the./uploads/directory. - [DATA_EXPOSURE_AND_EXFILTRATION]: Documentation includes patterns for handling sensitive environment variables such as
SECRET_API_KEYandSTRIPE_WEBHOOK_SECRET. The framework'screateServerOnlyFnis utilized to ensure this data remains on the server and is never bundled into client-side code, preventing accidental exposure. The skill also provides authenticated patterns using@oakoss/auth/serverto restrict data access based on session state. - [EXTERNAL_DOWNLOADS]: The skill utilizes several Node.js packages including
@tanstack/react-start,@tanstack/react-router, and libraries from the@oakossorganization. These are standard dependencies for the framework and the author's ecosystem, used for routing, authentication, and database integration.
Audit Metadata