Skip to content

docs(openspec): plan #2739 refuse GH_TELEMETRY_ENDPOINT_URL - #2859

Merged
dan-petty merged 1 commit into
mainfrom
fix/2739-the-subprocess-environment-guard-accepts-gh
Oct 31, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2739-the-subprocess-environment-guard-accepts-gh

Conversation

@devops-cli-service

Copy link
Copy Markdown
Contributor

Plans #2739

This change adds GH_TELEMETRY_ENDPOINT_URL to the data-egress environment variable set refused by build_subprocess_env. A caller that sets this key can redirect gh telemetry to an arbitrary host, which is egress of command data. The key is already excluded from the ambient environment path because it is not in DEFAULT_ALLOWED_ENV_VARS. The fix extends _is_env_override_refused to also refuse keys in the new CONST_DATA_EGRESS_ENV_VARS set. GH_TELEMETRY and GH_TELEMETRY_SAMPLE_RATE remain accepted because they do not name a destination.

Change: openspec/changes/2739-the-subprocess-environment-guard-accepts-gh/

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