
Developers adopted coding agents faster than most policy programs could follow, and the reasons are easy to understand. The Stack Overflow 2026 Developer Survey found coding assistants and agents were respondents' top AI use case at 66%. Claude Code and GitHub Copilot led agent usage among the same respondents.
These tools moved past suggestion a while ago, and an agent in a terminal now runs commands, reads repositories, calls tools, and opens pull requests. Coding agent governance is the identity, access, runtime, and audit controls that decide what an agent can reach and do on someone's behalf. It also has to prove what the agent did afterward, which matters as much as anything the controls prevent.
Here's the part most AppSec programs weren't designed for. An agent launched from a developer's laptop inherits the developer's GitHub token, cloud CLI profile, .env secrets, and signed-in browser sessions. It can open a Jira ticket, push to a branch, and query a cloud console, and each action looks like the developer did it.
In a post published August 27, 2026, the NIST Cybersecurity Insights blog said giving agents personal and enterprise credentials has "quickly become a common pattern." Gartner predicted in May 2026 that 40% of enterprises will demote or decommission autonomous agents by 2027, in part because teams "fail to distinguish between an agent's ability to act and the scope of access it is granted."
Governance that only reviews code output starts after the access decision has already been made. Most of us inherited that order of operations rather than choosing it, and it's worth saying so out loud before redesigning anything.
Most security programs were built to review code a person wrote and merged, and agents changed the order of operations. AppSec scanning and code review were the right controls for that era, and they still matter. The risk has moved earlier, into the moment an agent runs a command with real access, so coding agent governance has to start there.
Each source has limits worth naming plainly. The prompt injection rate reflects crafted payloads in a research setting, not field incident rates. Gartner's 2025 survey also covers GenAI broadly rather than coding agents.
Agents typically read config files and environment variables as part of normal work. A token sitting in ~/.config is one command away from any process able to steer the agent.
An MCP server, a skill, or an extension is code the agent calls with the developer's access. An unvetted one carries that same reach into whatever systems the token opens.
All five share one thread: each typically becomes an incident when an agent holds credentials it shouldn't, or uses them where no one is watching.
If you're building a coding agent policy this quarter, ask where each control gets enforced before you ask which tool to approve. Coding agent governance holds up best as three layers: the agent runtime, the tool path, and identity and access. Each one is enforced in a different place, which is exactly why the order you build them in matters.
The runtime layer covers managed settings, permission modes, pre-tool hooks, and sandboxing. Claude Code managed settings apply above user and project settings, so a developer's local configuration can't override them. Most other coding agents offer comparable building blocks, from allowlists and approval modes to hooks and sandboxing, and the strongest setups pair best-effort guardrails with deterministic ones.
You should use all of it, and the limitation is location: these controls live on a device and inside one tool's configuration.
MCP allowlists, gateways, and egress limits decide which servers an agent can call and what credential reaches them. The MCP specification explicitly forbids token passthrough, which signals where the protocol's authors see the risk. A server forwarding a token it wasn't meant to hold turns one compromised tool into access across several systems.
Runtime controls stay behind when a developer switches tools, runs an agent in the cloud, or signs in with a personal account. Credentials go wherever the work goes. When you scope and observe them, the other two layers become enforceable rather than advisory.
NIST's NCCoE published a concept paper on identity and authority for software agents in February 2026, covering identification, authorization, and auditing. It's a starting point for a potential project rather than final guidance, but the scope tells you where the hard questions sit.
Most programs start by choosing which agent to approve. The more durable first move is deciding which credentials any agent may hold, because tool choices shift quickly while credential scopes change far less often.
| Control | What it limits | Where it's enforced | Typical owner |
|---|---|---|---|
| Approved agent list | Unapproved installs | Endpoint and device posture | Security and platform engineering |
| Agent identity and least privilege | Borrowed human access | Identity provider and credential issuance | IAM |
| MCP and tool allowlists | Malicious or unvetted tools | Agent configuration and gateway | Platform engineering |
| Data and repository scoping | Code and IP leakage | Repository permissions and data boundaries | AppSec |
| Command approval | Destructive actions | Agent runtime hooks and approval modes | Platform engineering |
| Logging and attribution | Missing audit trail | Gateway and session layer | Security operations |
For agents and sessions running in a browser, enforcement strength tends to track how close the control sits to the session. Controls native to the environment, such as an enterprise browser with built-in policy, see the most context.
Extension-layer controls added to existing browsers are useful, and they often work alongside native controls in the same environment. Network and proxy controls infer activity from traffic, so they see the session more indirectly.
Your developers won't settle on one agent; they'll use several, plus whatever ships next month. More of those agents now run outside the laptop, in browser tabs and cloud sandboxes, where hooks configured on a developer's device don't follow them.
GitHub's Copilot firewall documentation, for example, says the firewall operates only within the environment where Copilot runs and doesn't apply directly to other MCP servers.
Most teams don't have a coding agent problem. They have one admin console per agent, plus no shared view of who did what across all of them.
An access-layer approach gives you one place to set policy, starting with corporate tenants for AI tools so managed settings and audit logs actually apply. You can bind access to GitHub, Jira, and cloud consoles to a governed session and set data boundaries on paste and upload. The same policy extends to contractors and to unmanaged devices beyond the reach of endpoint controls.
Island Enterprise AI takes this approach from inside the workspace, where AI, identity, and data protection run as one environment. Agentic Endpoint Posture inventories agents, MCP servers, skills, and extensions on each device and scores their risk. Agentic Identity and the Island MCP Gateway issue scoped, time-limited credentials, so the gateway holds the raw credential and the agent never sees it.
In the browser, the Enterprise Browser for Agents ties agent actions to the user's enterprise identity, with user-versus-agent attribution on each audit entry. Island governs the browser activity (the pages, sessions, and actions) rather than the agent itself. It's the same principle Island applies to compromised human credentials, extended to a second kind of worker.
This doesn't replace vendor-native settings or AppSec review in a coding agent governance program. It's the layer that helps them hold when tools change, because the policy is built in, not bolted on.
The hardest part of rolling out coding agent governance is rarely the technology; it's deciding who gets paged when an agent does something unexpected. A workable split gives security ownership of identity, credential scopes, and audit, while platform engineering owns agent defaults and the paved road. AppSec keeps code review of agent output, which stays as important as it was before agents arrived.
Start the inventory with tokens rather than tools. A long list of approved agents tells you less than a short list of the long-lived tokens they all share. Those tokens are what an attacker or a confused agent would actually use.
Then track one leading indicator: the bypass rate, meaning the share of agent sessions coming from personal or unmanaged accounts. If it rises after a policy change, the policy is costing more than it protects, and developers are telling you so through their behavior.
Expect the first month to surface uncomfortable findings, such as shared tokens nobody remembers issuing. That's the inventory working as intended, and it gives each owner a concrete list to scope in the second phase.
If you need something to bring to next week's architecture review, start here. Each line is a coding agent governance policy statement you can adopt as written or adapt to your identity stack and approved tools.
CLAUDE.md and AGENTS.md files still help, because they shape how an agent approaches a repository. Treat them as guidance, and put enforcement in managed settings, credentials, and access policy.
Agents earn trust the same way people do, through scoped access and a record of what they did with it. If you're evaluating this shift, we're happy to walk through what we've built, so request a demo.
It's deciding which credentials an agent may hold and what it can do with them, then proving afterward what it actually did. It complements AppSec review of agent-written code rather than replacing it.
No, because an agent can misread or be steered away from instruction files. Enforcement comes from managed settings, scoped credentials, and access policy layered beneath them.
Yes, wherever your identity provider and tools support it. A distinct or delegated identity makes least privilege and attribution enforceable in ways a borrowed token can't.
Make the governed path the easiest one, with corporate accounts, preapproved agents, and fast MCP approvals. Then watch personal-account usage as your earliest signal of friction.