---
title: "API Security: The API Works. Who Else Can Use It?"
description: "A working API call shows the intended request succeeds. How to test object and function authorization, business-flow abuse and forgotten API versions."
url: https://panop.io/blog/api-authorization-business-flow-testing/
---

Article December 2, 2026 [Panop Research](https://panop.io/company) · Security research team, Panop SA

# API Security: The API Works. Who Else Can Use It?

A working API call shows the intended request succeeds. How to test object and function authorization, business-flow abuse and forgotten API versions.

On this page

1. [A successful response can answer the wrong question](#a-successful-response-can-answer-the-wrong-question)
2. [Begin with the record and the action](#begin-with-the-record-and-the-action)
3. [Check administrative capability separately](#check-administrative-capability-separately)
4. [Some abuse follows the rules too closely](#some-abuse-follows-the-rules-too-closely)
5. [Find the versions that escaped the release plan](#find-the-versions-that-escaped-the-release-plan)
6. [Turn one business flow into a repeatable check](#turn-one-business-flow-into-a-repeatable-check)
7. [API business-boundary review](#api-business-boundary-review)
8. [Where Panop fits](#where-panop-fits)
9. [Sources](#sources)

A functional API test shows that an intended request can succeed. A security review asks a different set of questions: which requests should fail, whose information can be reached, and whether a legitimate action can be abused.

Start with a valuable business action. Define who may perform it, on which records and within which limits. Then verify those boundaries with approved test data.

## A successful response can answer the wrong question

Take an illustrative product team demonstrating a new partner API. The partner can retrieve a customer record and submit an update. The integration works, the response comes back quickly and the release looks ready.

The security questions sit elsewhere. Can that partner retrieve only the records it is entitled to see? Can a low-privilege user perform an administrative action? Can an allowed operation be repeated in a way that harms the business? Answering them takes an agreed permission model. Confirming that the interface responds tells you nothing about any of them.

The OWASP API Security Top 10 treats [object-level authorization](https://api-security.owasp.org/editions/2023/en/0xa1-broken-object-level-authorization/), [function-level authorization](https://api-security.owasp.org/editions/2023/en/0xa5-broken-function-level-authorization/) and [unrestricted access to sensitive business flows](https://api-security.owasp.org/editions/2023/en/0xa6-unrestricted-access-to-sensitive-business-flows/) as separate risks. Those distinctions help turn a technical test into a business conversation. The intended customer journey is only one of the journeys the API may permit.

## Begin with the record and the action

Object-level authorization concerns whether the caller may act on a particular object. A caller can be legitimately signed in and allowed to use an endpoint, and still be prohibited from seeing another customer’s record. OWASP draws the line explicitly: with this class of flaw the user is meant to reach the endpoint, and the violation happens at the level of the object being requested.

Write the expected relationship in plain language. For example: this partner may view records assigned to its contract, and may not change the account’s payment destination. That rule is only an illustration. The application owner has to define the real ones.

Build a small test matrix with approved identities and synthetic records. Include permitted and prohibited relationships. Record the role, object, action and expected result, so the test can be repeated after a relevant change.

Don’t use real customer information just to make the demonstration more persuasive. A controlled result can establish a boundary failure without copying sensitive data into a report.

## Check administrative capability separately

Function-level authorization asks whether the caller may perform the operation at all. OWASP points to the many roles, groups and user hierarchies in modern applications, and warns against deciding whether an endpoint is regular or administrative from its URL path.

That matters when an application adds support roles, delegated administrators or partner access. A role called “viewer” is no evidence of what the service allows that role to do. Test the agreed boundary with the responsible product and security teams.

Keep the conclusion narrow. If a test shows that one role can perform one prohibited action, say exactly that. Calling it full account takeover or a complete system compromise needs evidence of those outcomes.

The remediation discussion should consider whether the defect is local or shared. A central authorization component may affect many routes, so a fix in one place shouldn’t be assumed to correct every use of the same pattern.

## Some abuse follows the rules too closely

An API can enforce identity and record permissions and still allow damaging use of a legitimate business action. OWASP’s sensitive business flow category covers this problem. It notes that the risk varies between industries and businesses, and that exploiting it usually means understanding the business model behind the API.

Consider an illustrative booking service that lets a user reserve capacity again and again with no effective business limit. OWASP gives a similar case: an attacker reserving every available time slot so other users can’t book. Nothing here needs a malformed request or a missing patch. The question is whether the permitted workflow can deny capacity to legitimate customers.

Product, fraud and security teams should agree what acceptable use means. Consider entitlement, sequence, limits, reversals and monitoring. A generic traffic threshold may help, though it may miss the business rule entirely.

Keep testing controlled. Use a safe environment, or tightly bounded conditions that can’t consume real inventory, trigger real payments or disrupt customers. A useful test demonstrates the relevant behavior. It doesn’t need to cause the commercial harm it is meant to prevent.

## Find the versions that escaped the release plan

Current API documentation doesn’t always describe everything that is deployed. OWASP’s [improper inventory management](https://api-security.owasp.org/editions/2023/en/0xa9-improper-inventory-management/) category covers old API versions that stay reachable, outdated documentation and unnecessarily exposed API hosts. A retired version may still answer requests for a forgotten partner or an internal dependency.

Compare declared interfaces with gateway records, deployment inventories and authorized external discovery. Give each relevant version an owner and a retirement decision. Confirm who still consumes it before removing access, and don’t let an unidentified consumer justify an exception that never ends.

Partner access needs the same discipline. Record the purpose of the integration, the information it can reach and the conditions for revoking it. When a contract changes, check the technical permissions along with the commercial paperwork.

An external view can reveal reachable interfaces. On its own, it can’t determine every intended business rule or prove that internal data access is correctly restricted. That context has to come from the service owner and from suitable authenticated testing.

## Turn one business flow into a repeatable check

Choose a high-value action, such as viewing a sensitive record, changing an account setting or approving a transaction. Define the allowed roles, object relationships and business constraints. Then commission a small, authorized set of checks that cover both success and expected refusal.

Keep the result with the relevant application version and configuration. When roles, partner scopes or workflow rules change, run those checks again. Also review whether a new interface exposes the same underlying function through a different route.

The worksheet below is a starting point for that conversation. It keeps the business rule next to the technical evidence on purpose. That makes a finding easier to fix, and it helps management see why an integration that appears to work may still need attention.

## API business-boundary review

Complete this for one important action, using synthetic data and approved identities.

| Review point | Evidence to bring | Decision to make |
| --- | --- | --- |
| Business action | Operation, consequence and service owner | What should the API permit? |
| Identity and role | Customer, partner, support or administrator | Who may perform the operation? |
| Object boundary | Records each test identity may access | Which cross-account requests must fail? |
| Business limits | Entitlements, sequence and acceptable usage | Can permitted behavior cause harm? |
| Coverage and retest | Versions, evidence, exclusions and change trigger | What has been verified, and what hasn’t? |

Agree safety limits before testing. Avoid real transactions and sensitive customer records unless they are strictly necessary.

## Where Panop fits

[Panop’s autonomous penetration testing](https://panop.io/autonomous-penetration-testing/) combines discovery with controlled validation of exposed services. For broken access control, it attempts the privileged action as an unauthenticated or lower-privileged principal and records the boundary crossed and the request that crossed it. For an API engagement, agree which interfaces, identities and checks it will cover. Keep specialist business-logic review and the product owner’s permission model in the program, since an outside-in test can’t supply that context by itself.

## Sources

1. OWASP: [API1:2023 Broken Object Level Authorization](https://api-security.owasp.org/editions/2023/en/0xa1-broken-object-level-authorization/)
2. OWASP: [API5:2023 Broken Function Level Authorization](https://api-security.owasp.org/editions/2023/en/0xa5-broken-function-level-authorization/)
3. OWASP: [API6:2023 Unrestricted Access to Sensitive Business Flows](https://api-security.owasp.org/editions/2023/en/0xa6-unrestricted-access-to-sensitive-business-flows/)
4. OWASP: [API9:2023 Improper Inventory Management](https://api-security.owasp.org/editions/2023/en/0xa9-improper-inventory-management/)

About the author

[Panop Research](https://panop.io/company)

Security research team, Panop SA

Panop Research is the security research function of Panop SA, a Swiss exposure management company founded in July 2024 by three practitioners with nearly twenty years each inside large international organisations. It publishes analysis built on primary public datasets, with every figure attributed and linked to the publisher that produced it.

- [LinkedIn](https://www.linkedin.com/company/panop-io)

[← Back to blog](https://panop.io/blog/)
