You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(integrations): Cover webhook header masking edge cases and secret scrubbing
Lock in the security and correctness guarantees of the webhook header
masking logic that were previously only described in comments:
- CR/LF rejection guards against header injection / request splitting
- reserved-header check is case-insensitive (relies on .lower())
- a masked entry with no stored match is dropped, never persisting the
literal mask placeholder as a real header value
- the documented rename-while-masked drop behavior is pinned
- relocation export scrubs webhook_headers so secrets never leave
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments