API Penetration Testing

API Security Testing for REST and GraphQL — with Proof

Automated API penetration testing that attacks your endpoints like a real attacker — broken authorization, JWT flaws, injection in JSON, SSRF — and proves every confirmed finding with the exact request and response.

See a sample report

Free plan · No credit card · Bearer tokens, API keys and cookies supported

Why APIs need their own security testing

In a modern web app, the API is the application: the frontend is a client, and every request it makes can be replayed and modified by an attacker. The most common serious API bug is not injection — it is broken authorization: an endpoint that returns another user's data when you change an ID. Scanners that only test HTML pages and forms miss it.

Nautillo Pro tests the API calls your app actually makes, authenticated as your users, and reports a finding as confirmed only when the response proves impact. For background, read how to test for IDOR vulnerabilities in your API.

What the API security test attacks

Injection in JSON bodies

SQL injection (error, union and time-based blind), OS command injection and template injection in JSON parameters, not only HTML forms.

JWT attacks

Algorithm confusion, unsigned tokens, weak secrets and claim tampering — see how in our JWT bypass guide.

Access control

Requests for other users' objects and privileged functions, with the response as proof of what leaked.

GraphQL

Introspection exposure, query batching abuse and missing depth limits.

CORS & protocol

Origin reflection, null origin, Host header injection and HTTP request smuggling.

Exposed secrets

API keys, tokens and credentials in responses, client-side code and exposed .env or .git files.

Guides: JWT bypass · GraphQL security testing · SSRF testing

OWASP API Security Top 10 coverage

What Nautillo Pro tests for each risk in the OWASP API Security Top 10 (2023) — including what it does not.

RiskCoverageHow
API1 Broken Object Level AuthorizationTestedCross-user object access (IDOR/BOLA) on discovered ID patterns, integer and UUID — Professional, Business, and the free plan's monthly active scan.
API2 Broken AuthenticationTestedJWT attack suite, authentication bypass, session and token reuse; login rate limiting and lockout on Business.
API3 Broken Object Property Level AuthorizationPartlyDetects sensitive data such as tokens, keys and credentials exposed in responses.
API4 Unrestricted Resource ConsumptionPartlyGraphQL query batching and depth limits; login rate limiting on Business.
API5 Broken Function Level AuthorizationTestedBFLA via HTTP verb escalation, vertical privilege escalation and unauthenticated access to privileged paths (Business plan).
API6 Unrestricted Access to Sensitive Business FlowsPartlyBusiness logic and race condition tests on flows the scanner can reach.
API7 Server-Side Request ForgeryTestedSSRF probes toward internal and cloud metadata addresses.
API8 Security MisconfigurationTestedCORS, security headers, TLS, verbose errors, Host header and HTTP request smuggling.
API9 Improper Inventory ManagementPartlyDiscovers API endpoints and publicly exposed API documentation.
API10 Unsafe Consumption of APIsNot testedRequires knowledge of your third-party integrations — review it in code and design.

Some tests depend on the plan — see pricing. For web pages, see OWASP Top 10 testing.

How to test your API with Nautillo Pro

  1. 1.Add your app or API URL and confirm you are authorized to test it.
  2. 2.Add a bearer token, API key or session cookie so tests run as a real user.
  3. 3.Launch the scan: it discovers endpoints by crawling the app's API calls and published Swagger/OpenAPI docs, then attacks each one.
  4. 4.Review confirmed findings with the request, response, CVSS score and fix — and export PDF or JSON evidence.
  5. 5.Re-run after fixing, or trigger the scan from CI/CD on every release.

CI/CD setup: security testing in CI/CD · API reference

API security testing FAQ

Run your first API security test

Free plan with no credit card. Professional (€69/month) adds unlimited active testing, the JWT suite and CI/CD; Business (€149/month) adds BFLA, privilege escalation, mass assignment and GraphQL access-control checks.

Compare plans