2-SEC PEN TESTING / APIS

API Penetration Testing for Exploitable Security Risks

Manual, adversarial testing of your REST and GraphQL APIs — authorisation gaps, token abuse and business logic flaws exposed through the interfaces your apps, partners and customers rely on. NCSC CHECK-certified testers.

Book a scoping call See the methodology
NCSC CHECK CREST-ALIGNED ISO 27001
The problem

An API trusts its client Its attacker is a client

APIs expose your business logic as machine-readable endpoints — easy to consume, easy to abuse. Every authorisation decision your mobile app or partner integration enforces client-side is a suggestion, not a control.

Object-level authorisation is the top risk

The OWASP API Top 10 ranks broken object-level authorisation first. Changing one identifier in a request is often enough to read another tenant's data.

Shadow APIs outlive their owners

Deprecated versions, debug endpoints and undocumented routes stay reachable long after the team that built them moved on. Attackers enumerate what you forgot.

Scans stop at the schema

A scanner sees valid JSON and moves on. Business logic abuse — mass assignment, excessive data exposure, token replay — needs a human adversary.

The API attack surface, in numbers

APIs carry your data and your risk

As organisations shift to API-first architectures, the flaws that dominate are authorisation flaws — the kind a careful manual test finds first.

#1

Broken object-level authorisation tops the OWASP API Security Top 10 — the single most common API flaw found in the wild.

Source: OWASP API Security Top 10 (2023)
94%

Of organisations experienced an API security incident in the past year, per industry survey research.

Source: API security industry surveys
3

Of the OWASP API Top 10 categories are pure authorisation failures — object-level, function-level and sensitive data exposure combined.

Source: OWASP API Security Top 10 (2023)
5×

API traffic has grown multiple times faster than web traffic in recent years — and attack traffic on APIs grows with it.

Source: published traffic research

Figures reflect published industry research and frameworks at time of writing; sources cited per card. We're happy to walk through the underlying studies on a scoping call.

What is API penetration testing?

Adversarial API Testing Beyond Schema Checks

API penetration testing is a controlled security assessment in which qualified testers simulate hostile clients against REST, GraphQL and other API endpoints to uncover exploitable weaknesses in authorisation, authentication, token handling, input validation and business logic.

Authorisation-First

Tests whether users, tenants and integrations can reach objects or functions they should never be able to access.

Protocol-Aware

Examines REST and GraphQL behaviour, token flows, schemas and implementation details rather than treating every endpoint alike.

Business-Logic Aware

Looks beyond valid requests to discover how sequences, assumptions and exposed functions can be abused by a hostile client.

Developer-Ready

Provides reproducible requests, proven impact and concrete remediation guidance your engineering team can act on.

API penetration testing puts a certified human attacker at your interface — enumerating endpoints, abusing token handling, chaining authorisation gaps and business logic flaws into the outcomes that actually hurt: cross-tenant data exposure, privilege escalation, fraudulent transactions.

Our CHECK-certified testers work from the same mindset as a real adversary: map what the API trusts, abuse what it assumes, and prove impact — can one tenant read another's records? Can a revoked token still authenticate? Can a partner integration reach admin functions?

The result is a report written for decisions: every finding with an attack chain, business impact, severity you can defend, and remediation your developers can implement.

As a UK provider working under the NCSC CHECK scheme, our testing is recognised across UK government, financial services and regulated industries — and maps directly to Cyber Essentials Plus, ISO 27001, UK GDPR, DORA and NIS2 obligations.

Scanning Compared With Penetration Testing

A scanner validates your schema. A penetration tester reads your API the way a hostile client does — and finds the authorisation gaps no schema check will ever flag.

Why 2|SEC

API Testing Beyond Schema Validation

01

Authorisation first

We test every object-level and function-level check — tenant isolation, role boundaries, admin routes — the way a hostile client would probe them.

02

Manual, certified testers

NCSC CHECK-certified professionals test your API by hand — with the judgment to spot what a scanner scores as noise but an attacker scores as a way in.

03

REST and GraphQL covered

Introspection abuse, query depth attacks, mass assignment and resolver-level authorisation gaps — tested across both modern API styles.

04

Token & session abuse

We attack authentication end to end: JWT flaws, refresh token reuse, scope escalation and revocation that doesn't revoke.

05

Developer-ready fixes

Every finding ships with the request, the code-level cause and the concrete fix — written so your team can reproduce, understand and close it without a call.

06

Retesting included

Fixes often introduce new flaws. We re-verify every remediation against the original attack chains at no extra cost — so your report ends clean, not half-patched.

Choose your target

APIs are one front We test wherever your business is exposed

Every engagement follows the same business-first process — scoped precisely to the systems that matter to your P&L.

How we work

From endpoint map to a report your board can act on

Six phases, from scoping through to ongoing assurance. Every phase is documented, every finding is actionable.

01

Scoping & pre-test

We inventory your endpoints, authentication flows and environments, agree test windows and credentials, and set the rules of engagement — so testing never collides with your production traffic.

02

Testing

Manual adversarial testing across the OWASP API Top 10 and beyond: object-level authorisation, token and session abuse, mass assignment, injection flaws and excessive data exposure — chained into real attack paths.

03

Reporting

Every finding written as an attack chain — the request, the data or privilege reached, the business consequence — with reproduction steps, evidence, OWASP mapping and a fix your developers can act on. Reports land within 5 working days.

04

Remediation

We stay with your developers — by call or on-site — reviewing patches, advising on architecture and confirming each fix closes the flaw rather than redirecting it.

05

Retesting

We replay the full attack chains, not just the individual findings — because a patched endpoint is worthless if the same flaw survives on a sibling route.

06

Continuous assurance Optional

APIs ship weekly. We re-test on your release cadence — every sprint, month or quarter — so new endpoints arrive tested, not untested.

Credentials

Expert Testing Beyond Automated Scans

Penetration Testing

  • CHECK Team Leaders & Specialist Penetration Testers
  • CHECK Team members across engagements
  • Senior, principal-level expertise across all engagements

Governance, Risk & Compliance

  • ISO 27001 Lead Auditors and Implementors
  • PCI DSS and P2PE QSAs
  • Cyber Essentials (CE Plus) Assessors
  • DORA, CAF and NIS2 Experts

Advanced Offensive Security

  • OSCP (Offensive Security Certified Professional)
  • OSWE (Offensive Security Web Expert)
  • eMAPT (Mobile Application Penetration Testing Expert)
Common questions

API Penetration Testing FAQs

Answers about REST and GraphQL testing, authorisation, tokens, undocumented endpoints, production safety and remediation.

What is API penetration testing?

API penetration testing is adversarial testing of API endpoints as a hostile client would use them. It focuses on exploitable weaknesses in authorisation, authentication, token handling, input validation and business logic across interfaces such as REST and GraphQL.

Do you test both REST and GraphQL APIs?

Yes—the API service page explicitly covers both REST and GraphQL. The testing approach changes with the interface because GraphQL introduces issues such as introspection, query depth and resolver-level authorisation while REST often exposes different endpoint and object-access patterns.

Do you test object-level and function-level authorisation?

Yes—authorisation is one of the most important parts of an API penetration test. Testing checks whether one user, tenant or integration can access another party's objects, invoke privileged functions or cross role boundaries that the server should enforce.

Do you test JWTs, access tokens and session handling?

Yes, where those mechanisms are part of the API authentication flow. Testing can examine token validation, scopes, refresh behaviour, reuse, revocation and whether a token issued for one context can be abused in another.

Do you need API documentation before testing?

Documentation is helpful but not always essential. OpenAPI specifications, GraphQL schemas, collections and test credentials can improve coverage and efficiency, while undocumented or shadow endpoints may still be discovered and tested as part of reconnaissance.

Can an API penetration test be performed against production?

Yes, if production testing is appropriate and expressly authorised. Rate limits, sensitive operations, test accounts and potentially disruptive actions should be defined during scoping so the engagement reflects real conditions without creating avoidable business impact.

Do you look for undocumented or deprecated API endpoints?

Yes, where they are discoverable within the agreed scope. Old versions, debug routes and forgotten endpoints matter because an attacker can use any reachable interface, not only the endpoints your current documentation tells legitimate clients to use.

What do we receive after an API penetration test?

You receive findings with reproducible requests, demonstrated impact and remediation guidance for the engineering team. The page also positions retesting as part of the engagement so corrected authorisation, token and business-logic issues can be verified.

Test Your API Against Realistic Attacks

Fixed-fee, CHECK-certified, scoped around your real endpoints. One call is enough to size it.

Book a scoping call
2-SEC / CONSULTATION

Speak to a 2-sec specialist

Tell us a little about your requirements. Our team will follow up to discuss the next step. Fields marked * are required.

We'll use your details to respond to your enquiry. Please avoid passwords or sensitive information. Read our privacy statement (opens in a new tab).