Skip to content

fix: harden self-hosted callback metadata handling#44

Merged
peg merged 1 commit into
mainfrom
fix/self-hosted-callback-hygiene
May 25, 2026
Merged

fix: harden self-hosted callback metadata handling#44
peg merged 1 commit into
mainfrom
fix/self-hosted-callback-hygiene

Conversation

@peg

@peg peg commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Redact self-hosted callback logs so token IDs and client IPs are not written to process logs.
  • Drop unregistered real-token callbacks before event persistence to match managed Worker behavior and reduce probe-spam noise.
  • Validate trusted proxy forwarded IP headers before storing callback metadata.

Tests

  • go test -count=1 ./...
  • go test -race -count=1 ./...
  • go vet ./...
  • go build ./...
  • (cd worker && npm test)
  • (cd worker && npm audit --audit-level=moderate)
  • govulncheck ./...
  • git diff --check

@peg
peg merged commit 3cdc08a into main May 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant