Skip to content

Conversation

copybara-service[bot]
Copy link

Prevent accidental stripping of debug_redact options via import option.

Because we use reflection to check this metadata on custom options during debug string redaction, there's nothing enforcing that these options will be linked into the binary. In order to avoid stripping this and leaking PII, we just ban optional dependencies on protos used to annotate sensitive data.

…ion.

Because we use reflection to check this metadata on custom options during debug string redaction, there's nothing enforcing that these options will be linked into the binary.  In order to avoid stripping this and leaking PII, we just ban optional dependencies on protos used to annotate sensitive data.

PiperOrigin-RevId: 814426143
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