skills/ryokun6/ryos/write-api-route/Gen Agent Trust Hub

write-api-route

Pass

Audited by Gen Agent Trust Hub on Aug 8, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill enforces a secure-by-default pattern using an apiHandler wrapper that centralizes security concerns like CORS, authentication resolution, and body parsing.
  • [SAFE]: It provides explicit instructions for input validation using Zod schemas, which mitigates injection risks by ensuring payloads match expected types and constraints.
  • [SAFE]: The documentation identifies specialized security utilities, such as _utils/_ssrf.ts for safe URL fetching and _utils/_validation.ts for HTML escaping and profanity filtering, promoting defensive programming.
  • [COMMAND_EXECUTION]: Instructions are provided for local development and testing commands (e.g., bun run dev:api, bun run test:api). These are standard developer operations within the local environment and do not involve untrusted input execution.
  • [EXTERNAL_DOWNLOADS]: The skill mentions integration with Vercel and Upstash Redis. These are well-known technology providers, and their inclusion in the developer workflow is documented as part of the intended architecture.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 8, 2026, 09:18 AM
Security Audit — agent-trust-hub — write-api-route