Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Security: make token preview in openapi_server_info fully disableable

オープン
#30 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
58/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
api, security

調査の方向性

Find the implementation of openapi_server_info and trace how it adds the masked token preview; the issue does not name a file or test. Start by locating that tool and its existing environment configuration, then check related tests. Done means an environment flag can disable the preview entirely while preserving the diagnostics response.

索引モデルが issue の本文から書いたものです。

説明

good first issue help wanted question

Summary

openapi_server_info currently returns a masked preview of the active token. In shared demos, screenshots, support threads, or copied logs, even partial token disclosure may be undesirable.

Reproduction

  1. Call openapi_server_info with a configured token.
  2. Inspect the response payload.
  3. Notice that a masked token preview is included.

Expected

A safe-by-default mode should allow operators to disable token previews entirely.

Actual

The token preview is always part of the diagnostics payload when available.

Suggested direction

A small env flag such as MCP_REDACT_TOKENS=full would likely be enough.

主要言語
Python
スター
22
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openapi/mcp-server のほかの issue

openapi/mcp-server の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。