Security & privacy

API security: the risks that matter most

APIs power mobile apps, partners and integrations, and attackers target them directly. The OWASP API Security Top 10 and what to do about it.

GloryTekSystems team23 Jun 2026 2 min read

A programmer typing code in a dim room

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.

Written by the GloryTekSystems team

Our engineers and consultants write about what they see in real projects. Have a question about your own systems?

Ask us
GloryTek assistantQuick answers · automated

Hi, I’m the GloryTek assistant. Ask me about our services, pricing, timelines or industries.

Popular pages

↑↓ to move to open Esc to close