HaiAI123

Curated Global AI Tools Directory

Industry update
Flat

Developer shares userscript to extract ChatGPT Account ID locally

11/11/2026 — 11/11, 22:16·1 sources (all)·1 reports (all)

Key takeaways

  • A V2EX user shared a Tampermonkey userscript that calls /api/auth/session locally in the browser and pulls out only the account.id field, so…

Background & analysis

On 2026-11-11 at 21:28, a V2EX user posted a self-written Tampermonkey userscript for extracting a ChatGPT Account ID locally in the browser. According to the post, the JSON returned by chatgpt.com/api/auth/session carries the current session's accessToken in plaintext at the bottom. Within its validity window, obtaining that field is described as equivalent to holding a full login session, allowing API calls or account actions without going through password and 2FA. The field that actually distinguishes account ownership, however, is account.id, a UUID-style Account ID that carries no credential information. The userscript issues a same-origin request to /api/auth/session inside the local browser and extracts only account.id, so that copying the full JSON manually does not drag the accessToken out along with it. The author also offered a lightweight alternative for one-off checks: after signing in to chatgpt.com, open the DevTools Console and run a single fetch('/api/auth/session') one-liner, which returns the Account ID without installing anything. The materials show no further developments after that initial post.

AI-generated from 1 reports · updated 2 days ago

Related AI tools

updream
24-hour heatHeat index 25 · peak 51 · 23h ago
24 hours agonow

Reports on this story headlines open the original

Nov 11
  1. A V2EX user shared a Tampermonkey script that requests /api/auth/session locally and pulls only the account.id field, so users don't accidentally copy the accessToken embedded in the full JSON response. A one-line browser console command is offered as a temporary alternative.

    V2EXAI score 54

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →