Skip to content

OWASP API Security Top 10 ​

This page maps the OWASP API Security Top 10, edition 2023, to the protections that work today. The risk descriptions are ours. The official text is at owasp.org/API-Security.

Most API protections live in one place, API protection, and are turned on per application. For the general web list, see OWASP Top 10.

RiskHandled at the proxyCannot be fixed at the proxy
API1 Broken object level authorizationDetects misuseThe missing check
API2 Broken authenticationPartlyHow tokens are issued
API3 Broken object property level authorizationPartlyField-level rules
API4 Unrestricted resource consumptionYesCostly code paths
API5 Broken function level authorizationPartlyRole logic
API6 Unrestricted access to sensitive business flowsYesThe business rule
API7 Server-side request forgeryYesThe unsafe fetch
API8 Security misconfigurationPartlyServer settings
API9 Improper inventory managementFinds what is usedRetiring old versions
API10 Unsafe consumption of APIsLittleTrust in third-party data

API1 Broken object level authorization ​

The attack. A client changes an object ID in a request (an order, an account) and gets or changes another user's object.

What Spalto does. Object ownership learns which client was handed which object IDs and flags clients that use objects that were not theirs (bola.foreign_object), try many different IDs (bola.enumeration) or walk consecutive integers (bola.sequential). Events carry the client's identity, set by client identity. Rate limits slow guessing.

Set it up. Turn on object ownership in detect, mark objects everyone may read as public namespaces, then enable refuse actions in block.

What a proxy cannot fix. The check belongs in the code. Ownership tracking works from IDs that appear in answers and requests the product can see, and it needs a client identity.

API2 Broken authentication ​

The attack. Weak or missing token checks, stolen keys, guessable credentials or unlimited login attempts.

What Spalto does.

What a proxy cannot fix. How your service issues, stores and refreshes tokens, and password recovery flows.

API3 Broken object property level authorization ​

The attack. An API returns more fields than the caller may see, or accepts fields the caller must not set (mass assignment).

What Spalto does.

  • Learned schema learns the JSON structure per endpoint and can refuse fields that are not in the schema (learned.unknown_fields).
  • Schema enforcement enforces your OpenAPI description of request bodies.
  • Data leaks hide or refuse sensitive values in answers (card numbers, national IDs, your own patterns).

What a proxy cannot fix. The proxy does not know which fields each role may read or write. It can refuse fields that never occur in normal traffic or the description, not fields that are allowed for some users and not for others.

API4 Unrestricted resource consumption ​

The attack. Requests that cost the server too much: huge bodies, deep queries, floods, or (for language-model APIs) very large token use.

What Spalto does.

What a proxy cannot fix. A query that is cheap to send but slow in the database. Volumetric network floods are out of scope for this product.

API5 Broken function level authorization ​

The attack. A client calls an administrative or privileged function it should not reach, for example by switching the method or path.

What Spalto does.

  • Access rules limit sensitive paths and methods to chosen addresses or lists.
  • Authentication requires claims (for example a scope) on the paths that need them.
  • Schema enforcement refuses unknown paths and methods that your description does not declare.
  • Inventory shows administrative endpoints in use.

What a proxy cannot fix. Role rules inside the application. The proxy matches paths, methods and token claims, not what a user is allowed to do.

API6 Unrestricted access to sensitive business flows ​

The attack. A flow works as designed but is abused at scale: buying out stock, creating thousands of accounts, scraping, spamming referrals.

What Spalto does.

What a proxy cannot fix. Deciding which flows are sensitive. You describe them, and the product can suggest flows from traffic.

API7 Server-side request forgery ​

The attack. A request value makes the API fetch an attacker-chosen URL, such as an internal service.

What Spalto does. Outbound guard detects values that point at internal destinations however written, and the outbound proxy checks the application's own outbound requests and pins the address it connects to.

What a proxy cannot fix. The proxy cannot make the application use the outbound proxy.

API8 Security misconfiguration ​

The attack. Missing hardening, verbose errors, permissive CORS, old TLS or open debug endpoints.

What Spalto does.

  • CSRF and CORS apply your CORS rules and find unsafe CORS in the application.
  • Response headers add security headers and remove version headers.
  • Response signatures, set up on the Data leaks page, refuse answers that leak errors or stack traces.
  • Virtual servers set the lowest TLS version.
  • Protocols keep GraphQL introspection off.

What a proxy cannot fix. Settings on servers the traffic does not pass through. An assessment helps find them.

API9 Improper inventory management ​

The attack. Old versions, test endpoints and undocumented APIs stay reachable and unpatched.

What Spalto does.

  • Inventory lists the endpoints seen in traffic and finds undocumented, deprecated and unused ones.
  • Schema enforcement refuses paths and methods outside your OpenAPI description once you enforce it.
  • Learned schema exports an OpenAPI description from traffic.
  • Agent discovery finds MCP servers and AI agents you did not know about.

What a proxy cannot fix. Hosts that do not pass through the product. Retiring an old version is a decision for the API owner. Until then, refuse it with an access rule.

API10 Unsafe consumption of APIs ​

The attack. Your service trusts data from a third-party API and acts on it without checks.

What Spalto does. Little. The outbound proxy controls where the application may connect, and SOAP signatures verify signed partner messages. The product does not inspect answers from the third-party APIs your application calls.

What a proxy cannot fix. Validating third-party answers is the job of your code.