TL;DR: API security is no longer just about protecting endpoints, because coarse-grain trust in JWTs and method-level permissions leaves the real assets behind the API exposed, according to PlainID. The governance shift is toward fine-grain authorization on objects and data flows, not just calls and tokens.
At a glance
What this is: This is an API security analysis arguing that coarse-grain authorization and JWT trust are no longer sufficient, and that access decisions must move down to the object and data layer.
Why it matters: It matters because IAM, PAM, and NHI programmes increasingly govern service-to-service access through APIs, where broad permissions can quietly overexpose sensitive data and business functions.
👉 Read PlainID's analysis of fine-grain authorization for API security
Context
API security is really an authorization problem, not just an endpoint problem. When organisations allow broad rights at the HTTP method or token level, they often lose sight of which digital assets, records, or actions the caller is actually allowed to touch.
For IAM and NHI teams, this is the same governance failure seen in other machine-access environments: access is granted too broadly, reviewed too late, and mapped too loosely to the underlying object. Fine-grain authorization is the control model that closes that gap by checking rights against the specific asset or action, not just the API itself.
Key questions
Q: How should security teams implement fine-grain authorization for APIs?
A: Start by identifying the specific objects, records, and actions each API can touch, then write policy around those business units rather than the endpoint alone. The strongest designs evaluate caller identity, requested action, context, and target data together. That approach reduces overexposure when one token or service account is reused across multiple use cases.
Q: Why do coarse-grain API permissions create identity risk?
A: Coarse-grain permissions turn a trusted API caller into a broad operator of data and functions, even when the business task is narrow. That increases blast radius because a single compromised token or over-privileged integration can reach more objects than intended. The risk is structural, not just operational.
Q: What do teams get wrong about JWT-based API trust?
A: Teams often treat a valid JWT as proof of the right to perform any exposed action, when it only proves that a token was issued and accepted. The missing step is object-level authorization, which checks whether the caller should access this specific record, action, or dataset. Without that step, token validation becomes a false assurance.
Q: How do IAM teams reduce blast radius in API-driven environments?
A: Use least privilege at the object and action layer, not only at account creation. Review service accounts and integration tokens for scope creep, separate high-risk data paths from low-risk ones, and require explicit justification for broad read or write rights. That keeps machine identities from becoming universal keys.
Technical breakdown
Why coarse-grain API authorization fails
Coarse-grain authorization treats access as if the main question is whether a caller can reach an endpoint, then assumes the token or session proves enough. That model breaks when a single API route can expose multiple objects, customer records, or write operations with very different risk profiles. JWT trust alone is especially weak when claims are broad, stale, or reused across services. The control failure is not the API protocol itself. It is the mismatch between what the token says and what the object-level action actually requires.
Practical implication: map every high-risk API to the objects and actions it can touch, then test whether current permissions are broader than the business task.
What fine-grain authorization changes for identity governance
Fine-grain authorization evaluates rights at the object, record, attribute, or action level, so the decision reflects the actual business asset being requested. That matters for service accounts, partner integrations, and internal apps because machine identities often accumulate broad rights that were convenient at provisioning time and never narrowed later. In IAM terms, this is least privilege applied to runtime access decisions, not just to account creation. In NHI terms, it reduces the blast radius when a token, key, or integration is overtrusted.
Practical implication: move your review focus from API presence to object-level entitlements, and require justification for every broad write or read scope.
How API security and NHI governance converge
Modern API security is increasingly NHI governance in disguise because many API callers are service accounts, workload identities, or third-party tokens rather than people. That makes lifecycle controls, rotation, expiry, and entitlement review part of the same control stack as authorization policy. If those identities can call APIs but the policy does not distinguish between safe and sensitive objects, the organisation has delegated too much authority to the machine layer. The right boundary is not the endpoint. It is the combination of identity, context, and object sensitivity.
Practical implication: align API policy, NHI lifecycle controls, and data classification so that token scope, object sensitivity, and business purpose are governed together.
Threat narrative
Attacker objective: The objective is to gain unauthorized access to the data and business actions hidden behind an otherwise trusted API path.
- entry: An attacker or over-privileged caller reaches an API using a trusted token, broad JWT claims, or an integration identity that was never narrowed to the task.
- escalation: The caller abuses coarse-grain permissions to read, modify, or delete more objects than intended because the policy checks the API route instead of the underlying asset.
- impact: Sensitive records, partner data, or internal business functions are exposed or altered at scale because the authorization model failed to contain the blast radius.
Breaches seen in the wild
- Salesloft OAuth token breach — hackers stole OAuth tokens to access Salesforce data via Salesloft.
- Internet Archive breach — unsecured GitLab authentication tokens exposed 31M Internet Archive accounts.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Fine-grain authorization is the control boundary that API security has been missing. Once APIs became the main business interface, coarse-grain trust stopped being a safe proxy for actual business rights. The article correctly shifts attention from the endpoint to the object, because the true security question is who can create, change, view, or remove the underlying asset. Practitioners should treat object-level policy as core IAM design, not as an optional API add-on.
JWT trust is a governance shortcut, not a security model. Token possession and broad claims do not prove that a caller should be able to perform a specific action on a specific record or data object. That shortcut works only until the same token spans read, write, and delete paths with very different consequences. The implication is simple: entitlement precision matters more than token presence.
Identity blast radius: API security fails when a single machine identity can reach too many assets through one trusted interface. That is the real risk hidden inside coarse-grain authorization. The smaller the decision unit, the smaller the blast radius when a key, token, or integration is misused. Practitioners should measure whether API policy is limiting the scope of each machine identity to the minimum business action.
API authorization now sits at the intersection of IAM, NHI, and data governance. The article is pointing at a programme design problem, not just a technical control gap. Service accounts, partner tokens, and internal workloads all need policy decisions that reflect the sensitivity of the data fabric they touch. Security teams should stop separating API management from identity governance when those controls govern the same access path.
Board-level API security discussions should focus on what can be done, not just who connected. Exposure happens when organisations know the caller but not the object rights attached to that caller. That makes fine-grain authorization a risk management issue, a compliance issue, and an operational control issue at the same time. Practitioners should align API governance with access review and data classification cycles.
From our research:
- 72% of organisations have experienced or suspect they have experienced a breach of non-human identities, according to The 2024 ESG Report: Managing Non-Human Identities.
- Two-thirds of enterprises have endured a successful cyberattack resulting from compromised non-human identities, with a quarter encountering multiple attacks.
- Fine-grain authorization becomes more urgent when identity compromise can repeatedly translate into business-impacting abuse, as shown in 52 NHI Breaches Analysis.
What this signals
Identity blast radius: API governance is becoming a control problem about how far a machine identity can travel once it is trusted. When coarse permissions span multiple objects and actions, the organisation has built a wide failure domain around a single token or integration. That is why IAM, NHI, and data classification now need a shared policy model, not separate review cycles.
With 72% of organisations already reporting or suspecting NHI breaches in our research, API authorization can no longer be treated as a narrow application concern. The reader should expect more scrutiny on object-level rights, service account scope, and the separation of low-risk versus high-risk data paths.
The practical signal is that teams will increasingly be asked to prove not just who connected, but what that identity could actually do. That shifts programme maturity from endpoint control to asset control, which is the direction identity governance is already moving.
For practitioners
- Map API permissions to business objects Inventory the records, assets, and actions behind each API route, then compare current permissions with the minimum task required. Focus on endpoints that can read, create, update, or delete sensitive objects with one token.
- Replace broad JWT trust with policy decisions at the object layer Require authorization checks that evaluate caller identity, action, and target object together. Do not treat successful token validation as proof that the caller should receive every function exposed by the endpoint.
- Review machine identities that call customer or partner APIs Identify service accounts, workload identities, and third-party integrations that hold more scope than their current use case. Narrow their rights before the next access review cycle and document the business justification for any remaining broad access.
- Align API policy with data classification Apply stricter rules to high-value data objects than to low-risk metadata. If the same API can touch both, segment policy by object sensitivity instead of relying on a single endpoint permission.
Key takeaways
- Coarse-grain API authorization is too blunt for modern identity and data risk because it protects the route, not the asset.
- Machine identities that call APIs often hold broader rights than the business task requires, which expands blast radius when tokens are misused.
- Practitioners should shift policy, review, and governance to the object layer so API security and identity security operate as one control plane.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | API tokens and service identities need tighter scope and lifecycle control. |
| NIST CSF 2.0 | PR.AC-4 | API authorization maps directly to least-privilege access management. |
| NIST Zero Trust (SP 800-207) | AC-6 | Zero trust requires continuous, context-aware authorization for API access. |
Validate each API action against identity, context, and data sensitivity before granting access.
Key terms
- Fine-grain Authorization: Fine-grain authorization is the practice of deciding access at the level of the specific object, action, or attribute rather than at the endpoint or application level. It reduces overexposure by matching permissions to the actual business task and the sensitivity of the asset being requested.
- Identity Blast Radius: Identity blast radius is the amount of damage a compromised or over-privileged identity can cause before it is contained. In API environments, it grows when one token or service account can reach many objects, making policy precision a key control for limiting harm.
- Coarse-grain Authorization: Coarse-grain authorization is a broad access model that grants permissions at a high level, often by endpoint, role, or token scope. It is easier to administer, but it can hide object-level risk and allow callers to do more than the business context actually requires.
- Machine Identity: A machine identity is a non-human identity used by software, services, workloads, or integrations to authenticate and access resources. In API-heavy environments, it often carries the permissions that determine whether system-to-system communication stays narrow or becomes a large-scale exposure path.
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 responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
This post draws on content published by PlainID: fine-grain authorization for API security. Read the original.
Published by the NHIMG editorial team on 2026-02-19.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org