Skip to content
redactsure
Book a demo

Explore.

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

Is Devin Safe to Give Access to Your Infrastructure?

No, not on the scope alone: Devin's credential store keeps organization, personal, repository and session values, encrypts them at rest, and types a browser value into the page itself. The scope decides what the session can reach, and it does not decide what the model reads on the page.

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

A team that hands Devin a deploy key hands over the right to open a hosting dashboard, read a deploy history and push a release for as long as the session lasts. Cognition's guide to Devin credentials covers that handover in concrete terms: four scopes, a browser path where Devin types the value into the page, a shell path where the value arrives as an environment variable, and encryption at rest (Cognition, 2026). The question a reviewer has to answer is which of those paths puts the real value in front of the model, and what the scope does not decide. A store can be encrypted at rest, and a session scoped to one run, while the value still sits on a page the model reads on its next step. That page is where the review has to look. The scope says who may act and for how long; the rendered page decides what the model reads, and a team should ask for that answer in writing before it issues the key. A reviewer who settles the question about the rendered page before the first key is issued has answered the part that outlasts the session, and knows what the organization approved when it issued the key.

Key findings

  • A credential stops being readable to the model when the page renders a consistent token in its place before any model reads it, so the run works with DEPLOY_KEY_01 and the real value resolves only at the approved destination (What Is Render-Layer Tokenization?).
  • It would also require a named person approving each release and rotation, and a control record of every screen the model read and every approval, exported to the organization's own monitoring (What Is an AI Control Record?).
  • Devin's guide documents four scopes and two delivery paths, and what the model receives after the value is delivered is not described in the pages reviewed (Cognition, 2026).
  • Siddiqui and co-authors describe the route a stolen value takes, "poisoned data retrieved from one component can change the model's behavior and compromise the entire system," including coercing the model to spread confidential data to untrusted components (Siddiqui et al., 2025).
  • Coder's guidance states that "LLMs and agents can be dangerous if not run with proper boundaries" and advises separate identities with limited scope for autonomous work (Coder, 2026).
  • Harvard's guidance names the three things that make an agent setup risky, "access to private data, exposure to untrusted content, and the ability to send data outward," and says that if you can remove one, do (Harvard, 2026).

What access does a Devin session hold, and who grants it?

Access is the right frame, because a deploy key is not the only thing a session can touch inside a dashboard. Cognition's guide sorts a credential into one of four scopes, organization, personal, repository and session, and defines the session scope as "scoped purely to the current session and are not saved for any future sessions," which fixes its lifetime and the runs that may use it (Cognition, 2026). A repository scope is a standing grant to a codebase rather than to a run, and GitHub's own documentation makes the same move when it says each token "can be further limited to only access specific repositories" (How Do I Give a Coding Agent Read-Only Access to One Repository?).

The record for this page is a deploy key that a platform team creates for one session; the engineer who owns the service chooses the scope and decides whether the session may push or only read. That is delegated authority in the sense MIT Sloan quotes, a class of "autonomous software systems that perceive, reason, and act in digital environments to achieve goals on behalf of human principals" (MIT Sloan, 2026). Delegation is why a scope matters: the session acts for a person, and the grant should be no wider than the work.

A governed browser environment covers what an agent reads and does on a rendered page, and it does not cover the terminal, the IDE, the local filesystem, direct API calls or MCP. Devin works in a browser and in a shell, so this review covers the browser half, where a rendered page carries a credential.

Least privilege is the identity industry's answer to the access question, and it governs the actions an agent may take and the credentials it may use (What Is Least Exposure?). A session scope, a repository selection and a read-only permission all sit on that layer. None decides what the dashboard shows the model, which is the second half of the question.

What does a session scope decide, and what does it leave to the rendered page?

A session scope is a boundary around reuse. A value added for one run is not saved for the next one, which matters when sessions run back to back. It is not a boundary around the model's view, and the guide does not present it as one. The boundary that keeps a value out of a later session can be in place while the value sits on the page the current session reads.

"All secrets are encrypted at rest" covers the store (Cognition, 2026). Encryption answers who can read the store while it is idle; it does not change what the session renders once the value is delivered, and the guide does not say what the model reads after the browser path or the shell path completes. That is a statement about the page rather than a criticism of the store, and it is the reason the scope and the screen are separate review questions.

The tether is the same distinction in another form: authority over a run tells you where the run may go, not what the run was shown (What Is a Tethered Agent?). A session scope is a tether with a clock on it. It answers who may act and for how long, and it leaves the page to another control.

A team that hopes the model will decline to use a value it has read is relying on the model's judgment, and that judgment is what adaptive attacks target. Nasr and co-authors bypassed twelve published defenses with an "attack success rate above 90% for most," many of which had reported near-zero rates (Nasr et al., 2025). A control that depends on the model refusing a page is measured against that number, while a control that keeps the value off the page is not.

The two questions are split on Does Devin's Isolated Machine Keep Your Credentials Away From the Model?, which follows a session scope into a client's dashboard. The practical split is to write the scope for what the session may reach, then write a separate control for what the page may show.

What do the vendors themselves say?

Cognition's guide covers four scopes, organization, personal, repository and session. It describes two delivery paths: "In the browser, Devin types the value directly," and "For shell commands, it binds secrets as environment variables whenever needed," and it states that "All secrets are encrypted at rest" (Cognition, 2026). Those sentences answer where a value is kept, which runs may use it and how it arrives at a page or a process.

The scope of the control is worth stating plainly. It works on stored values, on the delivery path and on the permissions attached to a scope; it does not work on what the rendered page shows the model after delivery, and the guide does not describe a substitute in the field. A buyer reading the page learns a great deal about custody and nothing about the screen the session works from.

Dimension Cognition, per its documentation What a buyer should verify
Scopes Organization, personal, repository and session Which scope each value uses, and who may change it
Browser delivery "Devin types the value directly" What the model reads after the typing
Shell delivery Values bound as environment variables Which commands can print the value
Protection in the store "All secrets are encrypted at rest" Who can read the store
What the model receives Not described on the page The screen as the model saw it

Coder's guidance makes the boundary argument for the layer above: "LLMs and agents can be dangerous if not run with proper boundaries," and it advises separate identities with limited scope for autonomous work (Coder, 2026). That advice governs identity and permission, the same layer the four scopes govern. It does not describe what a rendered page shows a model, and it is not offered as a control on reading.

Harvard's guidance names the three things that make an agent setup risky, "access to private data, exposure to untrusted content, and the ability to send data outward," and says that if you can remove one, do (Harvard, 2026). A browser session that types a deploy key into a dashboard it did not build holds all three at once, which is why the custody answer and the exposure answer have to be read together.

What does Devin read when it types a deploy key into a dashboard?

The session opens the hosting provider's dashboard because that is where a deploy key is rotated. The page is a settings page: the key name, its fingerprint, the repositories it may deploy to, the last deploy and the button that creates a new key. Devin types the value into the field, or reads the value the page displays after it generates one, and "In the browser, Devin types the value directly" (Cognition, 2026). A browser agent works from the page it reads, so from that step the real key is on the screen the model is given.

A page can pull in content the agent never chose. EchoLeak showed a zero-click path in which the client "automatically fetches the external image URL included by the attacker" (Reddy and Gujral, 2025). A dashboard that loads a vendor status widget, a repository that renders a README, a support page that renders a customer note: each is content the model reads on a page that also carries the deploy history and the key's name.

The value does not have to be typed to be read. A key the session generates appears on the page, and a page that lists credentials shows a fingerprint and often a prefix. A reviewer who treats the typing step as the exposure misses the read step, which is the one that repeats on every page of the run.

The alternative is a page that renders a label instead: DEPLOY_KEY_01 in the field, in the deploy log and in the transcript, with the real key released only at the moment a named person approves the release (What Is Supervised Delegation?). A token in the field is worth nothing to a page that asks the model to copy it somewhere else, which is the property that makes an injected instruction collect a label instead of a key.

What should a security team ask for in writing?

The written questions should follow the value through the session, not stop at the store. Ask which scope a value uses and who may change it; ask what the model receives from the rendered screen after the value is delivered; ask whether the model reads values the page displays as well as values the session types. Ask who approves a push to production and whether that approval happens outside the session. Ask what record exists of the screens the session read and whether it can be exported to the organization's own monitoring. Ask what happens to the value when the session ends and the next one starts.

Question to put in writing Why it decides the answer
Which scope, and who may change it Separates a standing grant from a one-run value
What the model receives from the rendered screen Names the exposure the scope does not cover
Typed values only, or displayed values too A generated key is on the page without being typed
Who approves a production push Places the approval outside the model's reach
Which record of screens and approvals exists Makes the run reviewable after the fact
What survives the end of the session Tests the reuse boundary the vendor documents

Coder's page supplies the identity half of the instruction: "use separate identities with limited scope whenever interacting autonomously" (Coder, 2026). Harvard's guidance supplies the approval half, asking organizations to "require human approval for high-impact, sensitive, irreversible, or externally visible actions whenever feasible" (Harvard, 2026). Neither sentence reaches the page, and both are stronger for being written down before a key is issued.

A vendor that can answer the six questions has a documented design. A vendor that answers four has a store and a scope. The gap is the list of things to settle in the pilot, with the screen as the item that decides what the model holds for the rest of the run.

What does a governed environment change?

A governed environment changes the question from what the session may reach to what the screen may show. The page is rendered with consistent tokens in place of the values a policy chooses, and the model reads those tokens before it plans the next step. DEPLOY_KEY_01 is the same label on the settings page, in the deploy log and in the transcript of the run. The real value resolves only at the approved destination, at the moment a named person approves the release, so the key reaches the hosting provider's API and not the summary the agent writes afterwards.

The control sits outside the model where it is integrated: the model receives tokens in place of the values, and the solution was designed to work with any model. The control acts on the rendered page, so it can write a record: every screen with the tokens the model worked from, every action, and the name of the person who approved it, exported to the organization's own monitoring.

That record is what the scope leaves out. A scope is written before the work and audited after it; the record of what the model read sits in the middle, where none of the scope's fields reach. A standing rule for a repository or a user can be correct and still leave the reviewer unable to say which values the session saw on the day.

The comparison for this vendor is written, and it sets the render-layer design beside Cognition's scopes row by row (RedactSure vs Devin: 2026 Comparison & Alternative).

What the record shows

What the model reads is decided at the rendered page, and the scope does not reach it. Cognition's guide documents a store with four scopes, a browser path and a shell path, and encryption at rest; it does not say what the model reads once a value has been delivered (Cognition, 2026). The scope remains the right control for who may act and for how long. That split is the answer: a deploy key scoped to one session is a reasonable grant, and the model still holds the key after Devin types it into the dashboard. One session that touched a production key shows the gap. Open the page the session typed the value into and write down everything on that page beside the key: the deploy history, the repository name, a status widget. Then compare that list with what the guide describes; the difference is the test, and it takes one page from one run.

Methodology and limitations

This page rests on Cognition's guide to Devin credentials, Coder's best-practices page, Harvard's guidance on generative AI systems, an MIT Sloan explanation of agentic AI, and three papers on prompt injection and information flow. Public documentation read in full gives a sound view of where each product applies its control. Vendor pages were read between October 16, 2026 and October 21, 2026, and each Sources line carries the date for its page.

No product on this page was tested. Vendor features change and the page carries its date; the phrase "not described" means the pages reviewed. RedactSure is deploying now with enterprise and government customers; the deploy key described here is a record type, not an organization. Determinations belong to the organization's counsel, assessors and compliance officers, and nothing replaces a pilot of one workflow on the organization's own screens.

Frequently asked questions

Is Devin safe to give access to your infrastructure?

No, not on the scope alone. Cognition's guide offers organization, personal, repository and session scopes, types a browser value into the page and encrypts stored values, and it does not say what the model reads after delivery (Cognition, 2026). Scope the grant to the narrowest value the task allows, and treat the dashboard the session opens as part of the exposure.

What does Devin's model read after it types a value into a page?

At least the page it is working from. Devin types the value into the field itself, and a browser agent plans the next step from the rendered page, so the deploy history, the repository name and any widget the page loads sit in the same view as the key (Cognition, 2026). The guide describes no placeholder in the field. Treat the page as the model's view of the work, and test it with a value you would not mind losing.

Who approves a Devin action on your infrastructure?

Nothing in the guide describes an approval step for a production push. The scopes decide whether a session may use a value, and the person who granted the scope decided that in advance. A standing permission is not a per-action approval. A team that needs a person in the loop for each release should put the approval outside the session and record the name, because a scope cannot tell a routine deploy from the one an injected page asks for.

What record does a Devin session leave for a reviewer?

The conversation and the tool calls, which follow the work and not the value. Its documentation covers scopes and delivery and names no per-screen record of what the model received. A reviewer can see that a command ran and what it returned, and cannot see the field the key was typed into. A record that answers the question holds the screen as the model read it, the action and the approver, and it can be exported.

Does a session scope keep a credential away from the model?

No. A session scope keeps a value out of later sessions, which is a real boundary for reuse and a different question from visibility. The guide states that a session value is "scoped purely to the current session and are not saved for any future sessions," and it does not state that the model is kept from the value during that session (Cognition, 2026). The two properties are independent: a value can be scoped to one run and still be typed onto a page in it.

What should a contract say about what the model receives?

Ask about the screen as well as the store. A contract that covers scopes, encryption and access review leaves the exposure question open, so add a line on what the model receives from a rendered page, whether a placeholder can stand in the field, who approves a production action, and which record the customer can export. Ask for the answer in the vendor's own documentation, then confirm it with one workflow run on test values before the key is issued.

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 Deploy Key Off the Page the Session Reads

A scope decides which runs may use a key, not what the page shows the model. Cognition's guide has Devin type the value into the page itself.

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

Before, the model reads the live key in the dashboard field and keeps it in the transcript. Inside the governed environment DEPLOY_KEY_01 renders in its place, the release plan is built from the label, and the real key resolves only when a named person approves the push. A scope is a standing rule for a resource; for each task, RedactSure's Policy Planner proposes what the agent may see and what it may do.

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 deploy key typed on a dashboard stays in the model's context for the rest of the run. Bring one permission you would give an agent and see, with test values, what the page renders and who approves the release. Book a demo

Book a demo

Book a demo

Having trouble? Open the booking page or email us.