TL;DR: OpenRush MCP and its REST API expose the same tools, but MCP tokens can reach every tool on an account because OpenRush publishes no per-tool scopes, according to Scalekit. That makes least privilege an external governance problem, especially when agents spend credits without visibility into balance, usage, or key rotation.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Scalekit's announcement: OpenRush MCP exposes the same tools as the REST API, but its tokens are not scoped per tool and leave least privilege to external controls.
Why it matters: IAM and NHI teams should treat agent access boundaries, token lifecycle, and spend controls as separate governance problems when a single credential can reach every tool in an account.
Context
The security gap here is not capability parity, but control parity. When an AI agent can authenticate once and then reach every tool on an account, the architecture shifts responsibility for least privilege out of the provider and into the orchestration layer. That is a governance problem for agentic AI identity as much as it is an access-control problem.
The same account can be reached through OAuth, refresh tokens, or an API key, but the operational question is who can limit what the agent does after login. If the upstream service does not offer per-tool scopes, the surrounding platform has to decide which roles may call which tools, when to refresh credentials, and when to stop a run before it spends budget unexpectedly.
Key questions
Q: What is the difference between OAuth 2.1 authentication and least privilege for AI agents?
A: OAuth 2.1 answers the question of how the client proves it is allowed to talk to the resource server. Least privilege answers a different question: how much that client should be allowed to do once it is inside. An MCP deployment can satisfy OAuth 2.1 and still fail badly if the issued token is broad, static, or tied to a powerful human identity.
Q: Why do shared credentials break tenant isolation in agent workflows?
A: Shared credentials collapse separate tenants into one account context, so an agent can inherit the same API keys, tokens, or service account permissions across customers. That breaks isolation because access decisions, audit trails, rate limits, and revocation all apply to the shared secret rather than to each tenant. Using one account identity per tenant preserves scope and makes offboarding, rotation, and incident containment possible.
Q: How should teams control credit consumption in autonomous runs?
A: Teams control credit consumption by enforcing per-run quotas, cost caps, and budget-aware stopping rules on the agent executor. Remaining credits should be checked before each tool call or model invocation, with hard limits for retries, long loops, and parallel actions. That prevents an autonomous run from overspending, exhausting shared capacity, or continuing after the approved budget is consumed.
Q: What is the difference between API keys and OAuth for AI agent access?
A: API keys identify the caller and usually stay valid until revoked, while OAuth issues scoped, short-lived tokens that represent delegated authority. For AI agents, that difference matters because OAuth supports consent, traceability, and revocation at the level of each action, not just the whole application.
Technical breakdown
Why unscoped OAuth tokens create a broad access boundary
OpenRush uses OAuth on the MCP path, but the protection metadata advertises no tool-level scopes. That means the token validates the account, not the individual action, so every authorized call lands with the same effective reach. In practice, this makes the token more like an account bearer credential than a constrained delegated grant. For multi-tenant agents, the security model must assume that upstream authorization is coarse unless the provider exposes a narrower policy layer. See the MCP Security Guide.
Practical implication: Enforce tool-level authorization in your own agent layer when upstream tokens are account-wide.
Why credit balance becomes a runtime control plane issue
OpenRush charges credits when a call starts, not after success, and the MCP path does not expose balance or usage checks. That creates a runtime blind spot: an agent can continue making expensive requests until a call fails. The issue is not just billing. It is that consumption control and action control are now separated, so cost governance must be handled outside the model-facing interface. See the AI Agent Observability, Audit and Incident Response Guide.
Practical implication: Gate expensive calls on an external credit check before the agent executes them.
Why shared keys break tenant isolation in agent workflows
A shared platform key collapses many customers into one identity and one credit pool. Once multiple tenant data sources are connected, the agent may need to choose which account context to use, which turns isolation into a model decision instead of a policy decision. That is a brittle place to leave tenant separation because the system is now relying on prompt behavior to preserve account boundaries.
Practical implication: Use per-user credentials or hard policy gates when one agent serves multiple tenants.
Threat narrative
Attacker objective: The objective is to convert a single delegated credential into broad account reach, uncontrolled spend, or cross-tenant data access through the agent runtime.
- Initial access occurs when the agent authenticates successfully through OAuth or an API key and receives account-wide reach to OpenRush tools.
- Escalation follows when the same credential can invoke higher-cost or more sensitive tools without any tool-level scope boundary or internal balance check.
- Impact appears when a looped or misdirected agent burns credits, touches the wrong tenant context, or continues operating after balance exhaustion because the control plane is outside the MCP session.
Breaches seen in the wild
- CoPhish OAuth phishing via Copilot Studio: Datadog showed Copilot Studio agents on a Microsoft domain can front OAuth consent phishing and forward stolen tokens; no victims reported.
- Langflow Flodrix botnet 2025: Attackers used Langflow's unauthenticated code endpoint to dump AI servers' environment variables and enlist them in the Flodrix botnet.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
OpenRush’s MCP path illustrates an identity governance pattern that is now common in agentic systems: authentication succeeds, but authorization remains too coarse to express least privilege. The token proves the account, not the task, and the provider exposes no per-tool scopes for the MCP channel. That means the real control boundary moves above the upstream service and into the agent platform, where policy can separate roles, tools, and tenants.
Credit consumption is part of the identity problem when an agent can spend budget faster than a human can intervene. OpenRush deducts credits at call start and exposes no balance read on MCP, so runtime authority and spend authority are effectively fused. This creates a governance gap that conventional access reviews do not see, because the risky event is not persistent access but repeated, unchecked use of valid access.
Shared credentials turn tenant isolation into a model behaviour problem, which is a poor design for production governance. Once multiple customers share one key or one account, the system must infer which data source to use and which budget to spend against. That is a structural failure of delegated access design, not a tuning issue, and it requires explicit separation of identity, intent, and accounting.
Token lifecycle becomes the real control surface when the upstream provider cannot revoke or constrain access at the granularity the business needs. Refresh tokens, API keys, and session state all need ownership outside the provider because the provider cannot know which agent role, tenant, or workflow should lose access first. The result is a classic agentic AI identity maturity problem: issuance is easy, but containment depends on the caller's governance layer.
Scoped authority must be built where the workflow is orchestrated, not where the API is exposed. A service can expose a clean account boundary and still leave dangerous gaps if it does not partition tools, cost, and tenant context. Practitioners should treat this as a design signal that agent identity controls belong in the control plane, while the upstream service remains only one enforcement point.
From our research library:
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey.
- 69% of security leaders agree identity management must fundamentally shift to address agentic AI systems, according to the 2026 Infrastructure Identity Survey.
- Read next: Agentic AI Identity Guide
What this signals
Agentic platforms will increasingly have to separate authentication from authority. A valid token will not be enough to prove that an AI system should reach every tool, every tenant, or every budget line, because the real control point is the policy layer above the upstream provider.
Credential lifecycle will matter more than the authentication method itself. When refresh tokens, API keys, and session state are all usable by the same agent runtime, organisations need revocation, ownership, and usage boundaries that operate independently of the model's behaviour.
The next maturity step is not more login methods, but narrower runtime permissions. As more systems expose model-facing APIs, governance will shift toward tool allowlists, cost gates, and deterministic tenant routing that can survive a misdirected or looping agent.
For practitioners
- Implement tool-level authorization outside the upstream provider Map each agent role to an explicit allowlist of tools and deny all other tool calls, even when the upstream token can technically reach them.
- Add a pre-call credit gate for expensive workflows Check remaining credits in an external control step before any high-cost request, and stop the run when the budget falls below your threshold.
- Separate tenant identity from shared platform credentials Use per-user or per-tenant credentials whenever multiple customers share the same agent, and keep tenant routing deterministic rather than model-chosen.
- Build token storage and revocation as a first-class control Encrypt refresh tokens at rest, track ownership by user and workflow, and revoke them on disconnect or role change without waiting for the upstream service to fail.
Key takeaways
- OpenRush’s MCP channel shows how an agent can authenticate cleanly while still receiving account-wide authority that is too broad for least-privilege governance.
- The operational risk is not only access scope but also unmanaged spend, because credits are consumed at call start and are invisible to the MCP path.
- Practitioners need explicit tool allowlists, external budget checks, and credential lifecycle controls above the provider if they want production-grade separation.
Related NHI Mgmt Group resources: OWASP Agentic Applications Top 10 · AI Agent Observability, Audit and Incident Response Guide · Agentic AI Identity Guide · Shadow AI and AI Agent Discovery Guide
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 CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | OpenRush MCP tokens can reach every tool, making privilege scope the central issue for agents. |
| Recommendation — Constrain agent privileges to the minimum tool set and deny broad token reach by default. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The MCP token model gives account-wide reach without per-tool scopes, which is overprivilege. |
| NHI-04 — Insecure Authentication | The article contrasts OAuth and API keys for agent access and the lifecycle risks they create. | |
| Recommendation — Apply least-privilege design to every non-human credential and remove account-wide reach where possible. Use authentication patterns that support scoped, revocable, and auditable machine access. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The problem is how permissions are granted and constrained for agent access to tools. |
| Recommendation — Review entitlements so agent roles can call only the tools and accounts they truly need. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Refresh tokens and API keys in the article need lifecycle control, rotation, and revocation. |
| Recommendation — Manage authenticator issuance, rotation, expiration, and revocation as operational controls. | ||
Key terms
- Least Privilege: Least privilege is the principle that each user, process and system, human or non-human, has only the access it needs for its function and no more, for only as long as needed. It is assessed by comparing granted permissions with those actually used, and it limits the blast radius of a compromised identity. NIST SP 800-53 control AC-6 sets the requirement.
- OpenID Connect: OpenID Connect is an identity layer built on OAuth 2.0 that lets applications authenticate users with compact tokens and standardised key discovery. It is widely used for modern web, mobile, and API-driven systems because it reduces integration overhead compared with older federation patterns.
- OAuth 2.0: OAuth 2.0 is the industry-standard authorisation framework that lets applications obtain limited, scoped access to user accounts or services via access tokens, without exposing credentials. It is an authorisation framework, not an authentication protocol; OpenID Connect adds authentication on top. It is widely used for modern NHI integrations.
- Refresh Token: A longer-lived credential that can mint new access tokens without forcing the user to authenticate again. Because refresh tokens can preserve access for extended periods, they are a major governance concern when malicious or over-scoped applications are granted consent.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an identity security programme, it is worth exploring.
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org