API penetration testing

Your API is the real front door.

We knock on every endpoint.As every user.Then hand you the fix.

Autonomous AI pentest. Results in hours, not weeks.

Why APIs

The UI hides it.The API doesn't.

Every modern app is a thin interface over an API. The interface hides buttons from users who should not press them. The API often does not check.

Attackers skip the UI and call your endpoints directly, changing ids, adding fields and replaying requests. That is how most API breaches start.

Hetz maps your API from the live app and from any spec you share, then calls every endpoint as every role, guided by the OWASP API Security Top 10.

API risks

The OWASP API Top 10, tested for real.

Proven with the exact request and response.

  • 01

    Broken object level authorization

    Any user can fetch any object by id.

  • 02

    Broken authentication

    Weak tokens, missing expiry, JWT tricks.

  • 03

    Mass assignment

    Extra fields like role or price accepted on write.

  • 04

    No rate limits

    Brute force, scraping and costly calls without limits.

  • 05

    Function level access

    Admin endpoints callable by normal users.

  • 06

    SSRF

    URL inputs that reach internal services.

In every API test

What Hetz tests.

  • 01Endpoint discovery from the app, docs and OpenAPI specs
  • 02REST and GraphQL, including introspection and batching
  • 03Every object id, tried as every role
  • 04Token handling: JWT, API keys, sessions and expiry
  • 05Writes with extra fields: role, owner, price, plan
  • 06Rate limits on auth, search and costly endpoints
  • 07Injection in every parameter and header
  • 08Error messages that leak data or stack traces

How it works

Your domain in.Insights and fixes out.

This is the real run, step by step.Scroll and watch it.

01 / 05

Point it at your domain

Put in your domain and confirm it's yours. Hetz tests only what you own, and only what you approved.

app.acme.ioVerifying
Domain
DNS TXThetz-verify=8f2c91d0a4
AuthorizationSigned by Dana Levi, CTO
Scope lockedapp.acme.ioapi.acme.io

Full fixes

Don't just find it.Fix it.

Every vulnerability ships with a complete fix.The patch, the test that proves it, and a prompt for your coding agent.Paste, merge, retest.Done.

  • Written for your stack: Next.js, Supabase, Firebase, Laravel, Django and more
  • Starts with a failing test, so the fix is proven, not hoped for
  • Built with Lovable, Bolt or Base44? The prompt works there too
CriticalCWE-639 · OWASP API1:2023

Any signed-in user can read any invoice

GET /api/invoices/{id}

Evidence

GET /api/invoices/8812  (as user 4471)
→ 200 OK  {"customer":"user 1203", "total": …}
You are fixing a verified security finding in a Next.js app with Supabase.

Finding: Broken object level authorization (CWE-639, OWASP API1:2023).
Endpoint: GET /api/invoices/{id}
Proof: a request as user 4471 for invoice 8812 (owned by user 1203) returned 200 with the invoice body.

Task:
1. Write a failing test that reproduces the request above.
2. Enforce ownership: only return the invoice when invoice.customer_id matches the signed-in user (or their organization). Add a Supabase RLS policy on the invoices table so the database enforces it too.
3. Return 404, not 403, for invoices the user does not own.
4. Make the test pass and list every other route that reads invoices by id.

Go deeper

Read before you ship.

FAQ

Straight answers.