Skip to content

Corrigida a leitura do uso do Cursor com o token lacrado - #5

Merged
paulocarinhena merged 1 commit into
mainfrom
cursor-token
Nov 11, 2026
Merged

paulocarinhena merged 1 commit into
mainfrom
cursor-token

Conversation

@paulocarinhena

Copy link
Copy Markdown
Collaborator

Summary

  • Cursor 3.x stores the editor access token sealed (cursor-safe-storage:v1:). The widget treated that ciphertext as a JWT and reported unrecognized Cursor token.
  • On Windows the sealed token is unlocked locally with the editor's own DPAPI key. A plaintext JWT still follows the original path, with no extra process and no CLI file.
  • The Cursor CLI / cursor-agent session is used only when the editor database is missing, or when the sealed token cannot be read and the CLI login is the same account. A different login cannot replace the editor card.
  • Version 1.0.2.

Test plan

  • npm run typecheck
  • npm run probe -- cursor on a Windows machine with a sealed editor token returns the Pro billing cycle
  • Confirm a plaintext Cursor JWT (older install, or macOS/Linux) still loads with one request and no Keychain prompt
  • Confirm a signed-out editor database still shows "not signed in" and does not pick up another account's auth.json
  • macOS CI build passes

… acesso.

Versão 1.0.2.

Co-authored-by: Cursor <cursoragent@cursor.com>
@paulocarinhena
paulocarinhena merged commit 4ed27b3 into main Nov 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant