ShellFrame AI research · August 21, 2026
Agentic AI security has an identity problem.
Static API keys were never built for autonomous agents. An AI agent should not receive a permanent credential merely because it needs one tool. It should receive narrowly scoped, temporary authority to perform a specific action—under policy, with a decision trail.
From answers to actions
The security boundary changes when software can decide what to do next.
An assistant drafts. An agent observes state, selects tools, takes actions, checks the result, and tries another path when the first one fails. That loop is what makes agentic AI useful—and what turns ordinary access configuration into a security architecture decision.
The shift is visible in mainstream products, not only research demos. Google now describes an era of Search agents that work in the background and can move from monitoring information toward action. OpenAI's account of running Codex internally describes autonomous repository review, command execution, tool use, approvals, identity, credentials, and agent-aware telemetry as one operating problem.
Search interest is moving with the technology. A 2026 peer-reviewed review of worldwide Google Trends data found that normalized interest in the query “AI Agent” rose sharply through 2025 and remained elevated after its peak. That is a relative-interest signal, not an exact search-volume estimate. The more specific opportunity is now agentic AI security: how to identify an agent, bound its permissions, and prove which authority produced each action.
A precise vocabulary
Identity, credentials, and authority are related. They are not interchangeable.
- 01Identity
The principal the system can name: the agent, workload, user, service, or organization involved.
- 02Authentication
The process used to establish that a caller controls an identity or approved authenticator.
- 03Credential
Evidence used to authenticate or obtain access, such as an API key, certificate, token, or signed assertion.
- 04Access
The ability to reach a resource or service. Reachability alone does not mean an action should be allowed.
- 05Permission
A rule allowing an operation on a resource, often expressed as a role, scope, action, or policy statement.
- 06Authority
The effective power to act in context: who delegated it, for which action, target, conditions, and time.
The architectural mismatch
To an autonomous agent, a credential is executable authority.
A static API key is often a bearer secret: possession is enough to use whatever permissions the key carries. Some services can identify the application or account behind it, but the key rarely explains which agent instance is acting, which user delegated the task, why the request exists, or whether this exact action is still appropriate now.
In a human-operated script, a long-lived key was already a risk. In an agent loop, the same key can be selected after an indirect prompt injection, passed into a tool chain the user never reviewed, reused across retries, or exposed through generated code and logs. The credential does not understand intent. It simply makes the action possible.
Agent → API key / .env → Tool
One secret carries the account's standing power.
The agent receives a reusable credential before the system knows the final action, destination, risk, or reason. Revocation is coarse, and attribution often ends at the shared key.
Agent → Identity → Policy → Scoped / temporary credential or capability → Tool → Audit
The request earns only the authority it needs.
Policy evaluates the actor, delegator, action, resource, destination, and time before a short-lived or single-use proof is issued. The decision and result remain attributable.
Why autonomy amplifies the risk
A reasoning error can become a real side effect before a person sees it.
Agentic systems combine instructions, untrusted data, tool descriptions, memory, credentials, and network access at runtime. Each component may look acceptable alone. The dangerous path often appears only when the agent chains them together—for example, reading a malicious issue, accessing private repository data, and calling a public endpoint that can transmit the result.
Security research has already demonstrated these compositions. Invariant Labs showed a prompt-injection path in a GitHub MCP workflow that could use an agent's private-repository access to exfiltrate data. Oligo disclosed CVE-2025-49596 in MCP Inspector, where a malicious web page could reach a locally running tool and trigger command execution; the project fixed the issue in version 0.14.1. These were different flaws, but both show why “the agent can connect” is not a sufficient trust decision.
OWASP's Q1 2026 exploit round-up describes a broader move from attacks on model output toward agent identities, orchestration layers, permissions, and supply chains. Black Hat USA 2026 made the same shift unusually concrete: its briefings included “The CoreBreak Attack: Turning AI Agents into Credentials Exfiltration Vectors,” “No Tools Required: Post-Injection Exploitation Across AI Agent Frameworks,” and “Trusted Enough to Run: Breaking AI Agents in Official Workflows.”
The MCP boundary
MCP standardizes tool connectivity. It does not replace action-level policy.
This distinction needs care because “MCP has no authorization” is no longer accurate. The July 28, 2026 MCP specification defines transport-level OAuth authorization for HTTP, audience-bound access tokens, least-privilege scope selection, runtime scope challenges, and issuer validation. It also exposes method and tool names in HTTP headers so gateways can route, meter, and authorize requests without parsing the body.
But the protocol deliberately does not implement an organization's business policy. A valid token can show that a client may reach an MCP server with a given scope. It cannot universally decide whether this agent, acting for this employee, may deploy this commit to production, export this customer record, or spend this amount at this moment. Those decisions depend on application context, risk, delegation, and local policy.
The practical conclusion is not “MCP is insecure.” It is that tool connectivity, transport authorization, and action authority are separate infrastructure layers. Secure systems need all three.
Agent identity and privilege abuse is now a named architectural risk.
The OWASP Top 10 for Agentic Applications 2026 separates identity and privilege abuse from tool misuse. It warns that inherited or cached credentials and weak delegation create an attribution gap that makes least privilege difficult.
Agents are becoming distinct principals, not disguised users.
Microsoft Entra Agent ID gives agents dedicated identities and authorization controls. Microsoft blocks many high-privilege roles for those identities and uses federated identity credentials instead of giving each agent a password.
Temporary credentials and workload context are entering agent runtimes.
Amazon Bedrock AgentCore supports temporary credentials and recommends dynamically generated credentials over long-term access keys. Its workload token can carry both agent and end-user identity for scoped access to credential providers.
Identity and discovery are becoming internet infrastructure questions.
The Linux Foundation's proposed Agent Name Service extends DNS for portable agent identity, verification, and discovery. The proposal is early, but its existence shows how quickly the problem is moving beyond one vendor's IAM system.
A better authorization primitive
Give the agent a capability for the action, not a master key for the account.
A capability can be a short-lived OAuth access token, a cloud role session, a signed one-time grant, or a credential injected by a broker only into an approved request. The representation matters less than the properties it carries: a named actor, a named delegator, a narrow action, a specific resource or destination, an expiry, and a way to revoke or reject it.
Temporary is necessary but not sufficient. A five-minute token with administrator scope still has a large blast radius. Scoped is necessary but not sufficient. A narrow token that can be silently minted for any prompt still lacks meaningful governance. The security boundary comes from evaluating both scope and context before authority is granted.
A practical design checklist
What scoped delegated authority should carry.
- 01Agent and workload identity
Give every operating agent a stable principal that can be governed and revoked independently.
- 02Delegator and purpose
Preserve which user or service asked for the task and the purpose under which it is running.
- 03Action and resource scope
Bind permission to the exact operation, destination, object, environment, and limits required.
- 04Short lifetime
Issue the proof just in time, expire it quickly, prefer single use where practical, and support revocation.
- 05Step-up approval
Pause irreversible, unusual, expensive, or production-impacting actions for explicit review.
- 06Decision evidence
Record actor, delegator, policy, requested action, approval, target, and outcome without logging secrets.
A migration path
You do not need to replace every integration at once.
Start by inventorying which secrets an agent can read, which tools it can call, and which production-looking destinations it can reach. Separate read actions from writes, reversible changes from destructive ones, and routine operations from actions that require intent or budget confirmation.
Next, remove long-lived credentials from model context and generated workspaces where possible. Put a broker or policy enforcement point between the agent and the credential, then resolve a secret only for an approved destination and operation. Prefer federated or temporary credentials when the downstream service supports them. When it does not, keep the static credential behind the broker so the agent receives the result of an authorized call rather than the reusable secret itself.
Finally, make failures safe: limit retries, use idempotency for writes, require step-up approval when risk changes, and preserve enough evidence to reconstruct the delegation chain. This converts a collection of keys into an authority system that can evolve service by service.
The ShellFrame view
Businesses should not expose permanent secrets just to become usable by agents.
ShellFrame's starting point is the credential boundary. AgentSecure can scan a repository locally for
agent-visible secret files, risky MCP configuration, dangerous scripts, and production-looking targets.
With agentsecure start, real environment values move into a local vault and the repository
keeps safe placeholders instead.
For secret-backed API work, the AgentSecure MCP broker can resolve a local value only for an approved destination. Audit records can retain the placeholder, destination, tool, and result without recording the secret value. ShellFrame's broader direction adds identity, policy, approval, and a decision trail around that enforcement point; it does not require the model to be trusted with the permanent credential.
Common questions
Agentic AI security, in practical terms.
Why are static API keys risky for AI agents?
A long-lived key usually remains reusable across tasks and carries standing permissions. If an agent is manipulated, makes an incorrect decision, or exposes the key, the resulting authority can outlive the task that justified access.
Does MCP solve AI agent authorization?
MCP's current HTTP authorization profile provides important OAuth mechanisms, including scope challenges and audience binding. Organizations still need policy that decides whether a particular agent should perform a particular business action in its current context.
What is the difference between agent identity and agent permission?
Identity names the principal. Permission describes an operation that principal may perform. A secure decision combines both with the delegator, target resource, time, risk, and purpose of the request.
Start with visibility
See which credentials and tools your coding agent can already reach.
AgentSecure scans locally, does not upload repository contents, and gives teams a concrete starting point for reducing standing credential exposure.