by sneak · 4y ago · 0 comments
Mattermost embed silent, nonconsensual phone-home spyware from segment.io in their open source server app! I was astounded when I discovered this (nearly totally undocumented) misfeature that, in some ways, defeats the point of selfhosting an open source project.
I don't think I trust software from them without a significant audit for data leaks/spyware/phone-home, as it seems to me that they don't really care about user privacy even in selfhosted versions.
Disable silent phone-home for usage tracking:
MM_LOGSETTINGS_ENABLEDIAGNOSTICS: 'false'
(The fact as to why marketing spyware is termed "diagnostics" is left to the reader to discover.)Disable silent phone-home for version freshness check:
MM_SERVICESETTINGS_ENABLESECURITYFIXALERT: 'false'
Grep the released binary for 'api.segment.io' if you don't believe me. I use a Dockerfile along the lines of: FROM mattermost/mattermost-team-edition@$$cap_mattermost_version
RUN sed -i 's#api.segment.io#xx.example.com#gI' /mattermost/bin/mattermost
RUN sed -i 's#securityupdatecheck.mattermost.com#xxxxxxxxxxxxxxxxxxxxxx.example.com#gI' /mattermost/bin/mattermostWhich at time of writing states:
## segmentio/analytics-go
This product contains 'analytics-go' by Segment.
Segment analytics client for Go
* HOMEPAGE: * https://github.com/segmentio/analytics-go