TL;DR: API usage rose for 92% of organisations over the past year, while many now run hundreds or thousands of undocumented shadow APIs, according to KuppingerCole’s 2025 Leadership Compass cited in Salt Security’s analysis. Point tools miss the lifecycle risk, because insecure design, weak discovery, and runtime abuse must be governed as one control plane.
At a glance
What this is: This analysis says API security cannot be managed as a single point control because modern environments spread risk across design, discovery, deployment, and runtime monitoring.
Why it matters: It matters to IAM and security teams because undocumented APIs, weak authentication, and runtime abuse create governance gaps that no single tool can close.
By the numbers:
- 92% of organizations increased API usage over the past year, with many operating hundreds to thousands of undocumented or unmonitored shadow APIs.
Context
API security is the discipline of protecting interfaces that expose data and business functions to applications, partners, and increasingly AI systems. When API estates grow faster than discovery and governance, organisations lose visibility into what is live, who can call it, and whether authentication, authorization, and data exposure controls still match the intended design. This becomes an identity problem as much as a cyber problem, because APIs often depend on machine identities, tokens, and service-to-service trust.
The governance gap is lifecycle fragmentation. Security teams often split design-time review, inventory, testing, and runtime defence into separate workflows, which leaves blind spots between release and operation. In this article's framing, the useful question is not whether a point tool can detect one issue, but whether the control model can keep pace from API creation through decommissioning.
Key questions
Q: What breaks when API security is treated as a perimeter problem instead of an identity problem?
A: Controls miss the real attack path, which now often begins with valid credentials and moves through excessive authorization. Once a user, service account, or AI agent is authenticated, the risk shifts to what that identity can do next. If teams do not govern post-login actions, attackers can exploit normal traffic patterns to reach data and functions at scale.
Q: Why do shadow APIs create such a large security gap?
A: Shadow APIs bypass ownership, policy enforcement, and change control, so defenders cannot reliably classify the data they expose or the identities that can reach them. That makes them ideal for reconnaissance and data extraction. If an API is not in the live inventory, it is effectively outside governance.
Q: How can security teams tell whether API risk controls are actually working?
A: Look for reduced abuse volume, fewer successful automated attacks, and clearer visibility into which non-human clients are making requests and why. If the control is effective, suspicious traffic should be slowed, challenged, or blocked before it reaches core systems, while legitimate integrations continue to function normally.
Q: Should API governance treat service tokens like ordinary application secrets?
A: No. Service tokens carry machine identity and authorization scope, so they need ownership, rotation, offboarding, and scope review aligned to the API lifecycle. If teams manage them like static application secrets, credentials can outlive the service and preserve access long after intended use.
Technical breakdown
Why shadow APIs defeat point-in-time security
Shadow APIs are interfaces that exist in production without being fully inventoried, monitored, or governed. They often emerge through fast delivery pipelines, mobile back ends, partner integrations, or AI-enabled services that expose new calls without a corresponding security review. A point tool can scan what it sees, but it cannot govern what it never discovers. That is why lifecycle security starts with discovery and classification, then ties each API to owners, authentication expectations, and policy boundaries before exposure grows beyond the team’s visibility.
Practical implication: build continuous discovery and ownership mapping so unknown APIs cannot sit outside governance until an incident forces attention.
How shift left and shift right have to work together
Shift left refers to testing and policy enforcement during design and development, while shift right refers to runtime protection, analytics, and response after deployment. These are not competing models. Design-time controls catch missing authentication, overexposed data, and non-compliant configurations before release, while runtime controls detect abuse patterns such as low-and-slow exfiltration, SSRF, and business logic attacks after an API is live. If either side is missing, the organisation only protects part of the attack surface and leaves the rest to chance.
Practical implication: connect pre-deployment policy checks to runtime telemetry so the same control logic follows the API through its full lifecycle.
Why API identity and authorization are the real governance hinge
APIs rarely fail because they exist. They fail when authentication, authorization, and token scope are too broad, too static, or too loosely monitored for the business function they expose. In identity terms, the API itself is often a non-human identity, and the credentials it uses determine the reachable blast radius. That means API security overlaps with IAM and NHI governance wherever service accounts, tokens, and machine-to-machine trust are in play. Without explicit identity lifecycle control, API policy becomes a set of disconnected checks instead of enforceable governance.
Practical implication: treat API credentials and service identities as governed assets with scope, ownership, and lifecycle controls, not just technical implementation details.
Threat narrative
Attacker objective: The attacker aims to abuse exposed API functions and machine trust relationships to extract data or manipulate business processes without triggering timely detection.
- Entry occurs through undocumented or poorly governed APIs that were added faster than inventory and review processes could track them.
- Credential or authorization abuse follows when weak authentication, excessive scope, or missing classification leaves business functions reachable beyond intent.
- Impact emerges as low-and-slow exfiltration, SSRF, or business logic abuse proceeds unnoticed because runtime visibility and enforcement are fragmented.
Breaches seen in the wild
- T-Mobile API breach 2023: An attacker pulled data on 37 million T-Mobile accounts through one API, without authorisation, for six weeks before detection.
- Sourcegraph breach 2023: A site-admin token left in a Sourcegraph commit for 47 days let an attacker become admin and offer free access to its APIs and LLM via a proxy.
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
API security debt is now lifecycle debt: the real governance failure is not a missing tool, but a control model that treats design, discovery, and runtime as separate obligations. Once API usage scales faster than inventory, every disconnected phase becomes a place where risk accumulates outside policy. Practitioners should judge API programmes by how well controls persist from build to runtime, not by how many point tools are deployed.
Shadow API discovery is an identity governance problem as much as a security problem: undocumented APIs often rely on tokens, service accounts, and other machine identities that sit outside standard ownership and review. That creates a non-human identity governance gap because the interface and the credential are both live, but neither is properly lifecycle-managed. Teams need to treat API ownership, credential scope, and offboarding as one governance motion.
Runtime analytics only matter when they are tied to enforcement: a baseline and an alert stream do not equal control if the organisation cannot translate detection into containment. The useful shift-right model correlates behaviour, classifies abuse patterns, and hands off to WAFs, gateways, or other enforcement points quickly enough to matter. The practitioner conclusion is simple: telemetry without actionability is monitoring, not security.
API security is converging with AI and service identity governance: as digital services and AI systems consume more APIs, the boundary between application security and machine identity control keeps shrinking. That makes frameworks like OWASP API Security Top 10 and NIST CSF relevant not as theory, but as the shared language for governance, detection, and resilience. The field is moving toward continuous API control planes, and practitioners should align their programmes accordingly.
From our research library:
- Secrets management is a top five cybersecurity priority for only 33% of organisations, behind cloud security (45%), API security (42%), and endpoint security (36%), according to the 2024 State of Secrets Management Survey.
- 71% of organizations use third-party APIs, according to Gartner’s 2024 data.
- Read next: NHI Lifecycle Management Guide
What this signals
API lifecycle governance is becoming a control-plane issue: the practical shift is from asking which tool detects API risk to asking which control owns the API from creation to retirement. When discovery, policy, and runtime response sit in different teams, the organisation creates a governance seam that attackers can exploit.
Machine identity is the hidden dependency in API security: service tokens and integration credentials often determine whether API exposure becomes a minor misconfiguration or a broad breach path. That is why API security programmes increasingly overlap with NHI governance and lifecycle control, especially where service-to-service trust is the real access model.
Discovery discipline now matters more than point coverage: if the team cannot inventory every live API and attach an owner to it, no downstream analytics layer can fully compensate. The most mature programmes will measure success by how quickly they can detect, classify, and govern a new API as it appears.
For practitioners
- Implement continuous API discovery Map every external and internal API to an owner, data classification, and authentication method, then refresh that inventory continuously as services change.
- Unify design-time policy with runtime enforcement Use the same governance rules for development checks and live traffic so missing authentication, exposed data, and business logic risks are handled consistently.
- Treat API tokens as governed machine identities Assign scope, ownership, rotation, and offboarding rules to service tokens and other API credentials so they cannot outlive the application or integration they support.
- Baseline normal API behaviour before tuning alerts Build traffic baselines for each API so low-and-slow exfiltration and abnormal function use can be distinguished from legitimate spikes.
- Wire detections to containment paths Ensure suspicious API events can trigger gateway, WAF, or SIEM actions automatically so runtime findings change exposure rather than only creating tickets.
Key takeaways
- API security breaks down when organisations rely on isolated tools instead of a lifecycle control model that covers design, discovery, deployment, and runtime.
- Shadow APIs and weak machine identity governance widen the gap between what teams think is exposed and what is actually reachable.
- The practical response is to unify inventory, policy enforcement, and runtime containment so API risk is governed continuously, not episodically.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP API Security Top 10 | API9 — Improper Inventory Management | Undocumented shadow APIs and weak discovery are central to the article's lifecycle-risk argument. |
| API2 — Broken Authentication | The article repeatedly ties lifecycle risk to missing or weak API authentication. | |
| API6 — Unrestricted Access to Sensitive Business Flows | The article's runtime abuse examples include business logic abuse and data exposure. | |
| Recommendation — Inventory every API continuously and tie each one to an owner, classification, and control baseline. Verify API authentication requirements at design time and enforce them again at runtime. Restrict business flows so only intended identities and sessions can invoke sensitive API operations. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | API tokens and service identities need governed permissions across the lifecycle. |
| Recommendation — Apply PR.AA-05 to review API entitlements and retire access when business use changes. | ||
| MITRE ATT&CK | TA0006;TA0010 — Credential Access; Exfiltration | The article's threat model includes token abuse and low-and-slow exfiltration. |
| Recommendation — Map API credential abuse and exfiltration patterns to TA0006 and TA0010 in detections. | ||
Key terms
- Shadow API: An API endpoint that exists in production but is not fully known, reviewed, or governed by the security programme. Shadow APIs often emerge through fast delivery, copy-paste development, or overlooked internal routes, and they create untracked exposure because they sit outside inventory, policy, and ownership processes.
- Shift Left: Shift left is the practice of applying security checks during design and development rather than waiting for production. In API security, it means catching missing authentication, excessive exposure, and policy violations before deployment makes them harder to contain.
- Shift Left: Shift left is the practice of moving security checks earlier in the software development lifecycle, usually into planning, code review, or build steps. It reduces some defects before deployment, but by itself it does not control runtime behaviour, identity sprawl, or secrets misuse after release.
- Machine Identity: The digital identity of a machine, device, or workload, such as a server, container, or VM, used to authenticate it within a network. Sometimes used interchangeably with NHI, though NHI is the broader category.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It is built for practitioners who need to connect identity controls to broader security programmes.
Published by the NHIMG editorial team on August 2, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org