APIs power almost every modern product, and they are where most serious breaches now happen. The OWASP API Security Top 10 is the industry reference for the risks that matter most, and understanding it is the fastest way to secure an API-driven platform.
Why API security is different
A traditional web app hides its logic behind a user interface. An API exposes that logic directly. There is no UI to constrain what a client sends, so every authorization decision has to be enforced server side, on every object and every function. When it is not, an attacker simply changes an identifier or calls a function they should not be able to reach.
The ten risks
- API1: Broken Object-Level Authorization (BOLA). The top cause of API breaches: changing an object ID in a request and getting another user's data.
- API2: Broken Authentication. Weak or missing authentication on endpoints, token flaws, and credential-stuffing exposure.
- API3: Broken Object Property-Level Authorization. Covers both excessive data exposure (returning fields the client should not see) and mass assignment (accepting fields the client should not set).
- API4: Unrestricted Resource Consumption. Missing rate limits leading to brute force, enumeration and cost or denial-of-service abuse.
- API5: Broken Function-Level Authorization (BFLA). Low-privileged users reaching admin or privileged functions.
- API6: Unrestricted Access to Sensitive Business Flows. Automated abuse of business flows such as purchases, bookings or sign-ups.
- API7: Server-Side Request Forgery (SSRF). The API fetching attacker-controlled URLs, often reaching internal services or cloud metadata.
- API8: Security Misconfiguration. Insecure defaults, verbose errors, missing hardening and misconfigured CORS.
- API9: Improper Inventory Management. Forgotten, undocumented or old API versions that remain exploitable.
- API10: Unsafe Consumption of APIs. Trusting third-party APIs without validating their responses.
BOLA in depth
Broken Object-Level Authorization deserves special attention because it is both the most common and the most damaging. The pattern is simple: an endpoint like GET /api/invoices/1024 returns invoice 1024 without checking that the authenticated user actually owns it. Change the number, and you read someone else's invoice. At scale, that is a full data breach through a single endpoint.
BOLA is invisible to scanners because the request looks perfectly valid. It is only found by mapping every object against every role and testing cross-user and cross-tenant access by hand, which is exactly what a manual API penetration test does.
How to test for them
A thorough API test ingests your OpenAPI or Postman specification, reverse-engineers undocumented endpoints from your web and mobile clients, builds an authorization matrix of who should reach what, and then tests what actually happens. Every object is checked for BOLA, every function for BFLA, every create and update for mass assignment, and every response for excessive data exposure.
If you are building or shipping an API-driven product, testing against this list before an attacker does is the single highest-value security investment you can make.