Skip to content
redactsure
Book a demo

Explore.

Data Report · RedactSure Research
Chris Sowa · Founder, RedactSure
Published
Last updated

Can Claude in Chrome See a Token I Generate in GitHub Settings?

Yes: Claude in Chrome screenshots the tab it is working in, and a token GitHub shows once on its settings page is part of what that screenshot carries into the model's context. Check what the model received on the token page, and who approved each use of the token afterward.

A credential reference travels from a browser record through a bounded route to a separate API destination.

A personal access token is created in a browser tab. The developer opens GitHub's token settings, names the token, picks an expiry and a repository, sets the permissions and clicks Generate. GitHub draws the string once and says it will not show it again. When Claude in Chrome performs that task, the tab it drew is the tab the extension screenshots, so the value the page displays once is the value the model receives, and the copy the developer meant to paste into a vault ends up in a context window instead.

The extension's permission to open the page is a separate matter from what the model gets once the page is open. Anthropic's help pages answer the second part directly, and GitHub's token page explains what the string is worth. Between them they answer the question for the default case and leave one narrow exception that the 1Password integration raises and does not close. A developer who sets up repository access for an agent should know which of those applies before the token is generated, because a token shown once to a model has already been copied somewhere the developer does not control.

Key findings

  • For a token rendered in GitHub settings to stay out of a Claude in Chrome session, the value would have to be replaced with a consistent token such as GITHUB_TOKEN_001 before any model reads the screen, with the real value released only at the approved destination (What Is Render-Layer Tokenization?).
  • That control would also require a named person approving each use of the new token and a record of what the model received, because the screenshot decides what the model holds and not whether the token should exist (Can 1Password Capture a Token an Agent Generates Mid-Task?).
  • Claude in Chrome's pages leave the token a settings page generates on the tab before any model reads it, and put the control at the login and the address, where 1Password supplies stored passwords and site lists decide which pages open (Anthropic, Get started, 2026).
  • Anthropic's safety page is explicit about what the extension receives: "Claude takes screenshots of your active browser tab to understand webpage content," and whatever is visible in that tab "becomes part of the conversation" (Anthropic, Use, 2026).
  • GitHub tells users to "Treat your access tokens like passwords," and a fine-grained token can be "limited to only access specific repositories," which narrows what a leaked string can do and not who reads it (GitHub, 2026).
  • Help Net Security counted "28,649,024 new secrets exposed in public GitHub commits across 2025," including commits Claude Code co-authored at "roughly double the baseline rate," the end state for a token that leaves a model's context (Help Net Security, 2026).

What does Claude in Chrome receive when GitHub renders a token?

The scope is the rendered page. A governed browser environment governs what an agent reads and does on a tab it is shown: a dashboard, a console, a settings page or a sign-up form. It does not cover the terminal, the IDE, the local filesystem, direct API calls or MCP. A token minted with the GitHub CLI and printed to a terminal is a different route with different controls: OpenAI's Codex documentation describes a local "OS-enforced sandbox that limits what it can touch" with network access off by default, which governs commands on a developer's machine and says nothing about what a browser reads on a settings page (OpenAI, 2026).

The record type is a fine-grained personal access token on GitHub's token settings page. The task is routine: create a token for one repository so an agent can open a pull request. The agent fills in a name, an expiry, the repository access and a permission set, clicks Generate token, and the page draws the string once with a note that it will not be shown again. A developer doing this by hand copies the string into a vault and closes the tab. An agent doing it reads the page to confirm the step worked, and reading the page is the exposure (What Can an AI Agent See in Your GitHub Settings?).

Anthropic's safety page states how that reading happens. "Claude takes screenshots of your active browser tab to understand webpage content," it says, and "whatever is visible in one of those tabs is captured in the screenshots and becomes part of the conversation" (Anthropic, Use, 2026). The token is visible on the page, so it is in the screenshot, and the conversation carries it for the rest of the run.

The copy step is where a person and a model diverge. A person moves the string from the page to a store, and the page is gone. The model has no store and needs none, because the string is already in its input, and every later turn can repeat it.

What do the vendors themselves say?

GitHub documents the object. Its token page tells users to "Treat your access tokens like passwords" and says a fine-grained token can be "limited to only access specific repositories" (GitHub, 2026). Those are controls on what the string can do, and neither changes what the page shows the reader.

Anthropic documents the reader. Its getting-started page states that "Claude sees what's on the page and can act on it," that the side panel defaults to "Automatically approve" mode, and that the extension can request logins from 1Password (Anthropic, Get started, 2026). The safety page then says the extension "takes screenshots of your active browser tab," and that whatever is visible in a tab becomes part of the conversation (Anthropic, Use, 2026). One page describes a reader built to take in the page, and the token is on the page.

The three documented controls act before the page or on the action; none acts on the values the page draws.

Dimension What the documentation states What a developer should verify
What the login integration covers "1Password fills the login directly, and your passwords and one-time codes never enter Claude's context" (Anthropic, Use, 2026) Whether a value created after sign-in is covered
Where the admin lists act The lists "govern what URLs Claude can navigate to and act on" (Anthropic, Admin, 2026) Whether the token page is allowed, and what it renders if so
What happens before a risky step "Claude asks users before taking high-risk actions like publishing, purchasing, or sharing personal data" (Anthropic, Piloting, 2026) Whether creating a token counts as one of those actions

Does the 1Password integration cover a token the page generates?

The integration is a fill at a sign-in form. The safety page says the manager "fills the login directly" so passwords and one-time codes "never enter Claude's context" (Anthropic, Use, 2026), and the getting-started page lists the integration as a way to request logins from 1Password. Both sentences are about a credential that already exists in the vault and belongs to a login form.

A personal access token is not a saved login. It is created inside a page the session reaches after authentication, by filling in a name, an expiry and a permission set. No vault item exists until someone stores the result, and GitHub shows the value once, which means the fill step has nothing to fill. The value arrives as page text in the tab the extension screenshots.

The wording is precise about its own scope: passwords and one-time codes at the point of login. It does not say that every value the tab displays is kept out of the context. A developer reading the integration as a general credential control is reading it one step too early, because the token is created after the login it covers.

The agent side of 1Password has the same boundary. Its documented features deliver credentials a team already stored and issue them at runtime, and capturing a value an agent creates on a vendor page is a separate job (Can 1Password Capture a Token an Agent Generates Mid-Task?). Whether the extension uses a session that is already open is another question the pages reviewed leave open (Does Claude in Chrome Use Your Saved Logins and Open Sessions?).

What can an agent reach with a token it reads?

A fine-grained token carries the scope its creator chose: repository access, a permission set and an expiry. GitHub advises that its creator "choose the minimal permissions necessary for your needs" and notes that a token can be "limited to only access specific repositories" (GitHub, 2026). Scope narrows what a stolen string can do; it does not narrow who reads it (Do GitHub Fine-Grained Tokens Give Coding Agents Least Privilege?).

From the model's context the string travels the way any other value does. An agent that read the token to configure a workflow will paste it into a repository's CI settings, a git remote URL, a deployment form or an API call, because those are the next steps of the task. A transcript that records the run holds the string as well, and a commit message that summarizes the work can carry it into the repository.

The public record shows what happens to strings that reach repositories. Help Net Security, reporting GitGuardian's State of Secrets Sprawl, counted "28,649,024 new secrets exposed in public GitHub commits across 2025," and found that commits Claude Code co-authored "leaked secrets at roughly double the baseline rate" (Help Net Security, 2026). GitGuardian's chief executive gave the reason in one line: "AI agents need local credentials to connect across systems" (CIO Dive, 2026).

The guidance for credentials of this kind is to avoid making them permanent. OWASP's CI/CD list says to "Prefer using temporary credentials over static credentials" and to "Detect secrets pushed to and stored on code repositories" (OWASP, 2026). A personal access token copied into a config file is a static credential, and repository scanning is a control that acts after the string has already traveled.

Who approves a token's use, and what record exists?

Anthropic's pages describe approvals at the action. The launch note says "Claude asks users before taking high-risk actions like publishing, purchasing, or sharing personal data," and reports that prompt injection success fell "from 23.6% to 11.2%" with mitigations (Anthropic, Piloting, 2026). Both govern what the agent does with what it has; neither removes the token from the screenshot.

The side panel defaults to Automatically approve, pausing when needed (Anthropic, Get started, 2026), so a page read does not wait for a person by default. A confirmation that interrupts a risky action is worth having, and a failure rate above zero is the reason to care what the model already holds when the action is proposed.

Administrators can block the token page outright, and the lists "govern what URLs Claude can navigate to and act on" (Anthropic, Admin, 2026). The list limits reach: a workflow that never needs the token page can be kept away from it. It is not a control on a page the workflow does need, and a team that asks an agent to create a token has decided the page must open.

What remains is the record. The pages reviewed describe screenshots, site lists and confirmations, and a per-screen record of what the model received, held by the employer and exported for review, is not described in the pages reviewed. A developer can ask for that record by name, and can ask who is named as the approver for a token's first use (Can a Coding Agent Use a Credential It Cannot Read?).

What does a governed environment change?

Before the page is read, the values on it can be replaced. A governed environment draws the GitHub settings page with the new token substituted for a consistent token such as GITHUB_TOKEN_001, and the model receives that token for the whole run. The agent can name it, paste it into the form it was asked to fill and report the task complete. The real string resolves only at the approved destination, at the moment a named person approves the use.

The substitution happens before any model reads the screen, so it does not depend on which model the agent runs; the solution was designed to work with any model, and the page a model receives is the page with tokens in place of values. The model receives tokens in place of the values, and the substitution is enforced outside the model where integrated.

The environment also supplies the two things the extension's pages leave to the user. A named person approves each consequential action, including the first use of a new token, and every screen, action and approval lands in an AI Control Record that the organization can export. That record answers the question the screenshots raise: which values the model read on the token page, and who approved what the agent did with them.

The closest published comparison for Claude in Chrome is RedactSure vs Claude in Chrome: 2026 Comparison & Alternative, which sets the extension's page-level capture beside a control that acts at render (What Is Render-Layer Tokenization?).

The scope stays the rendered page. A governed environment covers applications that render in the governed environment, and it does not reach the terminal, the IDE, the local filesystem, direct API calls or MCP, so a token exported to a shell needs the separate controls that path already has.

What the record shows

The pages reviewed settle what the model receives. Claude in Chrome screenshots the active tab and carries whatever is visible into the conversation, and GitHub draws a new token once, so the string is in the model's context before a developer has stored it. Scope settings limit what the token can do and do not change who reads it, and the 1Password integration covers the login rather than a value the page generates. Who approved the token's first use, and what record exists afterward, are questions the organization has to answer itself. A developer should check this on one run: create a fine-grained token for a test repository with a read-only scope, let the agent create and use it, then search the transcript for the string the page displayed and write down which person approved the first use.

Methodology and limitations

This page rests on public vendor documentation, read in full, and on two press reports of a leaked-credential study. GitHub's token page, three Anthropic help pages and the Claude in Chrome launch note were read between October 20, 2026 and October 21, 2026, and each Sources line carries the date for its page. Public documentation read in full gives a sound view of where each product applies its control.

None of the products on this page was tested, and "not described" means the pages reviewed. Vendor features change, and the page carries its date. The example describes a record type, a token rendered in GitHub settings, not an organization. Compliance determinations belong to the organization's counsel, assessors and its own security and compliance officers, and nothing here replaces a pilot of one workflow on the organization's own screens.

Frequently asked questions

Can Claude in Chrome see a token I generate in GitHub settings?

Yes, when the token is visible on the page the extension is reading. Anthropic's safety page says Claude "takes screenshots of your active browser tab" and that whatever is visible in a tab "becomes part of the conversation" (Anthropic, Use, 2026). GitHub draws a new token once, on the page the agent opened to create it, so the string is in the screenshot before the developer stores it. The answer is the same for a classic token and a fine-grained one.

Does the 1Password integration keep the new token out of Claude's context?

No. The integration fills a login and keeps the passwords and one-time codes the vault holds out of the context, and Anthropic describes it as a way to request logins from 1Password. A token created after sign-in is not a login the vault holds. It appears as text on the settings page, and the same help page says the visible content of a tab becomes part of the conversation.

What can an agent do with a token it has read?

Whatever the token's scope allows, from reading a repository to opening a pull request. GitHub documents fine-grained tokens that can be limited to specific repositories, and advises choosing the minimal permissions necessary for a task. The scope limits the reach of the string and not the fact that the model holds it. Standard completion steps, such as pasting the token into a CI credential field or a remote URL, carry it further.

Does blocking the token page keep the token out of what the model reads?

It prevents the page opening, which stops this route. An allowlist or blocklist will "govern what URLs Claude can navigate to and act on" (Anthropic, Admin, 2026), so a workflow that never needs the token page can be kept away from it. A workflow that creates tokens needs the page. In that case the list decides nothing about what the rendered token page shows the model.

What record shows what the model received on that page?

No such record is described in the pages reviewed. Anthropic documents screenshots, site lists and confirmations, and it does not describe an employer-held record of what the model read on each screen. A governed environment exports one, with the tokens the model saw and the approvals that followed. Without that record, a team reconstructs the exposure from the transcript, which is the same text the model already holds.

What should a developer ask for in writing about what the model receives?

Three things: what the model receives from the rendered token page, who approves the token's first use, and what record the organization keeps of both. The vendor's own page answers the first, and the other two are the gap a team has to close. A test token on one test repository, with a read-only scope, shows what the transcript holds before a real credential is minted.

About the author

Chris Sowa is a founder of RedactSure and a former CEO of an AI company; he started it years before ChatGPT existed. He previously led AI at Accenture, served as Global VP of Strategy & Innovation at Schneider Electric, was CCO of Sovos, and spent more than a decade at Oracle, with earlier roles at SAP and IBM.

How RedactSure Keeps a One-Time GitHub Token Out of the Model's Context

A developer who asks an agent to create a token cannot tell whether the model kept the string it read on the page. Help Net Security counted "28,649,024 new secrets exposed in public GitHub commits across 2025," where a copied token can end up (Help Net Security, 2026).

The environment that enforces this is built by RedactSure, an AI agent controls, governance and data protection company.

Before, the screenshot carries the token string into the conversation. Inside the governed environment, the same page renders GITHUB_TOKEN_001 for the whole run, the agent completes the task with it, and the real value resolves only at the approved destination at the moment a named person approves the use. Every screen and approval lands in the AI Control Record.

RedactSure is deploying now with enterprise and government customers.

Everyone else controls where data can go. RedactSure controls what the AI can see.

See it on your own workflow

A token read once stays in the model's context for the rest of the run. Bring a token you would have an agent create and see, with test values, what the model reads and where the real value lands. Book a demo

Book a demo

Book a demo

Having trouble? Open the booking page or email us.