Short answer: an API security checklist is the set of checks your team runs before each release: authorization on every object and function, token validation, response fields, input schemas, rate limits, transport, secrets, errors and endpoint inventory. Most can be automated in CI or with a scanner, but authorization, tenant isolation and business flows need a manual tester, and a Pentestica API pentest is usually 5 to 10 tester-days.
On API engagements, the first thing we test is whether one user can read another user’s objects by changing an ID. It’s also the check a team checklist most often passes by accident.
What should an API security checklist cover before release?
It should cover the ten risks in the OWASP API Security Top 10 2023, each turned into a check with an owner. The table maps every risk to a pre-release check and to who can verify it: a CI test, a scanner or a manual tester.
| OWASP API risk (2023) | What to check before release | Who can verify it |
|---|---|---|
| API1:2023 Broken Object Level Authorization | Each request with an object ID checks that the caller may access it. | Manual tester; CI test only with two accounts |
| API2:2023 Broken Authentication | Token signature, algorithm and expiry are validated; login is rate limited. | CI test, manual tester |
| API3:2023 Broken Object Property Level Authorization | Responses return only allowed fields; writes accept only allowed properties. | Manual tester, CI contract test |
| API4:2023 Unrestricted Resource Consumption | Rate, payload and page size limits are enforced. | CI test, scanner, manual tester |
| API5:2023 Broken Function Level Authorization | Admin functions check the caller’s role on the server. | CI test per role, manual tester |
| API6:2023 Unrestricted Access to Sensitive Business Flows | Signup, checkout and similar flows resist scripted abuse. | Manual tester |
| API7:2023 Server Side Request Forgery | Server-fetched URLs are checked against an allowlist. | Scanner for basic cases, manual tester |
| API8:2023 Security Misconfiguration | HTTPS only, strict CORS, generic errors, debug off. | Scanner |
| API9:2023 Improper Inventory Management | Every live endpoint and version is documented; old versions are off. | CI test against the OpenAPI definition; manual tester for old versions |
| API10:2023 Unsafe Consumption of APIs | Third-party API data is validated like user input. | Manual tester |
This list is what your team checks before a release. Our API penetration testing checklist covers what the pentest itself should include when you buy one, the web application security checklist covers the browser side, and the penetration testing checklist covers preparing for any test.
Which checks can CI and a scanner catch, and which need a manual tester?
CI tests and a scanner catch checks with one fixed right answer: a badly signed token, plain HTTP, a verbose error, a missing 429. A manual tester is needed where the answer depends on who is asking or what the data means: API1, API3, API5 and API6, plus SSRF beyond basic cases (API7) and third-party data handling (API10). A scanner sends a valid request, gets a valid response and can’t tell the data belonged to someone else. For SSRF in cloud workloads, our guide to AWS SSRF shows how a fetched URL reaches instance credentials and what IMDSv2 stops.
What most guides miss: a checklist your team signed off doesn’t prove access control, because unit tests usually run with one account, so broken object level authorization (BOLA) stays invisible. Add a second account of the same role and a user in a second tenant to your fixtures, and BOLA tests in CI start to mean something. Our examples of BOLA and mass assignment requests show what those tests should send. Multi-tenant products need this most, which is why tenant isolation is central to SaaS penetration testing.

Static and dynamic scanning still belong in the pipeline for injection, dependencies and configuration; our SAST vs DAST comparison explains where each fits in CI. For dependencies, see what SCA checks that SAST doesn’t.
The 25-check API security checklist
Copy these 25 checks into your release template. Each one names who can verify it, so you can see what your pipeline covers and what still needs a person.
Authentication and tokens
- Token signature: Every JWT is signed or protected with a MAC (message authentication code), and tokens with the algorithm set to none are rejected, per the OWASP REST Security Cheat Sheet. Verified by: CI test.
- Token expiry: The API checks the exp claim on every call, and short-lived access tokens limit how long a leaked token works before it expires. Verified by: CI test.
- Token revocation: Logout, password change and role removal invalidate existing access and refresh tokens. Verified by: CI test, manual tester.
- Login limits: Login, password reset and one-time code endpoints have a rate limit per account and per source. Verified by: CI test, manual tester.
Authorization
- Object level authorization: Every call that takes an object ID checks on the server that the caller may access that object. Verified by: CI test with two same-role accounts, manual tester.
- Tenant isolation: A user in one tenant can’t read, change or list another tenant’s objects through any endpoint, filter or export. Verified by: manual tester with a second tenant.
- Function level authorization: Admin functions check the caller’s role on the server instead of just hiding buttons in the UI. Verified by: CI test per role, manual tester.
- Admin endpoints: Admin endpoints have their own access controls and aren’t reachable from the internet unless there’s a business need. Verified by: scanner, manual tester.
- Business flows: Signup, checkout, referral and booking flows resist scripted abuse through limits or extra verification. Verified by: manual tester.
Data in and out
- Response fields: Each endpoint returns an explicit allowlist of response fields per role, never the whole data object. Verified by: CI test against a response schema, manual tester.
- Mass assignment: Writes bind only allowed properties, so a role or tenant ID slipped into the request body is ignored; the OWASP Mass Assignment Cheat Sheet explains how automatic binding causes mass assignment. Verified by: CI test with extra body fields, manual tester.
- Schema validation: Requests are validated against the OpenAPI definition, and unknown fields, wrong types and oversized values are rejected. Verified by: CI test.
- Injection: Database and system calls use parameterized queries or safe APIs, never string concatenation. Verified by: SAST in CI, scanner.
- Content types: Unexpected Content-Type values get a 415 response, and any XML parser runs with external entities disabled. Verified by: scanner.
Traffic and transport
- Rate limits: Public endpoints have a rate limit and return 429 Too Many Requests when a caller exceeds it. Verified by: CI test, scanner.
- Resource limits: Payload size, page size, upload size and query complexity all have upper limits. Verified by: CI test, manual tester.
- HTTPS and CORS: The API offers only HTTPS endpoints, and CORS headers stay off unless cross-domain calls are expected. Verified by: scanner.
- Security headers: HSTS is set and version-revealing headers are removed; our free website security check gives a quick view of TLS and headers. Verified by: scanner.
Secrets and errors
- No secrets in URLs: Passwords, tokens and API keys never appear in a URL, because URLs can be captured in web server logs. Verified by: manual tester reviewing server logs.
- API keys: Keys are scoped per client, rotated on a schedule and never the only protection for sensitive data. Verified by: manual tester.
- Error messages: Clients get generic error messages, and stack traces and debug mode are off in production. Verified by: scanner.
Inventory and monitoring
- Inventory of endpoints: Every live endpoint and version is in the inventory and the OpenAPI definition, and CI fails when they differ. Verified by: CI test.
- Old versions: Retired versions, such as /v1 next to /v2, are switched off, not just dropped from the docs. Verified by: manual tester.
- Outbound requests: URLs the server fetches for users are checked against an allowlist, and third-party API data is validated like user input. Verified by: scanner for basic cases, manual tester.
- Logging and monitoring: Logs record failed logins, denied access and token errors without storing tokens, and someone monitors alerts on them. Verified by: manual tester.
From our testing: a JSON response that said more than the screen
This is a pattern we keep running into. In a grey-box test of a multi-role web application, we compared API responses from two accounts in different roles, reading every response, not only what the screen showed. On one endpoint, the screen showed only a few fields, but the JSON response contained a much wider range of information. The endpoint serialized the whole data object, so the JSON carried fields the frontend never displayed. The extra fields exposed data the user’s role was never meant to see, and anyone reading the raw response could collect it. A scanner could treat the response as entirely correct because it didn’t know the expected scope of the data. The fix was an explicit allowlist of response fields, defined as a response schema per role, so the API returned only the fields the user actually needed. On retest we replayed the original requests and checked similar endpoints built on the same serializer: the original endpoint came back fixed, and each similar endpoint got its own status of fixed, partially fixed or still present.
When does an API change need a pentest before release?
An API change needs a pentest before release when it changes who can reach which data or money, or when someone outside the team needs independent evidence. If it doesn’t, the checklist and your CI tests can carry the release until the next planned test.
- Choose a pentest before release when you launch a new public API, add a user role or a tenant model, change login, tokens or MFA, or add a payment integration.
- Choose a pentest before release when a customer or auditor asks for independent evidence of testing.
- A checklist review is enough when the release adds fields or endpoints inside existing roles, your CI tests already use two accounts per role, and every changed response is checked against its response schema.
- We advise against treating a clean scanner run as a pre-release pentest for a multi-tenant API: it can’t tell whose data a response should contain.
- We advise against waiting for the annual test after an authorization model change; test the new roles before customers get them.
Our verdict: run the 25 checks on every release, and book a manual test whenever roles, tenants, authentication or payments change.
How much does an API pentest cost, and how long does it take?
A standard web application or API pentest with us costs $2,500 to $5,500 per application or API: a small API with 1 to 3 roles starts from $2,500, and a multi-tenant API goes up to $5,500. The same range applies to web application penetration testing of the frontend that calls the API. Prices exclude VAT where applicable. Effort is 5 to 10 tester-days, and a small single-application scope starts at about 5 tester-days. For example, about 40 endpoints, 3 roles, an admin panel, MFA and a payment integration could take about 5 to 7 tester-days. The price is fixed for the agreed scope, confirmed in writing before testing.
Our API penetration testing runs in this order:
- Scoping: we ask about the number of endpoints, the OpenAPI definition, the authentication type, roles, tenants and integrations.
- Test accounts: two accounts of the same role, accounts in other roles and, for multi-tenant APIs, a second tenant.
- Manual testing: authorization, business logic and the risks from the table, with critical findings reported during the test.
- Report: an executive summary plus a technical report with exploitation evidence and step-by-step remediation.
- Retest: a retest is available after fixes; it replays the original attack path and checks similar endpoints and roles.
You can see that structure in our sample penetration test report, check scopes on the penetration testing pricing page, or read our fintech API case study.
Fixed-price quote
Need an API pentest before your next release?
Tell us about your endpoints, roles and tenants, and we’ll send a fixed-price quote in tester-days. API tests start at $2,500.
Sources: OWASP API Security Top 10 2023, categories API1:2023 Broken Object Level Authorization through API10:2023 Unsafe Consumption of APIs; OWASP REST Security Cheat Sheet (HTTPS, JWT validation, API keys, secrets in URLs, CORS, error messages); OWASP Mass Assignment Cheat Sheet; checked November 2026.

The Pentestica penetration testing team: 25 certified senior pentesters (OSCP, OSCE, CISSP) with 10+ years of offensive security operations and 500+ penetration tests behind them. Our testing is aligned with OWASP, PTES and NIST SP 800-115.
