[BUG]: GitHub data cache is not tied to auth scope and survives PAT deletion
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github, javascript
調査の方向性
Start by tracing the API response cache calls, including cacheGet(url), and the PAT deletion flow that removes the token and rate-limit entry. Check how IndexedDB stores entries and how requests distinguish authenticated from unauthenticated responses. Done means private data is no longer accessible after PAT deletion and adding a PAT does not reuse incomplete unauthenticated responses.
索引モデルが issue の本文から書いたものです。
説明
Bug Description
API responses are cached in IndexedDB by URL only:
const cached = await cacheGet(url)
if (cached) return cached
The cache key does not include whether the request was authenticated, which token/account was used, or what permissions that token had. Deleting the PAT removes the token and rate-limit entry but does not clear cached GitHub data.
This creates two problems:
- Data fetched with a private-repo-capable PAT remains readable in IndexedDB after the PAT is deleted.
- Data fetched without a PAT can be served from cache after a PAT is added, so the “complete analysis” may reuse incomplete unauthenticated responses.
Steps to Reproduce
- Save a PAT that can read private repositories.
- Explore an organization and open several pages so responses are cached.
- Delete the PAT in Settings.
- Open DevTools → Application → IndexedDB →
orgexplorer_cacheororgexplorer. - Observe that cached GitHub response data remains.
Impact
High - Major feature is broken
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- 主要言語
- JavaScript
- スター
- 53
- フォーク
- 182
- 平均マージ
- 18分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AOSSIE-Org/OrgExplorer のほかの issue
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible name対応中かも @prasanm1423 が 3 日前に担当しました。 オープンbug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/OrgExplorer#466 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[FEATURE]: Set dynamic document.title based on active page route対応中かも @23241a6749 が 1 日前に担当しました。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AOSSIE-Org/OrgExplorer#462 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loaded対応中かも @vivekrajputofficial29-afk が 1 日前に担当しました。 オープンbug enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 89/100
AOSSIE-Org/OrgExplorer#461 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: governance page shows "No dead issues" before the audit has run再び着手できるかも @SYED-IRTEZA-HUSSAIN-RIZVI が 8 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
AOSSIE-Org/OrgExplorer#453 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[BUG]: User-controlled org/repo names are interpolated into API URLs unencoded対応中かも @AbhishekKumar-cse が 10 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
AOSSIE-Org/OrgExplorer#449 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
AOSSIE-Org/OrgExplorer の issue をすべて見る
似ている issue
-
enhancement frontend good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 2 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
[bug]: Maximizing the Windows dashboard covers the taskbar対応中かも @xiufengsun が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
xiufengsun/TokenTracker#1152 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Bug Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JSPrismarine/JSPrismarine#3384 ·
メンテナーはふだん 1 日以内に返信
-
cat:test dx effort:xs sev:low
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
LucasSantana-Dev/Lucky#3251 ·
メンテナーはふだん 1 日以内に返信