trpc
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFE
Full Analysis
- SAFE (SAFE): No security vulnerabilities were detected in this skill. It consists of educational documentation and code templates for tRPC.
- Input Validation: The guide correctly utilizes
zodfor schema validation in every procedure, which is a primary defense against malformed data and injection attacks. - Authentication/Authorization: The
references/CONTEXT.mdandreferences/MIDDLEWARE.mdfiles provide clear examples of how to implementprotectedProcedureto ensure requests are authenticated and authorized before execution. - Dependencies: All listed packages (e.g.,
@trpc/server,@tanstack/react-query,zod) are industry-standard libraries from reputable sources. - Error Handling: Examples include structured error handling using
TRPCError, which prevents sensitive stack trace leakage to the client by using predefined error codes.
Audit Metadata