Repository navigation
fix(security): redact logs, hide error text, gate provider health checks - #1461
rab1prasad wants to merge 1 commit into
Conversation
Echo-scan findings: secrets in logs, exception text in API errors, public provider health checks. - Telephony callbacks (status, details GET/POST) log field names only, not the form/query values that carry caller and callee phone numbers. verify_breeze_token logs the merchant id, not platformToken or breezeTokenData. - Catch-all 5xx responses return a fixed message; the exception stays in the logs. 22 sites flagged by the scan plus 3 it missed (DevCycle webhook, per-lead delete result, admin template purge). DragonTTS 502 no longer shows the internal service address. Deliberate 4xx messages from our own validation errors are unchanged. - /health/gemini, /health/daily and /health/azure-openai require an admin login, so anonymous callers can no longer trigger live provider calls on our keys. No health response carries error text, only error_type. /health, /health/database and /health/redis stay public.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Echo-scan findings: secrets in logs, exception text in API errors, public provider health checks.
Summary by CodeRabbit