Any questions? Get in touch: info@inspire-web.gr

Inspire Web

Inspire Web

Web Development & Digital Marketing

+30 6970671095
Email: info@inspire-web.gr

Inspire Web
41 Filonos St., Piraeus 185 31, Greece

Open in Google Maps
  • HOME
  • SERVICES
  • PROCESS
  • PORTFOLIO
  • BLOG
  • CONTACT
  • Ελληνικά
  • Home
  • Blog
  • REST APIs
  • REST API security: the 10 points we check in every penetration test
28 November 2026

REST API security: the 10 points we check in every penetration test

by inspireweb-manager / Saturday, 28 November 2026 / Published in REST APIs, Web Development
REST API security: the 10 points we check in every penetration test

APIs are now the backbone of every application, which makes them the most attractive target. From our experience remediating penetration-test findings for public and private organisations, these are the issues that come up again and again. The list largely follows the OWASP API Security Top 10.

1. Object-level authorisation (BOLA)

The most common finding: a user changes /orders/123 to /orders/124 and sees someone else’s data. Every endpoint must check that the object really belongs to the user.

2. Strong authentication

OAuth2 or short-lived JWTs, proper signature verification and secure storage of refresh tokens.

3. Function-level authorisation

Admin endpoints are not “hidden”; they are protected with explicit role checks.

4. Mass assignment

Do not map the entire input JSON onto an entity. A user must not be able to send "role":"admin".

5. Rate limiting

Request limits per user and IP, especially on login, OTP and search endpoints.

6. Input validation

Strict checks on types, sizes and formats, and parameterised queries against SQL injection.

7. Minimal data in responses

Return only the fields the client needs: never hashes, internal IDs or stack traces.

8. Secure headers and CORS

HTTPS everywhere, HSTS and CORS limited to specific origins.

9. Logging and alerts

Log failed attempts and anomalies, without sensitive data in the logs.

10. Endpoint inventory

Old API versions and forgotten test endpoints are a frequent source of leaks. Document with OpenAPI and disable anything that is not used.

Have a penetration-test report with findings to fix? We can help.

Tagged under: JWT, OAuth2, OWASP, REST API, security

What you can read next

Core Web Vitals: how site speed affects SEO and sales
Core Web Vitals: how site speed affects SEO and sales
Headless WordPress: when it pays to separate content from the frontend
Headless WordPress: when it pays to separate content from the frontend
Spring Boot REST APIs: 8 practices that make the difference in production
Spring Boot REST APIs: 8 practices that make the difference in production

Recent posts

  • Claude, ChatGPT or Gemini? Which AI model fits each job

    Claude, ChatGPT or Gemini? Which AI model fits each job

    A practical comparison of Claude (Anthropic), C...
  • AI in software development: how we work with Claude, Copilot and Gemini

    AI in software development: how we work with Claude, Copilot and Gemini

    How AI developer tools are changing software de...
  • Spring Boot REST APIs: 8 practices that make the difference in production

    Spring Boot REST APIs: 8 practices that make the difference in production

    Eight practices for Spring Boot REST APIs that ...

Facebook

Inspire Web

Categories

  • Android & iOS
  • Artificial Intelligence
  • Digital Marketing & SEO
  • Elementor
  • Java & Spring Boot
  • REST APIs
  • Vue.js
  • Web & Native Applications
  • Web Design
  • Web Development
  • WordPress & WooCommerce

ABOUT INSPIRE WEB

Technology & fresh ideas tailored to your needs!

We are a services agency specialising in Requirements Analysis & Design, Website Development, Web Development, Custom Applications and apps, Digital Marketing and Technical Support.

At Inspire Web we design and develop unique, impressive websites that inspire, deliver results and stand the test of time.

NEWSLETTER

Εγγραφείτε στο newsletter μας για να ενημερώνεστε άμεσα για τα νέα και τις προσφορές μας.

e-banner espa

CONTACT

Email: info@inspire-web.gr

Address
41 Filonos St., Piraeus 185 31, Greece

View on Google Maps

  • GET SOCIAL
Inspire Web

© Copyright 2026 Inspire Web. All rights reserved | Privacy Policy

TOP Skip to content
Open toolbar Accessibility Tools

Accessibility Tools

  • Increase TextIncrease Text
  • Decrease TextDecrease Text
  • GrayscaleGrayscale
  • High ContrastHigh Contrast
  • Negative ContrastNegative Contrast
  • Light BackgroundLight Background
  • Links UnderlineLinks Underline
  • Readable FontReadable Font
  • Reset Reset