Appearance
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.
| Risk | Handled at the proxy | Cannot be fixed at the proxy |
|---|---|---|
| API1 Broken object level authorization | Detects misuse | The missing check |
| API2 Broken authentication | Partly | How tokens are issued |
| API3 Broken object property level authorization | Partly | Field-level rules |
| API4 Unrestricted resource consumption | Yes | Costly code paths |
| API5 Broken function level authorization | Partly | Role logic |
| API6 Unrestricted access to sensitive business flows | Yes | The business rule |
| API7 Server-side request forgery | Yes | The unsafe fetch |
| API8 Security misconfiguration | Partly | Server settings |
| API9 Improper inventory management | Finds what is used | Retiring old versions |
| API10 Unsafe consumption of APIs | Little | Trust 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.
- Authentication requires JWTs (algorithm checked before any key is used,
exprequired, issuer, audience and required claims) and API keys with consumers, expiry and revocation. - Logins and behaviour detects credential stuffing and brute force.
- Sessions detects a replayed session cookie.
- Rate limits and bans cap attempts.
- Mobile app attestation answers only genuine app installs.
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.
- Rate limits cap requests per client, API consumer or path, and the number of requests in progress per client.
- Schema enforcement sets body limits for JSON and XML.
- GraphQL, gRPC, WebSocket and MCP limit GraphQL depth, aliases and cost, and keep introspection off by default.
- LLM endpoints set token and cost budgets for chat APIs.
- Modes and limits bound request sizes and per-module time.
- Authentication gives each API consumer its own limits.
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.
- Business flows catch skipped steps, wrong order, speed and reused one-time values.
- Bot mitigation scores automation and answers with challenges, delays or bans. See Bots and automated abuse.
- Rate limits cap one client on one path.
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.