Redact admin tokens and embed keys in error logs #29

Merged
gnilebein merged 1 commits from fix/redact-tokens-in-logs into main 2026-11-08 22:30:57 +01:00
1 Commits
Author SHA1 Message Date
gnilebeinandClaude Opus 5.5 0678d72eda Redact admin tokens and embed keys in error logs
CI / Deploy / deploy (push) Skipped
CI / Deploy / test (push) Successful in 54s
CakePHP's error logger writes the request URL, the referer and exception
messages (e.g. missing routes) to the log, which leaked the secret admin
token and embed key into logs/error.log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 21:53:30 +01:00