TL;DR: API attacks are increasingly exploiting shadow APIs, business logic flaws, and stolen credentials, while most organisations still lack centralized discovery and governance, according to Salt and the 2023 State of the CISO report. The control gap is not just detection; it is continuous visibility into every API that can expose data or impersonate legitimate users.
At a glance
What this is: This is Salt's analysis of why API attacks differ from traditional attacks, with the key finding that exposed, shadow, and business-logic-driven APIs create a broader attack surface than pattern-based tools can reliably cover.
Why it matters: It matters to IAM, NHI, and security teams because APIs often carry privileged access, tokens, and delegated trust, so weak API governance becomes an identity and data exposure problem as much as an application security issue.
By the numbers:
- 95% of CISOs worldwide say their organization has made API security a planned priority over the next two years.
👉 Read Salt's eBook on why API attacks differ and how to stop them
Context
APIs have become a governance problem, not just a development concern. As usage expands across applications, cloud services, and third-party integrations, each interface can carry sensitive data, delegated access, and business logic that attackers can study and abuse. The primary API security challenge is not volume alone, but the combination of sprawl, weak inventory discipline, and over-trusted access paths that bypass conventional control assumptions.
For IAM and NHI practitioners, APIs are part of the identity plane because they rely on keys, tokens, service accounts, and authorization logic to function. When those access mechanisms are poorly inventoried or loosely governed, API security failures can become credential abuse, privilege misuse, and downstream data exposure. That makes API security relevant to both application teams and identity programmes, especially where OAuth, service-to-service access, and third-party connectivity are involved.
Key questions
Q: How should security teams handle API keys and tokens as part of identity governance?
A: Security teams should treat API keys and tokens as governed identities, not just technical secrets. That means assigning ownership, defining scope, logging use, and removing credentials when the business process ends. The same lifecycle logic used for service accounts applies here, because stale API credentials are a common path to misuse and data exposure.
Q: Why do APIs create more risk when they are not centrally inventoried?
A: APIs create more risk because unknown or stale endpoints can remain accessible without current policy, logging, or ownership. If security teams cannot see the full API estate, they cannot accurately assign controls, test access rules, or remove obsolete interfaces. The result is a governance blind spot that attackers can use for reconnaissance and unauthorized access.
Q: What do security teams get wrong about API-based integration?
A: They often treat APIs as a technical convenience instead of an access boundary. In practice, an API is a policy enforcement point that must limit who can call it, what data it can return, and how long its credentials remain valid. Without that discipline, old systems become easy to reach in new ways.
Q: How do organisations reduce the impact of stolen API credentials?
A: Organisations reduce impact by shortening credential lifetime, removing credential reuse, and limiting each API identity to the smallest possible scope. They should also monitor for unusual usage patterns that suggest impersonation or automation abuse. If a credential is stolen, the organisation should be able to revoke it quickly without breaking unrelated services.
Technical breakdown
Why API attacks target business logic instead of signatures
API attacks often succeed because the attacker is not trying to trigger a known malware pattern. Instead, they interrogate the application logic behind an endpoint, looking for parameter abuse, privilege confusion, object enumeration, or workflow shortcuts. Traditional pattern-based tools are weak against this because the request may look legitimate while still violating the intended business rule. That is why API security must account for the difference between syntactic validity and authorised intent. In practice, the attack surface is defined by what the API allows, not just by whether traffic appears normal.
Practical implication: teams need authorization testing and business-logic validation, not only signature-based detection.
How shadow and zombie APIs expand the exposure window
Shadow APIs are undocumented or unknown interfaces, while zombie APIs are obsolete endpoints that remain reachable after they should have been retired. Both create blind spots because they may not be covered by current inventory, policy enforcement, or logging. Attackers look for these gaps because forgotten interfaces often preserve older authentication rules, weaker input handling, or excessive data access. In governance terms, the failure is not merely absence of a control, but absence of a trustworthy source of truth about what is exposed.
Practical implication: continuous API discovery and decommissioning discipline are required to reduce blind spots.
Why stolen API credentials are an identity problem
When attackers obtain API keys, tokens, or privileged credentials, they are not just bypassing an application control. They are assuming an identity with whatever permissions the API client or service account already holds. That makes stolen credentials a non-human identity issue, especially where keys are long-lived, embedded in code, or shared across services. The article's emphasis on social engineering and privileged API keys reflects a wider pattern: once an API identity is compromised, downstream systems often trust it too much and for too long.
Practical implication: treat API keys and tokens as governed identities with lifecycle controls, not as static technical artifacts.
Threat narrative
Attacker objective: The attacker wants to gain unauthorized access to data or functionality by abusing trusted API paths rather than breaking perimeter defenses.
- Entry begins when attackers identify exposed, undocumented, or poorly governed APIs through reconnaissance and traffic probing.
- Escalation occurs when they exploit business logic flaws, misuse intended workflows, or steal privileged API credentials through social engineering.
- Impact follows as attackers impersonate legitimate API users, exfiltrate data, or manipulate backend functionality at scale.
NHI Mgmt Group analysis
API governance is now an identity security issue, not only an application security issue. Salt's framing is correct in one important respect: once APIs rely on keys, tokens, and delegated service access, the control problem moves into IAM and NHI governance. API security programmes that ignore identity lifecycle, privilege scope, and third-party access will continue to miss the highest-risk failure modes. Practitioners should treat API access paths as governed identities with clear ownership and review.
Shadow API exposure creates a visibility trust gap. The real issue is not simply that undocumented endpoints exist, but that the organisation cannot prove what is active, who can reach it, and what data it exposes. That is a governance failure with direct security consequences because unknown interfaces evade policy, logging, and risk acceptance processes. Teams should make continuous discovery and inventory accuracy a control objective, not an occasional audit task.
Stolen API credentials show how over-trusted machine identities become attacker infrastructure. API keys and tokens often outlive the business context that created them, which turns a single compromise into persistent access. This is the same structural problem seen across NHI programmes: standing privilege, weak rotation discipline, and limited behavioural monitoring. The named concept here is API identity sprawl, where unmanaged service identities multiply faster than governance can track them. Practitioners should constrain lifetime, scope, and reuse of every API credential.
Business logic abuse is a control design failure, not just an attacker technique. The article correctly notes that traditional testing is inadequate when the attacker is using the API as intended but against the organisation's actual business rules. That means security teams need controls that validate authorisation, intent, and workflow boundaries, not only request format. Practitioners should align API protection with Zero Trust principles and least privilege, then verify those assumptions through testing and telemetry.
The market is moving toward continuous, data-driven API defence because point-in-time review does not match API risk. Static inventories and periodic testing cannot keep pace with API proliferation, especially when third-party integrations and shadow services change the exposure profile continuously. That shift should push security leaders to re-evaluate where API governance sits in the operating model. The question is no longer whether APIs need protection, but whether governance can keep up with how they are deployed and used.
What this signals
APIs are converging with identity governance because every high-risk interface now carries delegated trust in the form of tokens, keys, and service permissions. That means security leaders need to measure API exposure as part of the identity attack surface, not as an isolated application concern. API identity sprawl: when the number of active machine credentials, integrations, and endpoints grows faster than ownership and review can keep up, the organisation loses practical control over what can authenticate and what can be abused.
The operational signal to watch is not only whether attacks are detected, but whether inventories, ownership records, and access scope remain trustworthy as APIs change. Continuous discovery, telemetry, and decommissioning discipline should be aligned with controls such as the MITRE ATT&CK Enterprise Matrix and the identity lifecycle patterns in the Ultimate Guide to NHIs , Key Challenges and Risks. If the organisation cannot prove which APIs exist and who can use them, the governance model is already behind the threat model.
For practitioners
- Implement continuous API discovery Build an always-on inventory of internal, external, shadow, and retired APIs, then tie ownership to each endpoint so no interface exists without a responsible team. Use the inventory to identify unknown exposure, stale versions, and duplicate routes before they become attack paths.
- Treat API keys as governed identities Assign owners, expiry, rotation, and revocation rules to every API key, token, and service credential. Reduce shared credentials, remove embedded secrets from code paths, and review access scope whenever a service or integration changes.
- Test the business logic, not just the endpoint Add authorisation and workflow-abuse tests to API security reviews so teams can detect object-level access flaws, function abuse, and privilege confusion. Validate that the API only allows the intended transaction paths, not merely that the request passes schema checks.
- Instrument API telemetry for anomaly detection Monitor unusual request volume, endpoint chaining, repetitive enumeration, and access from unfamiliar clients or geographies. Feed that telemetry into detection logic that can identify reconnaissance before it turns into large-scale data extraction.
- Map third-party API connections to risk Review every OAuth app, external integration, and partner API for scope, ownership, and data access. Remove integrations that cannot be justified, and require re-approval when the business purpose changes.
Key takeaways
- API attacks succeed when attackers can abuse trusted business logic, not only when they can exploit technical flaws.
- The highest-risk gaps are visibility, ownership, and credential governance across shadow APIs and machine identities.
- Security teams need continuous discovery, credential lifecycle control, and authorisation testing to make API governance operational.
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 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | API key sprawl and poor rotation map directly to non-human credential governance. |
| NIST CSF 2.0 | PR.AC-4 | API authorisation and access scope align with least-privilege identity controls. |
| NIST SP 800-53 Rev 5 | IA-5 | IA-5 covers authenticator management for API secrets and tokens. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0001 , Initial Access; TA0009 , Collection | The article centres on credential theft, reconnaissance, and data collection through APIs. |
| CIS Controls v8 | CIS-5 , Account Management | API credentials behave like accounts and need lifecycle management. |
Map API abuse scenarios to ATT&CK techniques and instrument detection around credential access and collection.
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.
- Zombie API: A zombie API is a deprecated or abandoned interface that remains accessible after the organisation believes it should be retired. It is risky because old permissions, secrets, or backend trust can survive the business purpose, turning legacy access into an active exposure.
- API Credential: An API credential is a secret or token that proves a workload, application, or integration is allowed to call an interface. In practice it behaves like a machine identity, so issuance, scope, rotation, and revocation all need lifecycle governance rather than ad hoc handling.
- Business Logic Abuse: Business logic abuse occurs when an attacker uses a valid API in a way the application designer did not intend, such as exceeding limits, chaining actions, or misusing workflow assumptions. The API is functioning technically, but governance and policy are failing at the intent layer.
What's in the full article
Salt's full eBook covers the operational detail this post intentionally leaves for the source:
- Practical attack-pattern breakdowns for API misuse, business logic abuse, and credential theft scenarios.
- Discussion of how continuous API discovery can be operationalised across large, changing environments.
- Examples of defensive approaches for identifying anomalies during reconnaissance and access abuse.
- Coverage of the OWASP API Security Top 10 issues referenced in the source material.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, workload identity, and secrets management. It gives practitioners a stronger base for managing API credentials and other machine identities across identity programmes.
Published by the NHIMG editorial team on August 1, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org