Missing User Warnings
Medium
- Confidence
- 92% confidence
- Finding
- The guidance recommends logging full panic stack traces via `debug.Stack()` but does not warn that stack traces and panic values can contain sensitive internal information such as file paths, code structure, request-derived data, secrets accidentally embedded in memory or error strings, and infrastructure details. In a middleware skill intended for reuse across services, this pattern can normalize unsafe production logging and increase the risk of information disclosure through centralized log systems or log access by attackers and low-privilege operators.
