TL;DR: DAST still misses business logic flaws like BOLA while traditional penetration testing cannot keep pace with modern API deployment velocity, according to Equixly. The shift matters because agentic AI can continuously model application behaviour to close that gap, changing API assurance from a point-in-time activity into an ongoing control.
At a glance
What this is: This is a blog analysis arguing that DAST and quarterly pentesting both miss modern API logic flaws, while agentic AI can model application behaviour continuously and find issues such as BOLA across changing deployments.
Why it matters: It matters because API security now sits inside identity, authorisation, and workflow design, so teams need testing that evaluates how authenticated users can move through real application states, not just whether a scanner matches payloads.
By the numbers:
- Equixly found that traditional pentesting needs roughly 154 hours to test only 40% of an API with 40 endpoints.
Context
DAST and penetration testing solve different parts of the same problem, but both are limited by timing and by how much application meaning they can infer. In API-heavy systems, those limits matter because authorisation, object access, and business logic live in the sequence of requests, not just in isolated responses. This is where identity and access control become part of application security, because the behaviour of an authenticated user determines what the application should allow.
Agentic AI enters the discussion because it can model workflow, reason over request chains, and adapt its next action from the result of the previous one. That makes it materially different from signature-driven scanning, and more suitable for finding logic flaws that only appear when state, privilege, and request order interact. For security teams, the question is no longer whether to scan or pentest, but what assurance model can keep up with change.
Key questions
Q: What breaks when DAST is used as the only API security test?
A: DAST misses flaws that depend on application meaning, especially broken object level authorization and multi-step business logic abuse. It can verify response patterns, but it does not reliably determine whether a user is allowed to access a specific object or trigger a function in context. That leaves identity and authorization failures exposed even when scan results look clean.
Q: Why do authenticated API sessions still create security risk after passing scans?
A: Because a scan can confirm that a session works, but not that the session is restricted to the right object, action, or workflow. If the application fails to bind authorisation to the session context, an attacker can reuse a legitimate login to access data or functions outside their entitlement. The risk sits in the trust model, not the payload.
Q: Where does traditional pentesting fall short in fast-moving API programmes?
A: It falls short when release velocity outpaces the test cadence. A quarterly or even monthly engagement captures a past version of the API surface, while developers may have shipped new endpoints, new flows, and new privilege paths many times since then. That creates an assurance gap between the tested system and the current system.
Q: How should teams respond when API authorization logic is changing quickly?
A: Treat authorization as a regression-prone control and test it in the pipeline every time code, policy, or role mapping changes. That makes the access matrix a living assurance mechanism rather than a static design artifact. Teams should also review high-risk endpoints first, especially those that expose object identifiers or delegated access.
Technical breakdown
Why DAST misses broken object level authorisation
Dynamic application security testing sends requests to a running application and checks the responses against known vulnerability patterns. That works for signatures such as injection strings or weak headers, but not for flaws whose meaning depends on application state. Broken object level authorisation occurs when a user can change an object identifier and access another user’s data because the server fails to verify ownership. A scanner can see a valid response, but it cannot infer that the request was illegitimate unless it understands the application’s authorisation model. This is why DAST often underperforms on API security issues that look normal at the transport layer but are wrong at the business-logic layer.Practical implication: treat DAST as a baseline detector for known patterns, not as proof that authorisation logic is sound.
Practical implication: Treat DAST as a baseline detector for known patterns, not as proof that authorisation logic is sound.
Why penetration testing still finds logic flaws scanners miss
Penetration testing works because a human or human-guided tester can reason about intent, state transitions, and chained requests. The tester can explore whether one API call opens a later path, whether a role can reach an admin function, or whether a business rule breaks when inputs are manipulated in sequence. That reasoning is exactly what exposes BOLA, broken function level authorisation, and other workflow flaws. The trade-off is scale and freshness: manual testing is deep, but it is also periodic, scoped, and expensive. In fast-moving API programmes, the attack surface changes faster than a quarterly engagement can be repeated, so the result quickly becomes stale.Practical implication: reserve human pentesting for deep validation of high-risk paths, but do not rely on it as your only assurance layer.
Practical implication: Reserve human pentesting for deep validation of high-risk paths, but do not rely on it as your only assurance layer.
How agentic AI changes API assurance
Agentic AI is not just smarter scanning. It is a system that can observe an application, build a working model of its flows, choose the next test step based on what it learns, and chain actions toward a goal. In API testing, that means it can move from endpoint discovery to authenticated sequencing to exploit validation without waiting for a human to script each branch. The value is not merely speed. It is the ability to combine scale with contextual reasoning, which is the missing capability in conventional DAST. In identity terms, the agent is testing how an authenticated session can move through authorisation boundaries, so the control question becomes about access paths, not just payloads.Practical implication: use agentic testing to evaluate whether your APIs still enforce authorisation correctly after each deployment.
Practical implication: Use agentic testing to evaluate whether your APIs still enforce authorisation correctly after each deployment.
Threat narrative
Attacker objective: The attacker wants to turn ordinary API requests into unauthorized access to data or functions that should have remained outside their session boundary.
- Entry occurs when an authenticated standard user reaches an API that accepts valid-looking requests but does not properly bind the request to ownership or role.
- Escalation follows when the attacker changes an object identifier or request sequence and the application returns data or performs an action it should have denied.
- Impact is unauthorized access to other users' records or functions through Broken Object Level Authorization and related workflow flaws.
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 assurance is shifting from pattern detection to behaviour modelling: once business logic and authorisation live in chained API calls, scanners that only match known payloads will always miss the most meaningful failures. This is not a tooling defect so much as a control mismatch. The real control question is whether a system can interpret request meaning inside the application’s authorisation model. Practitioners should treat behavioural modelling as the new baseline for API assurance.
Identity context is now part of API testing: the article shows that the hardest API flaws are not just technical misconfigurations, but failures to enforce who may do what, on which object, and in what sequence. That is an identity problem as much as an application-security problem, because the session, role, and object scope define the attack boundary. Teams need to test authorisation as an active runtime control, not a design assumption.
Point-in-time pentests are becoming governance evidence, not assurance evidence: quarterly or monthly engagements still have value, but only as snapshots of a changing API estate. Once deployments happen daily, a report describes a past version of the attack surface, not the current one. Security leaders should reclassify manual testing as deep validation for the highest-risk paths and pair it with continuous automated reasoning. The programme implication is simple: assurance has to move with release velocity.
Continuous API testing creates a new control expectation: agentic systems can be used to convert testing from a periodic event into a recurring control that follows the deployment pipeline. That changes how teams think about coverage, evidence, and residual risk. The issue is no longer whether a security team can find one broken endpoint, but whether the programme can keep proving that authorisation still works after each change. Practitioners should measure testing against deployment cadence, not calendar cadence.
From our research library:
- Gartner predicts that more than 40% of agentic AI projects will be cancelled by the end of 2027, citing rising costs, unclear value and insufficient risk controls.
- Read next: Agentic AI Identity Maturity Model
What this signals
API assurance is converging on continuous behavioural testing: once developers can ship new endpoints and authorisation paths multiple times between manual engagements, the relevant control is no longer one annual or quarterly report. Teams need a testing model that follows deployment cadence and can evaluate whether current request sequences still respect object ownership and role boundaries. That is especially true where APIs enforce identity and authorisation across many services.
AI-assisted testing will increasingly define coverage expectations: static credentials still dominate too many environments, with 67% of organisations relying heavily on them despite the risk to agentic AI deployments, according to the 2026 Infrastructure Identity Survey. That figure matters here because authenticated API testing is only as strong as the trust behind the session, token, or service identity. Organisations should expect more pressure to prove that these trust paths are governed, not merely functional.
For practitioners
- Build continuous API testing around authorisation paths Prioritise tests that follow authenticated sessions through object access, role transitions, and multi-step workflows, because those are the paths where BOLA and BFLA emerge.
- Add logic-flaw checks to release gates Make each deployment prove that changed endpoints still enforce ownership, object scope, and action scope, rather than relying on a prior quarterly report.
- Use manual pentesting for high-risk flows only Reserve human-led testing for privileged workflows, payment paths, and externally exposed APIs where contextual reasoning and attack chaining matter most.
- Map API assurance to identity controls Align API test coverage with the authenticated user journey, because access decisions, not payload syntax, define most real-world business logic risk.
Key takeaways
- DAST and traditional pentesting answer different questions, but neither is enough on its own when API behaviour changes faster than manual testing cycles.
- The most serious API failures are often authorisation and workflow problems, not payload-driven injection issues.
- Continuous, behaviour-aware testing is becoming the practical way to keep API assurance aligned with release velocity.
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 | API1 — Broken Object Level Authorization | The article centres on BOLA as the signature API failure that scanners miss. |
| API5 — Broken Function Level Authorization | The article also covers failures where users can trigger functions above their role. | |
| API9 — Improper Inventory Management | Undocumented and shadow endpoints are part of the exposure described in the article. | |
| Recommendation — Test authenticated object access paths for API1 and prove users cannot reach another user's resources. Validate every privileged API action against API5 and block role escalation through hidden endpoints. Inventory all API endpoints so new or hidden routes are covered by security testing and authorisation checks. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The core issue is whether authenticated users can act only within their entitlements. |
| Recommendation — Map API authorization tests to PR.AA-05 and verify entitlements still hold after each deployment. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | API authorisation failure can let an attacker move from one valid session into other data and functions. |
| Recommendation — Use TA0006 and TA0008 to hunt for chained API abuse that turns one valid session into broader access. | ||
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 Function Level Authorization: A failure where an API allows a caller to invoke a function reserved for a more privileged role. The problem appears when the API checks whether a user is logged in but not whether they are allowed to perform that action. It is a privilege boundary failure at the application control layer.
- Dynamic Application Security Testing: Dynamic Application Security Testing evaluates a running application from the outside to identify weaknesses that only appear under real execution conditions. It is useful for validating authentication, session handling, and API behaviour, especially where configuration and integrations change how the system actually responds to attack.
- Agentic AI Security Testing: Agentic AI security testing is the practice of evaluating whether autonomous AI systems can be manipulated, misused, or made to act outside intended boundaries. It examines prompts, tool use, memory, permissions, and decision paths to identify abuse, data leakage, unsafe actions, and identity or authorization failures across the agent lifecycle.
Deepen your knowledge
NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. Explore nhimg.org for resources that connect identity governance to the broader security disciplines your programme depends on.
Published by the NHIMG editorial team on August 19, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org