Skip to content
redactsure
Book a demo

Explore.

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

Can Perplexity Comet See My Credentials?

Every credential that appears on a page Comet opens is in the model's context, including the API keys on a cloud console. Ask which credential the agent needs, where it lives, and whether the page can show a token in its place.

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

A developer asks Comet to create a key, rotate one, or find out why a deploy failed, and the console page that answers carries the credential itself: the key value in the create dialog, the list of active keys, and the project, account email and billing plan around them. The assistant reads that page in the browser it runs in, so a value that grants API access sits in the model's context for the rest of the run, next to whatever the next page chooses to say. Perplexity's pages on Comet describe detection, a confirmation prompt and a log kept for its own models; none of them describes a step that withholds the key from the assistant. The browser that holds the session and the manager that fills the password are the two places a developer expects a credential to be safe, and both sit on the path the assistant reads. A console key works from any network until someone revokes it, and the session that created it can create another, so the exposure outlasts the task and lands on the team accountable for the account. A developer should ask where in the assistant's path the credential becomes readable, and whether the page can show a token in its place.

Key findings

  • For a key on a console page to stay out of Comet's context, the page would have to render a token such as API_KEY_001 in place of the key before any model reads it, with the real value resolving only at the destination a named person approves (What Is a Protected Browser for AI Agents?).
  • It would also require a named person approving each key creation, rotation and copy to a new destination, and a record of the screens the model read and the approvals it received (What Is Supervised Delegation?).
  • None of the pages reviewed names a control that substitutes or withholds a credential before the assistant reads a page, and the 1Password announcement does not say what the assistant receives from a page that shows a filled password (Perplexity, Credentials, 2025).
  • Comet runs in the browser the person already uses, and Brave's researchers report that once an agent follows injected instructions there, "same-origin policy (SOP) or cross-origin resource sharing (CORS) are all effectively useless" (Chaikin and Sahib, 2025).
  • Perplexity's own account of its defenses says "a single defense mechanism wouldn't be enough" and describes detection, confirmation and logging, none of which changes what the page hands the model (Perplexity, Security, 2026).
  • Truffle Security detected "11,908 Live Secrets" in 400TB of web data and found "2.76 Million Web Pages" that contained live API keys and passwords, which is why a credential on a rendered page is worth taking (Truffle Security, 2025).

What does Comet read on a console page with the keys visible?

The scope comes first, because the answer depends on where the credential sits. A governed browser environment covers what the agent reads and does on a rendered page: dashboards, consoles, settings pages and sign-up forms. It does not cover the terminal, the IDE, the local filesystem, direct API calls or MCP. A developer who runs a cloud command in a shell to mint a key is outside this page, and a developer who opens the console's API keys page is inside it.

The record is a cloud console's API keys page: a create-key dialog that shows the key value once, a table of active keys below it, and the project name, account email and plan around them. Comet opens the page in the session the developer already has signed in, and the page renders in full. The task may need only the key, while the account email and the plan arrive with it. A page read a minute later, a support ticket or a vendor document, then shares the model's attention with the key still in its context.

The vendor's pages describe detection, a confirmation prompt and a detection log, and they name no control over what the page hands the assistant (Perplexity, Mitigating, 2026). Whether the browser passes text or a screenshot changes the format, not the values on the page.

Least privilege is the standard answer, and it governs which credentials an agent may use and which actions it may take. It does not govern what a console page shows once the agent is allowed to open it, the gap What Is Least Exposure? sets out. A key the agent is permitted to create is still a key the model can read on the page that creates it.

Where does the credential live, and what can Comet read from it?

The credential is not one object. Four locations matter on this page, and each becomes readable at a different point in the task.

The session comes first. Comet works in the browser the developer already uses, so the cookie or token the console issued earlier travels with the request and the keys page arrives signed in. The assistant needs no password at that step.

The page is second, and it is where a console shows a value. A create-key dialog displays the key once, and a key table shows the last characters beside a name and a creation date.

The password manager is third. Perplexity's announcement states that the 1Password extension "comes built into Comet" and that "Passwords and passkeys are encrypted by default, even as Comet takes action" (Perplexity, Credentials, 2025). The announcement does not say what the assistant receives from a page after a password is filled into it. A filled password is still a value on a page, which is the distinction Does an AI Agent Need Access to Your Stored Credentials? draws.

The repository and its pipeline are fourth. A developer's token also lives in a CI variable, and a job log is a rendered page. GitLab's documentation states that a masked value "is replaced with [MASKED] in the job log" and that masking "is not a guaranteed way to prevent malicious users from accessing variable values", so a log page is not a safe place to leave a token (GitLab, 2026).

A coding agent shows what a documented split looks like. OpenAI's cloud environment page for Codex states that "secrets are removed before the agent phase starts", a documented split between the setup a task needs and the phase the model runs in (OpenAI, 2026). Can a Coding Agent Use a Credential It Cannot Read? describes a narrower version, where sandboxed commands see a sentinel and a local proxy substitutes the real value.

What do the vendors themselves say?

Perplexity's pages describe how Comet decides whether to act, and they say little about what the assistant reads before it decides.

Dimension Perplexity, per its pages What a buyer should verify
Reading the page The assistant acts on the page Comet has open, and no page describes withholding a value from the model (Perplexity, Mitigating, 2026) Whether a key can be replaced on the rendered page before the model reads it
Detection "If something looks unsafe, Comet doesn't move forward blindly or fail silently" (Perplexity, Mitigating, 2026) What the detector inspects, and what a blocked step records
Confirmation "Comet pauses for your confirmation regardless of whether our systems detect suspicious activity" when the agent must fill in details it does not already hold (Perplexity, Mitigating, 2026) Whether the prompt names the key and its destination, and who signs
Stored credentials "Passwords and passkeys are encrypted by default, even as Comet takes action" (Perplexity, Credentials, 2025) What the assistant receives after a password is filled
Record "The detection is also logged for continuous improvement of our models" (Perplexity, Mitigating, 2026) Whether the customer can export a record of what the model read

Each row describes an action or a storage property, and none of them changes what the console page puts in front of the model. A confirmation that arrives after the page is read cannot remove the key from the context that produced the action. The distinction a buyer needs is between a control that judges a page and one that changes what the page displays.

Perplexity's account of Comet's defenses says "Prompt injection attacks are constantly evolving, and defending against them requires a multi-layered approach", and the post gives no measured effectiveness or failure rate (Perplexity, Security, 2026). The later post describes a detection step that does not "move forward blindly or fail silently", a confirmation prompt that appears "regardless of whether our systems detect suspicious activity", and a log kept for the vendor's models (Perplexity, Mitigating, 2026).

Another shipping browser agent documents the same shape. Anthropic's help center states that "Claude sees what's on the page and can act on it", that the side panel defaults to "Automatically approve" and that the assistant can request logins from 1Password, a page-as-input design that names no control withholding a value from the model (Anthropic, 2026).

What should a developer ask for in writing?

Four answers belong in the review, and each one is a question a vendor can answer without a demonstration. Ask for each answer in writing, naming the console page and the credential, so the review tests the page the agent will open.

  • What the model receives from a rendered screen. A screenshot, the page text and a token in place of the key are three different exposures, and only the third keeps the value out of the model.
  • Where the credential is stored, and what reads it. A password manager, a browser session and a CI variable fail in different ways, and the review should name the component on the path.
  • Who approves a key creation, a rotation and a copy to a new destination. A confirmation that appears after the page is read is not an approval of the exposure.
  • What record exists, and whether it can be exported. A detection event and a transcript of the page the model received answer different questions.

The pattern to ask for is already documented at the tool layer. How Do You Let an AI Agent Manage API Keys Without Reading Them? sets out the substitution at the moment a dashboard renders a key, with the real value resolved in the approved destination. A vendor that cannot describe that substitution for a console page has not answered the question, however many detections it lists.

What happens when an injected page asks the model for the keys on screen?

Injection matters here because the key is already in the context before the request arrives. Brave's researchers report that "The AI operates with the user's full privileges across authenticated sessions", so a page opened in a working session needs no password to reach the account behind it (Chaikin and Sahib, 2025). The origin protections that contain a script do not contain an agent that has been given the page to read.

The payload is usually after data. Sonatype's report puts "56% of the malware discovered in Q1 2025" in the data-exfiltration category, "a dramatic increase from 26% in Q4 2024", so an attacker who reaches a page is usually after data rather than access (Sonatype, 2025). A console key is both: it opens the account and it is the thing worth carrying away.

Perplexity expects more attempts: "Determined bad actors will continue to probe for weaknesses and new attack vectors will surface" (Perplexity, Mitigating, 2026). Its answer is detection, a confirmation and a log, and each of those acts at the step the agent proposes.

The order is what makes the key different. The model reads the console, the key enters its context, and only then does a confirmation appear for an action. A second page, a ticket with a pasted stack trace or a vendor document with a hidden instruction, is read by the same model that already holds the key. An attack does not have to succeed often if the value it asks for is already in the input, a point How Do I Capture a Token the Moment It Appears on Screen? makes about tokens that arrive mid-task.

Perplexity's post says the detection is logged "for continuous improvement of our models", which is a vendor signal rather than a record of the page the assistant read (Perplexity, Mitigating, 2026).

What does a governed environment change?

A governed environment moves the control to the point where the page is drawn. Values named by policy are replaced with consistent tokens for the whole run, so the console's create dialog renders API_KEY_001 in the key field and the key table renders KEY_001, and the model works from those tokens while the page stays complete enough to use.

Real values resolve only at the approved destination, at the moment of an approved action. A named person approves each key creation, rotation and copy to a new destination, and every screen as the model saw it, every action and every approval land in a record the organization exports to its own logging. Because the substitution happens before any model reads the page, the control is model agnostic and works with any model the organization runs, frontier or open-source. It is enforced outside the model where integrated, so a change of model does not change what the page shows.

The scope is the rendered page, and it does not govern the terminal, the IDE, the local filesystem, direct API calls or MCP. A developer who mints a key with a shell command is outside the control this page describes, and a developer who mints one in the console is inside it. The comparison with this vendor applies the same test to Comet's own controls (RedactSure vs Perplexity Comet: 2026 Comparison & Alternative).

What the record shows

The exposure sits in what the page draws: a credential renders, the assistant reads it, and no later confirmation removes it from what the run already holds. Comet reads the page in the browser a developer already has signed in, so a key created on a console page enters the model's context and stays there for the run. A console is the page to test because a key shown there is readable in full and the page carries the account context around it. A developer should run the check on one page: open the console's API keys page with the agent signed in, create a test key, then compare the fields the page rendered with the values in the run's record. If the key appears in what the model received, the page is the exposure.

Methodology and limitations

This page rests on Perplexity's two posts on Comet and its 1Password announcement, Brave's security research on the same browser, Anthropic's help center page for Claude in Chrome, OpenAI's cloud environment documentation for Codex, GitLab's CI/CD variable documentation, and vendor research from Sonatype and Truffle Security. Public documentation read in full gives a sound view of where each product applies its control. Sources were read between October 20, 2026 and November 4, 2026, and each Sources line carries the date for its page.

No product on this page was tested for it, and every statement about a product comes from documentation; not described means the pages reviewed, and a vendor documents what its product does. Vendor features change and the page carries its date. The example describes a record type, a cloud console's API keys page, not an organization. RedactSure is deploying now with enterprise and government customers. Determinations belong to counsel, assessors and the organization's own security and compliance officers, and nothing here replaces a pilot of one workflow on the organization's own screens.

Frequently asked questions

Can Perplexity Comet see my credentials?

Any credential a Comet page renders is in the model's context, because the assistant reads the page in the browser it runs in. A console that displays a key, a settings page that shows a token and a job log that prints a masked value are all pages. Perplexity's pages describe detection, confirmation and a log, and none of them describes withholding a value from the model. The practical question is which of those pages a task will open, and whether a value on it can be replaced first.

Does Comet read the keys shown on a cloud console?

The keys page is a rendered page like any other, so the assistant receives the fields it draws, including the key value in a create dialog and the last characters in a key table. Perplexity's pages do not describe a filter on those fields. A key that is displayed once is still displayed to the model, and the account email and plan around it arrive in the same read. Opening that page with the agent and comparing the fields it received is the only check that settles it.

Does the 1Password integration keep passwords out of the model?

Not from the announcement. It says the extension "comes built into Comet" and that "Passwords and passkeys are encrypted by default, even as Comet takes action", which describes storage and encryption. It does not say what the assistant receives from a page after a password is filled into it, and encryption at rest does not change what a rendered page shows. A vendor that does not answer that question has not closed the exposure, because encryption alone does not answer it.

What record does Comet leave of what the model read?

A detection log. Perplexity states that "The detection is also logged for continuous improvement of our models", which records that a check fired for the vendor's purposes. It does not describe an export of the page the assistant received, with the values replaced or left in place. An employer that needs a screen-by-screen record has to get it from the environment the agent runs in, and should ask for a sample export that names the screen.

Who approves a key creation or a copy to a new destination?

Perplexity documents a confirmation when the agent needs to fill in details it does not already know, and says the prompt explains the action it is attempting. That is an action gate after the page has been read. It is not a named approver for every key creation, rotation or copy, and it does not stop the model from holding a key it read while the prompt was shown. Ask who signs, and whether that signature covers the value the model already read.

What would keep a console key out of the model's context?

Replacing the value on the rendered page with a consistent token before any model reads it, so the console shows API_KEY_001 and the model works from that. The real key would resolve only at the destination a named person approves, and every screen and approval would land in a record the organization can export. That control sits at the render layer, not in a detector or a confirmation prompt. The test is a console page the agent can open and a key it should never hold.

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 Console Key Out of the Model's Context

A developer's key sits on a console page, and the approaches reviewed here stop at the step the assistant proposes. Brave's researchers describe the assistant as operating with "the user's full privileges across authenticated sessions", which leaves the console page in reach (Chaikin and Sahib, 2025).

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

Before, the console renders the key in the create dialog while Comet reads the page. Inside the governed environment, the key field renders API_KEY_001, the protected browser shows the model that token, and the real value is encrypted to the developer's P-256 public key until the signed grant releases it at the approved destination a named person signs.

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 console page that shows a key puts it in the model's context for the rest of the run. Bring one key page and see, with test values, what the model reads, who approves and what is recorded. Book a demo

Book a demo

Book a demo

Having trouble? Open the booking page or email us.