seleth
Sign inSign up

Error messages reveal how your app is built

Verbose error messages

What this means

On failure your app shows visitors technical details: server file paths, database queries, library versions.

Why it matters

These details are used to look up ready-made attacks: it is now known what you run and which version. Sometimes the data itself appears in the error text.

How to fix it

  • Show users a generic message and write details to your logs.
  • Disable verbose errors in production.
Prompt for your AI agent
Replace verbose technical errors with a generic user-facing message and keep the details in server logs only.

How to verify the fix: trigger an error and confirm no technical details appear in the response

Classification: CWE-209 CWE-200 ยท A05:2021
References: cwe.mitre.org

โ† Check your own app