API Security Testing
APIs expose your data and business logic directly, often to anyone who can read your mobile app or front-end code. We test REST and GraphQL APIs by hand against the OWASP API Security Top 10, with a focus on the authorisation flaws that automated tools miss, and retest after you fix them.
Why APIs need their own test
A web page hides what it does not want users to see. An API does not: every endpoint, parameter and object ID can be called directly. That is why the top risk in the OWASP API Security Top 10 is broken object level authorisation, where changing an ID in a request returns the data of another customer.
We test the API itself, not only the app that calls it: every endpoint, every role and every version, including the ones your documentation forgot.
| API scanner | Kubotor API penetration test | |
|---|---|---|
| Authorisation | Checks that endpoints need a token | Checks that each user reaches only their own objects and functions |
| Business flows | Not tested | Abuse of sensitive flows, such as bulk sign-ups, coupons or bookings |
| Undocumented endpoints | Only what the specification lists | Old versions, debug endpoints and shadow APIs found and tested |
| Result | A list of possible issues | Proven findings with requests and responses, fixes and a retest |
What we test
We test the API the way an attacker would, with an account for each role and with none at all.
Object and function authorisation
Whether one user can read or change the objects of another, and whether ordinary users can call admin functions.
Authentication and tokens
API keys, OAuth 2.0 and OpenID Connect flows, JWT handling, token expiry and refresh.
Input handling and injection
Injection, mass assignment, server-side request forgery and unsafe handling of data from third-party APIs.
Rate limits and resource use
Missing limits on requests, page sizes, uploads and expensive operations that allow abuse or denial of service.
GraphQL
Introspection, query depth and batching, aliases and field-level authorisation in GraphQL APIs.
Inventory and versions
Old API versions, debug and staging endpoints and undocumented routes that are still reachable.
Mapped to the OWASP API Security Top 10 (2023)
Every finding is mapped to its category in the OWASP API Security Top 10, the current 2023 edition, and to its CWE.
Broken Object Level Authorization
Changing an object ID in a request returns or changes the data of another user.
Broken Authentication
Weak login, token and session handling that lets an attacker act as another user.
Broken Object Property Level Authorization
Responses that expose fields a user should not see, or accept fields a user should not set.
Unrestricted Resource Consumption
No limits on requests, sizes or costly operations, leading to abuse, high bills or outages.
Broken Function Level Authorization
Ordinary users calling admin or other privileged functions.
Unrestricted Access to Sensitive Business Flows
Automated abuse of flows such as purchases, bookings, referrals or sign-ups.
Server Side Request Forgery
The API fetching an address supplied by the attacker, reaching internal systems or cloud metadata.
Security Misconfiguration
Verbose errors, permissive cross-origin settings, weak TLS and default configurations.
Improper Inventory Management
Old versions, debug endpoints and undocumented APIs left exposed.
Unsafe Consumption of APIs
Trusting data from third-party APIs without validating it.
Black box, grey box or white box
Choose how much we know before we start. Grey box is the most common choice for APIs.
Black box
We start with the base address or the app that calls the API, and discover the endpoints ourselves.
Grey box
We get the API specification (OpenAPI, Postman or a GraphQL schema) and an account for each role.
White box
We also get source code and architecture details, for the deepest coverage of critical APIs.
How an API security test works
Scoping and rules of engagement
We agree the APIs, environments, roles and request rates for the test, and sign an NDA before any details are shared.
Discovery
We map every endpoint from your specification, your apps and their traffic, including versions and routes the documentation does not list.
Authorisation matrix
We build a matrix of roles, objects and functions, and test every combination for access it should not have.
Manual testing
We work through the OWASP API Security Top 10 and the API tests of the OWASP Web Security Testing Guide by hand, including business flow abuse.
Reporting and debrief
Every finding with its CVSS v3.1 score, OWASP and CWE mapping, the exact requests and responses, and fix guidance.
Retest
After your fixes we retest every finding and issue an updated report.
Methodology and frameworks
Our API testing follows public OWASP standards, so the results are complete, repeatable and easy to audit.
OWASP API Security Top 10 (2023)
The categories every finding is mapped to, from broken object level authorisation to unsafe consumption of third-party APIs.
OWASP Web Security Testing Guide
The general web test cases, including the API and GraphQL tests in the guide, applied to every endpoint.
OWASP ASVS 5.0
For APIs that need a defined assurance level, including its chapters on OAuth, OpenID Connect and self-contained tokens.
OpenAPI and GraphQL schemas
Where you have them, we test against your API specification and flag every difference between what is documented and what is live.
CWE and CVSS v3.1
Each finding names its CWE and is scored with CVSS, with a business priority.
PTES and NIST SP 800-115
Scoping, rules of engagement and reporting follow the Penetration Testing Execution Standard and the NIST technical guide to security testing.
What you get
Executive summary
Your risk in plain business terms, for leadership, auditors and customers.
Technical report
Every finding with its CVSS v3.1 score, OWASP and CWE mapping, the exact requests and responses, impact and reproduction steps.
Developer fix tracker
A spreadsheet with one row per finding: priority, a plain-English note on what to change, and fix status.
Debrief session
We walk your developers through the findings and answer their questions.
Retest report
The status of every finding after your fixes, for your records and your auditors.
API security testing and compliance
APIs are now named directly by the standards your auditors use.
PCI DSS v4.0.1
APIs you build that are in scope for PCI DSS count as bespoke and custom software, so they fall under the requirements for secure development (6.2), review before release (6.2.3) and penetration testing at least every 12 months (11.4).
ISO/IEC 27001:2022
Annex A control 8.29 requires security testing in development and acceptance, and 8.26 requires application security requirements to be identified and applied.
DPDP Rules 2025
Rule 6 requires reasonable security safeguards for personal data, including access control. An API test checks access control where personal data actually leaves your systems.
RBI
The RBI 2026 Directions for commercial banks include a section on vulnerability assessment and penetration testing (paragraphs 151 to 155).
Why Kubotor
Authorisation first
We test every role against every object and function, the checks that automated tools cannot do.
Evidence your developers can replay
Every finding comes with the exact request and response, so it can be reproduced and fixed fast.
Founder-led
Engagements are led by Abhijeet Singh, an OSCP-certified offensive security practitioner who has spoken at TEDx Delhi, c0c0n, BSides Noida, SeaSides and DefCon Delhi.
We also train developers
Kubotor runs secure coding and application security training, including API security.
Learn moreHow much does an API security test cost?
It depends on the number of endpoints, roles and integrations. After a short scoping call we send a fixed quote. What sets the price:
- The number of endpoints and operations
- The number of user roles and tenants
- REST, GraphQL or both
- Black box, grey box or white box
- Complex business flows and third-party integrations
Frequently asked questions
What is API security testing?
It is a manual security test of an API, in which testers call every endpoint the way an attacker would to find flaws in authorisation, authentication, input handling, rate limits and configuration.
What is broken object level authorisation?
It is the top risk in the OWASP API Security Top 10. The API checks that a user is logged in, but not that the object they ask for belongs to them, so changing an ID returns the data of someone else.
Do you test GraphQL APIs?
Yes. We test introspection, query depth and batching, aliases and field-level authorisation, as well as the usual API risks.
Which standards do you follow?
The OWASP API Security Top 10 (2023) for classifying findings, the API and GraphQL tests of the OWASP Web Security Testing Guide, OWASP ASVS 5.0 where a defined assurance level is needed, CWE and CVSS v3.1, and PTES and NIST SP 800-115 for planning and reporting.
What do you need from us?
The base addresses, an API specification if you have one (OpenAPI, Postman or a GraphQL schema), an account for each role and, ideally, a test environment.
Will testing affect our production API?
We agree request rates and test windows in advance, avoid destructive calls, and prefer a staging environment where one exists.
Can you test the APIs behind our mobile app?
Yes, on their own or together with the app in a mobile app security test.
How long does an API test take?
Usually one to three weeks from kick-off to report, depending on the number of endpoints and roles.
Do you retest after we fix the issues?
Yes. A retest of the reported findings is part of every engagement.
Do you sign an NDA?
Yes. We sign an NDA before you share any details, and findings go only to the contacts you name.
Related services
Web Application Penetration Testing
Manual testing of your web applications against the OWASP Top 10:2025.
Read more →Mobile App Security Testing
Android and iOS apps and the APIs behind them, tested to OWASP MASVS.
Read more →Secure Code Review
Find flaws at the root cause in your source code, before they ship.
Read more →