fix(security): redact malformed SSE diagnostic payloads (#2403)