liveBook · Manning

Sensitive business flow

As explained in Secure APIs

A sensitive business flow is a business process whose exploitation benefits a threat actor while harming the organization that operates it.

A sensitive business flow is a business process that a threat actor can exploit for personal benefit while harming the organization operating it. Examples include referrals, purchases, ticket sales, bookings, reviews, and scraping. section 4.9

Referral rewards and fake accounts

A referral program rewards User A when User B joins. If the API does not verify User B’s account authenticity, User A can create unlimited fake accounts and collect endless rewards. Similar unrestricted flows enable scalping bots to poll availability and buy an entire stock when products or tickets appear. section 4.9

Assess and constrain sensitive flows by:

  • Modeling the business harm alongside the technical attack, including poor customer experience and API performance impact from automated polling. section 4.9
  • Using CAPTCHA challenges for web applications and measuring time intervals between multistep actions to identify automated scripts. section 4.9
  • Testing complex operations with assertions about the resulting resource state, rather than checking only individual requests. section 12.1

How Secure APIs covers it

How deep it goes
Defines the flow, explains referral abuse and scalping, and outlines bot detection and stateful security tests.
Examples
Uses referral rewards, fake accounts, scalper bots, product availability polling, discount vouchers, and unauthorized course access.
What you can do after
Diagnose/debug with it by modeling abuse, identifying harmful flows, and designing tests for multistep operations and resource state.
How it connects
Connects sensitive business flows with API security, threat modeling, authentication, rate limiting, scalping, scraping, and review manipulation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Secure APIs. The section links point to the parts of the book it draws on.