Skip to content

fix: redact internal configuration and database errors - #55

Draft
cloudcarver wants to merge 1 commit into
mainfrom
agent/security-error-redaction
Draft

fix: redact internal configuration and database errors#55
cloudcarver wants to merge 1 commit into
mainfrom
agent/security-error-redaction

Conversation

@cloudcarver

Copy link
Copy Markdown
Owner

Summary

  • stop embedding merged configuration bytes in YAML decode errors
  • remove PostgreSQL DSNs and credentials from startup errors and logs
  • return a generic public 500 response for generated counter handler failures
  • add canary tests for configuration, DSN, and handler error disclosure

Validation

  • go test ./...
  • go test -race ./lib/conf ./pkg/zcore/model
  • go vet ./...
  • make gen

Closes #41
Closes #43
Closes #44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant