Agent skill

secure-error-messages

Log detailed errors server-side but return generic messages to clients Use when implementing security best practices. Security category skill.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/secure-error-messages

Metadata

Additional technical details for this skill

category
Security
priority
high
is built in
YES
session guardian id
builtin_secure_error_messages

SKILL.md

Secure Error Messages

Log detailed errors server-side but return generic messages to clients. Never expose stack traces, database errors, or internal paths in API responses. Use consistent error messages for authentication failures (don't reveal whether username or password was wrong). Implement custom error pages that don't expose framework information. Include correlation IDs for support without exposing internals.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results