customizing-errors
Facilitates Zod validation error handling with custom messages and formatting for improved user experience in applications.
Install this skill
Security score
The customizing-errors skill was audited on Feb 9, 2026 and we found 11 security issues across 1 threat category. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 49 | return { message: `Expected ${issue.expected}, got ${issue.received}` }; |
Template literal with variable interpolation in command context
| 209 | { error: `Value must be between ${min} and ${max}` } |
Template literal with variable interpolation in command context
| 229 | return { message: `Minimum ${issue.minimum} characters required` }; |
Template literal with variable interpolation in command context
| 261 | return { message: `Expected ${issue.expected}, got ${issue.received}` }; |
Template literal with variable interpolation in command context
| 267 | return { message: `Minimum ${issue.minimum} required` }; |
Template literal with variable interpolation in command context
| 270 | return { message: `Maximum ${issue.maximum} allowed` }; |
Template literal with variable interpolation in command context
| 273 | return { message: `Must be one of: ${issue.options.join(', ')}` }; |
Template literal with variable interpolation in command context
| 323 | console.log(`Field: ${issue.path.join('.')}`); |
Template literal with variable interpolation in command context
| 324 | console.log(`Error: ${issue.message}`); |
Template literal with variable interpolation in command context
| 325 | console.log(`Code: ${issue.code}`); |
Template literal with variable interpolation in command context
| 447 | console.log(`Index ${issue.path[0]}: ${issue.message}`); |