This category, new in the 2023 OWASP API list, describes an attack where nothing is technically broken. Every request is valid, authenticated and authorized. The harm comes from running a legitimate business flow (buying, signing up, commenting, reserving) far faster and more often than a human ever could. Unrestricted Access to Sensitive Business Flows is a business-logic risk, and it is invisible to controls that only inspect individual requests.

A sensitive business flow is any sequence of API calls whose automation causes real-world harm to the business or its users. The purchase flow that lets scalpers buy out limited stock in seconds. The signup flow that lets one actor farm thousands of accounts to claim referral credit. The comment flow weaponized for spam, or the search flow used to scrape an entire catalog and undercut it. None of these requests is malformed; the abuse is the volume and intent behind them.

Why the usual defenses miss it

Unrestricted Access to Sensitive Business FlowsDiagram with these labels, in reading order: AUTOMATION; BUSINESS FLOW; IMPACT; 5,000 calls / 20s; all valid; at scale; Automated attacker; 300 accounts; Business flow; checkout / signup; Anti-automation; Every request; passes checks; Stock sold out; credits farmed; No anti-automation; on the flow; Abuse is the volume.AUTOMATIONBUSINESS FLOWIMPACT5,000 calls / 20sall validat scaleAutomated attacker300 accountsBusiness flowcheckout / signupAnti-automationEvery requestpasses checksStock sold outcredits farmedNo anti-automationon the flowAbuse is the volume
Nothing is malformed; the attack is a legitimate flow run at machine speed.

Authentication passes because the accounts are real. Authorization passes because users are allowed to buy and sign up. Input validation passes because the payloads are well-formed. Even a basic rate limit can be defeated by spreading requests across many accounts and IPs. The flaw lives above the request layer, in whether the business flow can be executed at a scale that defeats its purpose. That is why API6 asks a different question from "is this request valid?": should this flow be automatable at all, and by whom?

Why it's API6: It captures a class of loss no injection scanner will ever find. The system works exactly as designed, the design just didn't account for an adversary running it at machine speed and scale.
Every call is valid; the pattern is the attackPOST /api/checkout (valid) × 5,000 in 20 seconds across 300 fresh accounts → limited-edition stock sold out to bots

Designing flows that resist automation

The first step is a business decision: identify which flows are sensitive, those whose mass execution would damage revenue, inventory, reputation, or fairness. You cannot protect a flow you haven't recognized as valuable to an attacker. Then raise the cost of automating it without punishing genuine users.

  • Inventory your sensitive flows. List the sequences, purchase, signup, reservation, referral, review, where automation at scale causes harm, and treat those as a protected class.
  • Detect non-human patterns. Look at timing, device fingerprints, and behavioral signals to distinguish a person from a script, rather than judging each request in isolation.
  • Add friction where it counts. Proof-of-work, step-up challenges, or CAPTCHAs on the sensitive flow specifically raise the attacker's cost while leaving ordinary use mostly untouched.
  • Limit by identity and resource as well as IP. Cap purchases per customer, signups per device, and actions per account over meaningful windows. IP-based limits alone are trivially spread across a botnet.
  • Enforce business rules server-side. One-per-customer, cooldown periods, and inventory holds must be enforced in the API, never assumed from client behavior.

API6 is where security and product thinking merge: defending it means understanding what your API is for and how that purpose can be turned against you. The defenses are never one-size-fits-all, because the sensitive flows differ for every business. What is constant is the prerequisite, you have to know which flows exist and which ones matter before you can decide how fast a stranger should be allowed to run them.

Primary source. API6:2023 Unrestricted Access to Sensitive Business Flows, OWASP API Security Project, 2023.

Back to the knowledge baseRequest an assessment