Repository navigation
Description
Summary
An operator who must guarantee that nothing leaves the instance except the model calls they configured cannot do it with settings alone. .env.example offers DO_NOT_TRACK=1 and per-channel switches "for air-gapped / privacy-strict installs", but two outbound channels have no switch at all, one switch only works when the frontend is built locally, and DO_NOT_TRACK covers two channels out of five.
Found on v1.0.5-rc2 (af465288a) by reading every hardcoded outbound host in src/, docker/ and the compose files.
What leaves the box today
| Channel | What is sent | Off switch | Covered by DO_NOT_TRACK |
|---|---|---|---|
Operator intake (operator_intake_service) |
email + company, once, on consent | OPERATOR_INTAKE_ENABLED=false |
yes |
Telemetry sharing (telemetry_sharing_service) |
aggregate counts, on consent | TELEMETRY_SHARING_ENABLED=false |
yes |
Help widget, Bug / Feature / Feedback tabs (HelpChatWidget.vue) |
title, description, optional email, route, URL, user agent, console lines | VITE_BUG_REPORTING_ENABLED=false, build time only |
no |
Help widget, Ask tab (HelpChatWidget.vue, ENDPOINT) |
whatever the person types, to the hosted docs Q&A endpoint | none (the URL is a constant) | no |
ask_trinity MCP tool (mcp-server/src/tools/ask_trinity_client.ts, also helper-mcp) |
whatever the agent writes as its question | none; .env.example suggests pointing ASK_TRINITY_ENDPOINT at an unreachable URL |
no |
Not in scope, checked and already closed by default: the Claude Code and Gemini vendor-telemetry settings (managed-settings.d/70-vendor-telemetry.json, gemini_settings.py), and the OTel collector, which exports only to the local Prometheus endpoint. The remote template registry is a read with its own TEMPLATE_REGISTRY_ENABLED switch and sends nothing.
The three gaps
- The Ask tab cannot be turned off. The endpoint is a constant in the component and the tab is always shown. A person can paste anything into it.
ask_trinitycannot be turned off. It is the one channel where an agent writes free text to a vendor-hosted service, and agents are what hold a customer's data. The documented workaround is an unreachable URL, which still registers the tool, still lets the agent try, and reads as a network fault rather than a policy.- The bug-report switch is a build argument.
docker-compose.prod.ymlpasses it to the frontend build;docker-compose.hosted.ymlruns the publishedtrinity-frontendimage, where the value is already compiled in astrue. An install on the published images cannot disable it. The production CSP (security-headers.conf) also allows both hosts inconnect-srcwhatever the setting.
Reproduce
- Start an instance from
docker-compose.hosted.ymlwithDO_NOT_TRACK=1,OPERATOR_INTAKE_ENABLED=false,TELEMETRY_SHARING_ENABLED=false,VITE_BUG_REPORTING_ENABLED=falsein.env. - Open the UI, open the help widget. Actual: the Ask tab answers (request to the hosted docs endpoint); the Bug, Feature and Feedback tabs are present and submit.
- From an agent, call
ask_trinity. Actual: the question is sent and answered.
Expected
One operator setting, read at run time, after which the instance makes no request to a vendor-operated host: no help-widget tab that posts off the box, no ask_trinity tool, no intake, no telemetry sharing. DO_NOT_TRACK=1 should be that setting, since the docs already present it as the air-gapped opt-out. The per-channel switches stay for finer control.
Acceptance criteria
-
DO_NOT_TRACK=1(or one named equivalent) disables all five channels in the table, on both the locally built and the published images, with no rebuild - The help widget reads its switches from the backend at run time; with reporting off the Bug / Feature / Feedback tabs are absent, with docs Q&A off the Ask tab is absent, and with both off the widget is not rendered
-
ask_trinityhas a real off switch: with it off the tool is not listed for any scope (main MCP server;helper-mcpdocuments its own) - With everything off, the served CSP
connect-srcdoes not list the intake or docs Q&A hosts - A test enumerates the hardcoded vendor hosts in
src/and fails when a new one appears without a switch wired to the kill setting, so the next channel (for example the proposed install beacon) cannot ship outside it -
.env.exampleand the user docs state, in one place, what the setting turns off and what it does not (the operator's own model provider, GitHub and email settings)
Activity
dolho commentedon Nov 12, 2026
/claim
github-actions commentedon Nov 12, 2026
Claimed by @dolho. Label
status-in-progressadded.Next steps:
feature/4499-<short-slug>Fixes #4499dolho commentedon Nov 12, 2026
Reproduced on a local
v1.0.5-rc2stack (docker-compose.yml, PostgreSQL) started withDO_NOT_TRACK=1,OPERATOR_INTAKE_ENABLED=false,TELEMETRY_SHARING_ENABLED=false,VITE_BUG_REPORTING_ENABLED=false,TEMPLATE_REGISTRY_ENABLED=false.The two documented switches hold.
GET /api/settings/telemetry-sharingand/operator-intakeboth answerhard_disabled: true;PUT telemetry-sharing {enabled: true}is409("disabled by configuration … consent cannot enable egress").The three gaps are live.
ask_trinityis still in the tool list for an agent-scoped key, and a call is answered by the hosted docs service (full answer and asession_idreturned).import.meta.envin the served module carries noVITE_BUG_REPORTING_ENABLEDat all, so the widget's own check reads it as enabled. One more case than the issue lists:docker-compose.ymldoes not pass that variable to the frontend, so the switch is inert there too, not only on the published images.Content-Security-Policystill allows both hosts inconnect-src.Merge pull request #4504 from Abilityai/fix/4499-vendor-egress-switch
fix(privacy): DO_NOT_TRACK stops every request to a vendor-operated h…