handling-application-errors
Pass
Audited by Gen Agent Trust Hub on Apr 4, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill provides code templates for Next.js error handling that follow industry best practices.- [SAFE]: Demonstrates input validation using the 'zod' library to ensure data integrity and prevent processing of malicious payloads.- [SAFE]: Includes a configuration example for Sentry that explicitly filters out 'authorization' headers from error reports, preventing credential exposure to external logging services.- [SAFE]: Recommends the use of environment variables (e.g., NEXT_PUBLIC_SENTRY_DSN) for sensitive configuration rather than hardcoding values.
Audit Metadata