API Security Testing
We test your REST and GraphQL APIs the way a real attacker would: who can call them, whose data they return, and what happens when requests are changed or abused. You get proven findings with evidence, a prioritised fix list, and a retest of the fixes.
- CoversREST and GraphQL APIsRESTGraphQLSOAPMicroservices
- MethodManual testing, backed by toolsBlack-boxGrey-boxWhite-box
- StandardsBuilt on public guidanceOWASP API Top 10OWASP WSTGOWASP Top 10
- You receiveA report your team can act onExecutive summaryTechnical reportFix guidanceRetest
Watch an API penetration test, start to finish
Seven stages, from written authorisation to retest. Pick a stage, or let it play.
Scope and rules of engagement
We agree the APIs, environments, test accounts and what is off limits. Written authorisation comes first.
- APIs and environments
- Test accounts for each role
- Test window and request limits
scope: REST /v1, GraphQL /graphqlrules: no DoS, no data deletionauthorisation: signed
Map every endpoint
We import your API docs, then look for what they miss: old versions, hidden routes and admin functions.
- Docs, specs and collections
- Old versions and hidden routes
- Traffic from your web and mobile apps
imported: OpenAPI spec, 42 endpointsfound: 6 not in the docsinventory: 48 endpoints
Test login and tokens
We check how tokens are issued, signed and expired, and test the login and password reset flows.
- Login, tokens and API keys
- Token lifetime and signing
- Password reset and MFA
token: tampered signature rejectedtoken: no expiry claimreset link: single use
Test who can reach what
We replay each call as another user and as a lower role to see what the API lets through. Safe proof of concept only.
- Object IDs on every endpoint
- Admin functions with user tokens
- Fields a user should not see
GET /v1/users/5002 as User A 200 other userGET /v1/admin/export as User A 200 admin dataconfirmed: broken access control
Test limits and inputs
We check rate limits, input handling and mass assignment, within the request limits agreed up front.
- Rate limits and lockouts
- Input and injection checks
- Mass assignment and large requests
login: 60 attempts in a minute, no lockoutmass assignment: role ignoredinjection payloads: blocked
Report with evidence and fixes
You receive an executive summary and a technical report, with evidence, severity and fix steps for every finding.
- Executive summary
- Findings with evidence
- Fix steps and priorities
findings: 1 critical, 2 high, 1 mediumevidence: request, response, stepsfix guidance: written
Fix, then retest
Your team fixes the issues. We retest the reported findings and confirm what is closed.
- Fixes verified
- Reported findings retested
- Closure confirmed in writing
fixes: applied by your teamretest: 4 of 4 reported findingsstatus: closed
Illustration with example data, not client data. Timelines depend on scope. The retest covers reported findings within the agreed window.
The attack surface of an API
Ten test areas, from the front door to the data.
- 1Inventory and discovery
Endpoints, versions, hidden and old routes
- 2Authentication
Login, tokens, API keys, password reset
- 3Configuration and transport
TLS, CORS, headers, error messages
- 4Object-level access
Can user A read user B's records?
- 5Function-level access
Can a normal user call admin functions?
- 6Data exposure
Fields returned, mass assignment
- 7Input handling
Injection, bad types, unexpected input
- 8Rate limits and cost
Brute force, scraping, heavy queries
- 9Business logic
Skipped steps, replayed or abused flows
- 10Integrations and server-side requests
SSRF, third-party data, webhooks
Mapped to the OWASP API Security Top 10 (2023)
The numbers show which test areas cover each category.
- API1Broken Object Level Authorization4
- API2Broken Authentication2
- API3Broken Object Property Level Authorization6
- API4Unrestricted Resource Consumption8
- API5Broken Function Level Authorization5
- API6Unrestricted Access to Sensitive Business Flows89
- API7Server Side Request Forgery710
- API8Security Misconfiguration3
- API9Improper Inventory Management1
- API10Unsafe Consumption of APIs10
Guided by the OWASP Web Security Testing Guide
These chapters, including its API Testing chapter, shape our test cases.
OWASP guidance is referenced, not a certification held by CyberNexora, and does not imply OWASP endorsement.
REST and GraphQL are tested differently
REST
Routes, methods and object IDs
- Method tampering
- Object IDs in paths
- Old versions and hidden routes
- Mass assignment
- Excess fields in responses
- Filters and pagination limits
- Tokens and API keys
- CORS and security headers
- Verbose error messages
GraphQL
One endpoint, many queries
- Introspection exposure
- Hidden types and mutations
- Field suggestions
- Field-level authorisation
- Depth and complexity limits
- Batching and alias abuse
- Injection through arguments
- Query cost and timeouts
- Rate limits on batched calls
REST flaws usually sit in a route or an object ID. GraphQL flaws sit in the schema, field access and query cost. Each gets its own test cases. SOAP and microservice APIs are also in scope.
What you receive
- Scope & rules
- Executive summary
- Technical report
- Risk ratings
- Proof of concept
- Fix guidance
- Scoped retest
- Completion summary
A clean result is reported as it is. Retests cover reported findings only and are not unlimited.
What we need from you, and when to test
- Written authorisation
Before any testing starts
- API documentation
OpenAPI, Postman or GraphQL schema
- Test accounts
Two users per role
- Environment
Staging preferred
- Test window
And agreed request limits
- A technical contact
During the test
- Before launch
- After new endpoints or a major release
- Before opening the API to partners
- At least once a year
- When a customer or auditor asks
Grey-box suits most APIs: documentation and accounts for each role show what an authenticated attacker can reach. Black-box and white-box scopes are available, and source code is not required. See the differences.
Testing stays inside agreed rules. Test accounts, staging preferred, agreed request limits, no denial-of-service, no data deletion, and proof of concept uses the minimum data needed.
API security testing frequently asked questions
What is API security testing, and how is it different from a scan?
A scanner replays known patterns and lists what a tool can detect. An API penetration test is manual: with your written permission, a tester uses several accounts to replay requests as other users and roles, changes IDs and inputs, and shows what an attacker could really reach. Access control and business logic flaws are the ones scanners tend to miss.
Do you test REST, GraphQL and SOAP APIs?
Yes. REST and GraphQL are our main focus, each with its own test cases. SOAP and microservice APIs are in scope too, and the exact coverage is confirmed when we scope the work. If your API serves a mobile app, see Mobile Application VAPT.
Can you find authorisation flaws?
Yes, they are the core of the test. Broken object level authorisation is number one on the OWASP API Security Top 10, so we test every endpoint that takes an ID, and every admin function, with accounts for each role. A safe proof of concept shows exactly what was reachable.
What do you need from us?
Written authorisation, API documentation if you have it (an OpenAPI file, Postman collection or GraphQL schema), test accounts for each role with at least two users per role, a staging environment where possible, and a test window. Source code is not required.
Will testing affect my live API or real users?
Testing runs inside the rules we agree with you: scope, test windows, exclusions and request limits. We use test accounts and safe proof-of-concept techniques, with no denial-of-service and no data deletion. We prefer a staging environment. No active test is completely risk-free.
How long does it take and what does it cost?
It depends on the number of endpoints, user roles and API types, and the depth of testing. We confirm the timeline and a quote at scoping, before you commit. See the pricing page.
What do we receive, and is there a retest?
You receive an executive summary and a technical report with affected endpoints, severity and business-impact ratings, request and response evidence, and fix guidance. A scoped retest of the reported findings within the agreed window confirms what is closed. It is not an unlimited re-test.