TL;DR: APIs account for more than 71% of web traffic, 84% of organisations have experienced an API security incident, and AI agents are now consuming APIs at machine scale, according to LEVO. The result is a broader attack surface where authorization failures, unsafe consumption, and inventory gaps turn API security into a governance problem, not just an engineering one.
At a glance
What this is: This is LEVO’s analysis of the OWASP API Security Top 10 and why API risk has become a business and governance issue as AI-driven consumption grows.
Why it matters: It matters because IAM, PAM, and application security teams now have to govern machine-scale access patterns, not just human sessions, across increasingly exposed API estates.
By the numbers:
- API calls accounted for more than 71% of all web traffic in 2024.
- 84% of organisations experienced an API security incident.
👉 Read LEVO’s analysis of the OWASP API Security Top 10 and AI-era API risk
Context
APIs are now the operational layer for digital business, which means authorization mistakes, authentication gaps, and rate-limit failures can translate directly into data exposure, fraud, or service disruption. As AI systems increasingly consume APIs alongside humans and partner integrations, the governance problem shifts from individual endpoints to controlling how identities, tokens, and requests behave at scale.
The OWASP API Security Top 10 remains relevant because it focuses on the failure modes that perimeter tools miss: valid requests abusing logic, property-level exposure, shadow APIs, and untrusted third-party consumption. For identity teams, the intersection is clear: API security is increasingly about managing credentials, access boundaries, and machine-to-machine trust rather than only hardening code.
Key questions
Q: What breaks when API authorization only checks the logged-in user, not the object being accessed?
A: Broken object-level authorization creates a gap where an authenticated caller can still reach records, properties, or functions it should never see. That failure is especially dangerous in APIs because attackers can automate identifier changes, enumerate resources, and extract data without obvious login anomalies. The right control is object-level enforcement on every request.
Q: Why do AI coding agents make application security harder to govern?
A: AI coding agents increase risk because they can generate large volumes of code quickly, often optimised for function over security. They also replicate insecure patterns, propagate shared thread context, and create a false sense of trust in generated output. Governance must shift toward explicit requirements, runtime validation, and repeatable review gates.
Q: How can security teams tell if they have a hidden API inventory problem?
A: The strongest signal is when teams cannot confidently name every internal, partner, and deprecated endpoint that still receives traffic. Other indicators include inconsistent ownership, repeated discoveries of shadow APIs, and services that keep functioning after their supposed retirement date. Continuous discovery is the only reliable fix.
Q: Should organisations prioritise API discovery or runtime controls first?
A: They should do both, but discovery comes first when the inventory is incomplete because you cannot govern what you cannot see. Runtime controls matter immediately for exposed interfaces, yet they will miss shadow and zombie APIs that remain outside policy. The best sequence is discover, classify, then enforce.
Technical breakdown
Why broken object-level authorization dominates API risk
Broken object-level authorization, or BOLA, occurs when an API checks that a caller is authenticated but fails to verify whether that caller is allowed to access a specific object. Attackers exploit predictable identifiers, sequential IDs, or weak context checks to retrieve another user’s records. This is why BOLA often appears in otherwise “authenticated” environments. The core flaw is not login failure, but missing object-level enforcement at the request layer. In practice, BOLA often pairs with over-broad service permissions and weak inventory control, which makes exploitation both silent and scalable.
Practical implication: enforce object-level authorization on every request, not just session-level authentication.
How AI agents change authentication and rate-limiting assumptions
AI agents do not browse like humans. They can chain requests, parallelise actions, and maintain session continuity across multiple tools and APIs, which makes static token design and human-paced throttling unreliable. Broken authentication becomes more dangerous when long-lived tokens, weak rotation, or poorly scoped API keys can be reused across automated workflows. Unrestricted resource consumption also becomes easier to exploit because AI-driven traffic can look legitimate while still overwhelming backend services or business logic. The issue is not only volume, but the speed at which machine identities can consume trust.
Practical implication: design authentication, quotas, and token lifetimes for machine-scale behaviour, not human usage patterns.
Why shadow APIs and unsafe consumption expand the attack surface
Improper inventory management leaves teams blind to undocumented, deprecated, or partner-facing APIs that still expose data and functions. Unsafe consumption of APIs creates a second-order risk: internal systems trust responses from third-party services without validating integrity, schema, or failure states. Together, these issues create a fragmented trust model where security teams cannot reliably answer what exists, who uses it, or what data flows through it. This is especially relevant when APIs sit between identity systems, AI workflows, and external services, because hidden dependencies become hidden attack paths.
Practical implication: build continuous API discovery and response validation into governance, not just development workflows.
Threat narrative
Attacker objective: The attacker wants to use legitimate-looking API access to steal data, manipulate business logic, or extend access across dependent systems without triggering obvious perimeter alerts.
- Entry occurs through exposed or poorly inventoried APIs that accept valid requests but lack sufficient object, function, or property-level checks.
- Escalation follows when attackers reuse stolen tokens, exploit broken authentication, or abuse over-privileged service access to reach higher-value data and functions.
- Impact appears as data theft, business fraud, service disruption, or credential leakage that spreads across interconnected systems.
NHI Mgmt Group analysis
API security is now an identity governance problem, not only an application security problem. Once APIs become the primary interface for humans, partners, and AI systems, the question shifts from whether an endpoint is reachable to whether the calling identity is authorised for the object, function, and business flow being touched. That makes IAM, PAM, and workload identity controls central to API governance, especially where secrets and tokens are reused across services. The practical conclusion is that API control design now belongs in identity governance discussions, not only in engineering backlog triage.
Broken object-level authorization is the named concept that best explains most API exploitation. BOLA captures the governance gap where authentication succeeds but object entitlement fails. That distinction matters because many organisations over-invest in login controls while under-investing in object, property, and function checks. In NHI-heavy environments, the same pattern appears when service accounts inherit broad access to records they never need. Practitioners should treat BOLA as a control-design failure, not just a vulnerability class.
Machine-scale consumption forces a rethink of trust boundaries. Human-centric rate limits, token durations, and anomaly thresholds do not map cleanly to AI agents that can execute thousands of requests per second. This is where API governance intersects with agentic AI security: the identity of the caller is no longer enough if the request pattern itself can overwhelm systems or expose business logic. Organisations need to align access, quotas, and validation with workload behaviour, not legacy user assumptions.
Improper API inventory is a governance blind spot with direct identity consequences. Unknown, zombie, and shadow APIs often preserve hidden access paths after teams believe lifecycle offboarding is complete. That mirrors a familiar NHI failure pattern: if you cannot inventory it, you cannot govern its credentials, permissions, or data exposure. The practitioner takeaway is that discovery must be continuous and tied to ownership, not periodic and manual.
Unsafe third-party API consumption is a supply chain trust issue in disguise. When internal systems treat external responses as inherently reliable, they extend trust beyond the organisation’s control boundary. In identity terms, this is delegated trust without sufficient verification. The result is that malformed or manipulated responses can feed downstream authorisation, fraud, or data leakage. Teams should treat API trust as an explicitly governed dependency, not a convenience layer.
What this signals
Machine-scale API consumption will keep widening the gap between access governance and request governance. Teams that only manage who can authenticate will miss what that identity can do once it starts issuing thousands of calls per second. The next control maturity step is to connect entitlement scope, token lifetime, and runtime throttling to the workload itself, not just the account behind it.
API inventory discipline will increasingly determine whether identity controls are enforceable. If an organisation cannot discover every live endpoint, then policy, logging, and access review will remain partial by design. That is why continuous discovery should sit alongside MITRE ATT&CK Enterprise Matrix style threat mapping when teams assess exposure across service-to-service paths.
Delegated trust must be narrower in AI-native environments. As AI systems consume APIs, validate responses, and chain actions, organisations need stronger verification at each dependency boundary. The practical shift is from trusting the caller once to verifying identity, schema, and behaviour at every step.
For practitioners
- Implement object-level authorization checks Require every API request to evaluate the caller against the specific object, property, or function being accessed. Do not rely on session authentication alone, and test predictable identifiers, bulk reads, and update paths for bypasses.
- Scope API tokens for machine-scale use Use short-lived, narrowly scoped tokens and rotate secrets that back service-to-service access. Separate human-facing and workload-facing credentials so automated consumers cannot inherit broader privileges than needed.
- Build continuous API discovery Automatically catalogue internal, external, partner, deprecated, and shadow APIs across environments. Tie each endpoint to an owner, data classification, and lifecycle state so abandoned interfaces can be removed before they become hidden attack paths.
- Enforce runtime validation and throttling Apply schema validation, allowlists, per-method quotas, and back-pressure controls at runtime. This reduces exposure from unsafe consumption, abusive automation, and business logic abuse that traditional perimeter tools miss.
- Test business flows, not just endpoints Simulate account linking, checkout, password reset, and other sensitive workflows under realistic load and identity conditions. The goal is to catch broken function authorization and resource exhaustion before production traffic does.
Key takeaways
- API risk is now a business exposure problem because authentication gaps, object-level failures, and hidden endpoints can directly affect revenue and trust.
- AI agents increase API governance pressure by turning token scope, request volume, and runtime validation into continuous control requirements.
- The most effective response combines continuous API discovery, object-level authorisation, and runtime enforcement across human and machine consumers.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK, 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 |
|---|---|---|
| MITRE ATT&CK | TA0006 , Credential Access; TA0008 , Lateral Movement | API abuse often starts with stolen tokens and spreads through overbroad service access. |
| NIST CSF 2.0 | PR.AC-4 | Object-level authorization and scoped access align directly to access control governance. |
| NIST SP 800-53 Rev 5 | AC-6 | Least privilege is central to preventing privileged API calls and overexposed service access. |
| OWASP Agentic AI Top 10 | AI agents consuming APIs create machine-scale abuse and trust issues. | |
| OWASP Non-Human Identity Top 10 | NHI-01 | API credentials and service accounts are core non-human identities in this threat model. |
Map API abuse paths to credential access and lateral movement, then reduce token reuse and scope.
Key terms
- Broken Object-Level Authorization: A failure to check whether an authenticated identity may access a specific object, record, or device. The request succeeds because the credential is valid, but the application does not enforce per-object entitlement. In NHI environments, this turns a legitimate token into cross-resource exposure.
- Broken Authentication: Broken authentication is a failure in how a system proves that a caller is who or what it claims to be. For APIs, that often means weak token handling, replayable credentials, or poor validation of delegated access, which allows unauthorised callers to act as trusted integrations.
- Improper API Inventory Management: The failure to maintain a complete, accurate list of live, deprecated, shadow, and partner-facing APIs. Without inventory, teams cannot reliably apply policy, monitor usage, or retire endpoints, which leaves hidden interfaces exposed long after owners believe they are gone.
- Unsafe API Consumption: A trust failure where an application accepts third-party API responses without sufficient validation. Malformed, malicious, or unexpected data can then propagate into downstream logic, which turns a supply-chain or integration issue into an internal security and data integrity problem.
What's in the full article
LEVO's full article covers the operational detail this post intentionally leaves for the source:
- A category-by-category walkthrough of the OWASP API Security Top 10 with implementation examples for each weakness.
- Practical mitigation guidance for discovery, runtime monitoring, and business logic testing in live environments.
- Expanded discussion of how AI agents and machine-scale consumers change API abuse patterns.
- Examples of how API security failures translate into revenue loss, breach cost, and operational disruption.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management in practical enterprise terms. It helps security practitioners connect identity controls to the wider access patterns that modern programmes must govern.
Published by the NHIMG editorial team on September 3, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org