1
- 投稿者
- PA13L0 (@Fluyeporlaweb)
- 投稿日時
- 2026-08-06 13:00 +07
- 元リンク
- https://x.com/Fluyeporlaweb/status/2085244574184739165
- 自動生成記事
- 未生成
GitHubのPRコメントで「@codex security review」と呼び出し、Codex Security Reviewがリポジトリ文脈と差分を調査して、テナント識別子を含めないセマンティックキャッシュによるクロステナント情報漏えいをHigh(P1)の指摘として提示するデモ。
約22.8秒の無音デモ。GitHubのPR「Improve retrieval latency for repeated workspace questions」(feat/semantic-retrieval-cache)のコメント欄に「@codex security review」を投稿すると、ChatGPT/Codex側のSecurity reviews一覧へタスクが現れ、Working/Thinking状態でコミット履歴、脅威モデル、変更差分を調べる。完了画面ではSecurity Report、Diff、Logs、Internal Data Modelsのタブとともに、src/retrieval/context.jsの変更箇所を表示。normalizedQuestionだけでsemanticContextCacheを引く実装ではorganizationIdがキーから抜けるため、同じAPIレプリカ上で別テナントが同じ正規化済み質問を送ると、先に保存されたテナントのコンテキスト、回答、引用URLが返り得ると説明している。画面内の再現例はNorthwindでキャッシュを作った後にHarborから問い合わせるとNorthwindの非公開ポリシーが返るというもの。組織IDと質問の組み合わせでキーを作る、読み出し時にもスコープを検証する、クロステナント回帰テストを追加する、という修正方針まで示す。
音声トラックなし。主な画面内テキスト(原文): 「@codex security review」/「We found 1 security findings in this review.」/「[P1] Scope cached retrieval contexts by organization」/「When authenticated users from two tenants submit the same normalized question to the same API replica, this lookup returns whichever tenant's context was cached first. The cache key omits organizationId ...」/推奨は、verified organizationとquestionでキーを作り、読み出し時にcached scopeを検証し、cross-tenant regression testを追加すること。