Most modern applications are a set of APIs with a user interface on top. Attackers know this and skip the interface, calling the APIs directly with modified requests. OWASP maintains a separate API Security Top 10, last updated in 2023, which is a good checklist for any team that exposes APIs.
The most common failures
- Broken object level authorisation: changing an ID in a request returns someone else’s data
- Broken authentication: weak tokens, no expiry, or credential stuffing left unchecked
- Broken object property level authorisation: responses expose fields the user should not see, or accept fields they should not set
- Unrestricted resource consumption: no limits on request rates, page sizes or uploads
- Broken function level authorisation: admin functions reachable by ordinary users
Defences that cover most of the list
Check authorisation on every request against the specific record, not just the endpoint. Use well-tested libraries for tokens and keep access tokens short-lived. Return only the fields a client needs, and accept only the fields it may change. Apply rate limits, maximum page sizes and request size limits at the gateway.
Know your inventory
Old versions and forgotten test endpoints are a classic way in. Keep an up-to-date list of every API, version and environment, and retire what is no longer used.
Our engineers and consultants write about what they see in real projects. Have a question about your own systems?






