FAQ — GDC Storage Check

English — Security & Token FAQ

What happens if ~/.config/gdc/store.json is leaked?

The impact is much lower than leaking your Google password or browser cookies, but you should still revoke the exposed tokens immediately.

Immediate recovery steps:

  1. Run gdc remove <alias> for each affected account, or open Google Account Permissions and remove access for GDC Storage Check.
  2. If using BYO mode, delete the exposed OAuth Client in Google Cloud Console and create a new one.
  3. Run gdc add <alias> again to issue fresh, clean tokens.

Tiếng Việt — Câu hỏi thường gặp

Nếu bị lộ file ~/.config/gdc/store.json thì sẽ bị sao?

Mức độ ảnh hưởng nhẹ hơn nhiều so với lộ mật khẩu hay cookie đăng nhập, nhưng bạn vẫn cần thu hồi token ngay lập tức.

Cách xử lý ngay lập tức:

  1. Chạy gdc remove <alias> cho từng tài khoản, hoặc vào Google Account Permissions và thu hồi quyền của GDC Storage Check.
  2. Nếu dùng chế độ BYO, xóa OAuth Client cũ trong Google Cloud Console và tạo cặp mới.
  3. Chạy lại gdc add <alias> để cấp bộ token mới hoàn toàn sạch.