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
{{ message }}
Repository navigation
[MTP Diagnostic Analysis] OpenTelemetry exports raw file paths, stdout/stderr, and stack traces without filtering #8411
The OpenTelemetry result pipeline emits raw file paths, stdout/stderr, exception text, stack traces, and artifact paths directly into activity tags. Unlike the App Insights telemetry pipeline, there is no hashing, redaction, or opt-in gate for these potentially sensitive values.
DEBUG builds assert that arbitrary string properties must be hashed or allow-listed.
Why this is a real issue
This is concrete, not theoretical: any configured OpenTelemetry exporter receives these raw values. Test stdout/stderr often contains secrets or environment-specific data, and full source/artifact paths expose local machine layout and repository structure. The privacy posture is also inconsistent with the App Insights telemetry codepath, which explicitly guards unhashed strings.
Suggested resolution
Add filtering/redaction controls for sensitive tags (at minimum file paths, stdout/stderr, exception messages/stack traces, artifact paths), and consider making the sensitive tags opt-in rather than on-by-default. Documentation should call out exactly which fields are exported.
Activity