Skip to content

Scope Chrome cookie import to the Pirate Ship session - #2

Draft
nullifyr wants to merge 1 commit into
cotletdev:mainfrom
nullifyr:scope-pirate-ship-session-import
Draft

nullifyr wants to merge 1 commit into
cotletdev:mainfrom
nullifyr:scope-pirate-ship-session-import

Conversation

@nullifyr

Copy link
Copy Markdown

What changes

  • Attach to the open HTTPS Pirate Ship tab in the intended browser context and ask Chrome only for cookies that apply to the Pirate Ship GraphQL URL. This replaces the browser-wide cookie read.
  • Keep only the declared session cookie on the official app or parent domain, including when reading previously saved sessions. Manual token setup remains supported.
  • Keep replay over HTTPS, including redirects, and mark the cookie Secure in the HTTP client's jar.

The Chrome path still requires debugging; this PR narrows that path rather than changing how users connect. No live account or real cookies were used in validation.

Verification

  • Six offline tests for scoped CDP calls, ambiguous profiles, cached cookies, request host boundaries, and insecure redirects.
  • Package compile and read-only tool inventory both passed.

This branch has not been deployed

No deployments
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