TL;DR: AI-assisted development changes who creates and operates software, and the article argues that authorization must be designed into the architecture rather than bolted on later, according to 1Password’s discussion with Vercel’s Tom Occhino. The security question is no longer whether tools can be called, but how untrusted code, inherited permissions, and just-in-time access are prevented from turning into standing risk.
At a glance
What this is: This is an analysis of how AI-assisted development changes access control, with the key finding that authorization has to be built into the architecture before agents can safely call tools.
Why it matters: It matters because teams now have to govern agent-driven software creation, not just human developers, and the same access model must hold across NHI, autonomous, and human identity programmes.
👉 Read 1Password's discussion on AI agent access control in developer workflows
Context
AI-assisted development turns access control into an architectural choice, because a tool-calling agent can create, query, and modify systems without the same judgment or review discipline as a trained engineer. In that model, the governance problem is not only who can build, but what the builder can reach at runtime.
The primary identity issue here is non-human access behaving inside developer workflows. When credentials are inherited by default, secrets spread into sandboxes, dashboards, and scripts faster than teams can review them, which is why default-deny boundaries and just-in-time authorization matter before production exposure occurs.
Key questions
Q: How should security teams govern AI agents in developer workflows?
A: They should treat agents as non-human identities that need task-scoped authorization, secret isolation, and audited tool boundaries. The practical test is whether the agent can act without inheriting broad credentials from the developer environment. If it can, the workflow is too permissive and needs tighter runtime controls before it is widely used.
Q: Why do AI-assisted coding tools increase access control risk?
A: Because they make it easy to spread powerful credentials into sandboxes, scripts, and shared apps before anyone reviews the resulting access path. The risk is not only theft, but inherited permission drift, where one copied token grants broad access across several systems and survives well beyond the task that needed it.
Q: What breaks when developers paste API keys into AI-built apps?
A: The application loses clean attribution, revocation, and scope control. Anyone using the app may inherit the same credential path, and the original builder often cannot explain or limit what that key can still reach later. That turns a convenience shortcut into an unmanaged access surface.
Q: How do teams know if AI agent access is actually governed?
A: Look for separate controls over secret storage, runtime access, and outbound requests, plus a clear revocation path for every shared workflow. If access exists only because someone pasted a key into a prototype, governance is cosmetic, not operational.
Technical breakdown
Sandbox boundaries and secret isolation in AI-assisted development
A secure sandbox is not just a safer place to run code. It is an identity boundary that prevents an AI agent from reading production secrets, environment variables, or configuration by default. The article shows why inbound isolation is not enough on its own: an agent may still make outbound requests unless those calls are also authorized. That means the control plane has to treat read access and network egress as separate decision points, each with its own policy and audit expectations. If the sandbox can reach sensitive systems, it is not really isolated.
Practical implication: define separate controls for secret exposure and outbound tool access before allowing agent-driven code execution.
Just-in-time authorization for agent tool calls
Just-in-time authorization changes the access model from persistent entitlement to task-scoped approval at the moment of use. In the article’s framing, credentials do not need to live inside the agent’s context, and they do not need to remain available after the task completes. That matters because agentic workflows often need short bursts of access across multiple systems, but those bursts should not become standing privilege. The core design idea is contextual access evaluation, not long-lived credential inheritance.
Practical implication: move agent access from preloaded secrets to contextual authorization that expires with the task.
Why inherited permissions create hidden blast radius
Inherited permissions are the easiest way to get an AI-assisted workflow working quickly, and the hardest way to govern it later. If a non-technical builder pastes API keys or tokens into an app, those credentials often carry full upstream permissions across systems the workflow does not truly need. That expands blast radius in two ways: the agent can act beyond intent, and every collaborator using the workflow inherits the same access path. The result is a shadow application with no clean revocation path and no meaningful attribution boundary.
Practical implication: eliminate credential inheritance in low-code and AI-assisted apps, especially where multiple users can share the same runtime.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- AI LLM hijack breach — attackers used stolen AWS access keys to hijack Anthropic LLM models on Bedrock.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Access control has become a design decision for developer identity, not a downstream safeguard. The article’s central message is that AI-assisted development changes the point at which security must be enforced. If an agent can call tools, build interfaces, and move data across systems, then the authorization model has to exist before execution begins. That is a shift in governance posture, not just in tooling choice. Practitioner conclusion: security teams must treat development-time identity as part of the application architecture.
Inherited permissions are the hidden failure mode in AI-assisted coding workflows. The problem is not that agents are clever, but that they can inherit broad API tokens, environment variables, and account-level access by default. That creates access that outlives the task, the user, and sometimes the application itself. Practitioner conclusion: the governance question is not whether the workflow works, but whether any single credential can safely explain all the actions it enables.
Just-in-time authorization is the right named concept for this problem space. In AI-assisted development, access should be evaluated in context when requested, not carried forward from setup into every later action. That matters because the builder may be non-technical, the workflow may be ephemeral, and the system may span multiple connected services. Practitioner conclusion: teams should reframe agent access from persistent setup to task-scoped decisioning.
Developer workflow security now intersects with NHI governance by default. Every agent, token, sandbox, and API key in the article is a non-human identity problem, even when the user experience feels like software productivity. That means lifecycle, revocation, and entitlement scope all need to be assessed together rather than as separate hygiene tasks. Practitioner conclusion: IAM and AppSec teams should align on one governance model for human builders and the non-human credentials they create.
Agent-driven development exposes a control gap that traditional access reviews do not catch. Access review cadences assume there is a stable entitlement to certify, but AI-assisted workflows can create temporary, widely shared, and poorly attributed access paths long before any review occurs. That is a governance mismatch between review timing and runtime reality. Practitioner conclusion: teams should assess whether existing recertification processes can even see AI-created access paths in time.
From our research:
- The average estimated time to remediate a leaked secret is 27 days, despite 75% of organisations expressing strong confidence in their secrets management capabilities, according to The State of Secrets in AppSec.
- Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to GitGuardian & CyberArk.
- For teams dealing with agentic workflows, the next step is to map secret discovery, rotation, and runtime authorization against the controls described in the Ultimate Guide to NHIs - The NHI Market.
What this signals
Secret sprawl in AI-assisted development will keep outpacing review cycles unless teams move authorization closer to runtime. The governance issue is not just exposed credentials, but the speed at which those credentials are copied into build tools, sandboxes, and shared applications. When access is evaluated at setup time instead of use time, the programme is already behind the workflow.
Just-in-time access is becoming a structural requirement for AI-built applications, not a niche control. Once non-technical users can create tools that connect to business systems, the organisation needs policy that follows the request, not the person who first assembled the app. That is especially true when shared dashboards or helper apps can outlive the original builder.
The broader signal is that identity and AppSec teams need one control model for secrets, sandboxes, and delegated API access. If those areas remain separate programmes, AI-assisted workflows will continue to create access paths that are easy to create and hard to unwind.
For practitioners
- Separate secret exposure from outbound tool permission Define one control set for what the sandbox can read and a second control set for what it can call externally. Do not assume that blocking production secrets is enough if the agent can still make unrestricted outbound requests.
- Replace inherited credentials with task-scoped authorization Move away from API keys, copied tokens, and environment variables that persist across sessions. Evaluate access at the moment of use and let it expire when the task ends, so the agent never carries standing privilege into the next action.
- Inventory shadow AI apps built by non-technical users Look for dashboards, internal tools, and helper apps created outside security review that connect to Salesforce, Mixpanel, Zendesk, or similar systems. Prioritize the ones where multiple users share the same runtime credentials and no revocation path exists.
- Align recertification to runtime access paths Review whether access reviews can actually detect short-lived agent workflows, shared sandboxes, and pasted tokens before the next business cycle. If not, treat the workflow as ungoverned until the entitlement path is visible end to end.
- Make the secure path the default build path Reduce the setup cost of secure authorization so developers do not bypass it for speed. In practice, that means vault-to-runtime delivery, clear policy boundaries, and no requirement to copy secrets into code or local files.
Key takeaways
- AI-assisted development shifts access control from a review problem to an architecture problem, because agents can call tools without human judgment at the moment of execution.
- Inherited credentials create the real blast radius, since one pasted token can grant broad access across multiple systems and outlive the workflow that used it.
- Teams that want safe AI development need task-scoped authorization, separate sandbox boundaries, and a revocation path for every shared runtime access path.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A1 | Agent tool use and runtime access decisions are central to this article. |
| OWASP Non-Human Identity Top 10 | NHI-03 | The article centers on secret exposure, inheritance, and revocation for non-human access. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | The article hinges on contextual authorization and separate trust boundaries. |
Apply agent-boundary controls so tool calls require contextual authorization and least privilege.
Key terms
- Task-Scoped Authorization: Access granted only for the specific job an agent or workflow is performing, then removed when the job ends. In practice, it prevents AI-assisted tools from carrying broad, reusable credentials into later actions or unrelated systems, which reduces blast radius and improves revocation clarity.
- Inherited Permissions: A condition where a workflow, sandbox, or application receives the full access rights of the credential it was given rather than a narrower set tied to the task. For AI-assisted development, inherited permissions are dangerous because they let one copied secret unlock more systems than the tool actually needs.
- Sandbox Boundary: A control boundary that separates untrusted execution from sensitive systems, data, and credentials. For agentic development, the boundary must cover both what the code can read and what it can call externally, otherwise a sandbox can still reach production through outbound requests.
- Shadow AI: AI tools, agents, or helper applications created and used outside formal security oversight. These systems often emerge in developer workflows and can accumulate shared credentials, hidden data flows, and unclear ownership, making them difficult to review, revoke, or govern through normal IAM processes.
Deepen your knowledge
AI agent access control and just-in-time authorization are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building developer workflows that mix human builders, sandboxes, and shared API access, it is worth exploring.
This post draws on content published by 1Password: AI agent access control and developer workflows. Read the original.
Published by the NHIMG editorial team on 2026-06-02.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org