Skip to content

fix: drop environment variable write scope from MCP config - #8

Merged
stefanjudis merged 1 commit into
mainfrom
stefanjudis/openai-sensitive-data-review
Oct 20, 2026
Merged

stefanjudis merged 1 commit into
mainfrom
stefanjudis/openai-sensitive-data-review

Conversation

@stefanjudis

Copy link
Copy Markdown
Collaborator

Why

OpenAI's plugin review flagged create-account-environment-variable and update-account-environment-variable as soliciting secrets (passwords, API keys). Their policy: access credentials and authentication secrets cannot be solicited through public plugin tools.

What

  • Remove checkly:environment-variables:write from the scopes requested in .mcp.json.
  • Update test/plugin-config.test.ts to assert the new scope list.

The Checkly MCP server filters tools/list by the token's granted scopes, so not requesting the write scope removes both tools from the plugin entirely. Read access to environment variables is unchanged.

Not covered here

OpenAI's second finding (annotations on trigger-checks and trigger-root-cause-analysis) lives in the MCP server source and needs a separate change and deploy.

OpenAI's plugin review flagged create-account-environment-variable and
update-account-environment-variable as soliciting secrets. The Checkly MCP
server filters tools/list by granted scopes, so not requesting
checkly:environment-variables:write removes both tools from the plugin.
@stefanjudis
stefanjudis merged commit 5d785a7 into main Oct 20, 2026
1 check passed
@stefanjudis
stefanjudis deleted the stefanjudis/openai-sensitive-data-review branch October 20, 2026 13:12
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