Why API penetration testing methodology matters to your audit or customer review
When a framework, a customer security review, a launch or an insurer requires an API penetration test, the method matters as much as the findings. A reviewer needs to know which standards the tester followed, how each test maps to a recognized risk list, and whether the work can be checked later. A method that is stated in the scope of work and tied to published identifiers, such as the OWASP API Security Top 10 2023 categories and the test IDs in the OWASP Web Security Testing Guide (WSTG) API Testing chapter, gives your auditor or customer something concrete to review. A vague promise of a thorough test does not.
The risks that API testing addresses are mostly logic and authorization risks. Broken object level authorization (API1:2023) and broken function level authorization (API5:2023) allow one user to reach another user's records or privileged functions, and they rarely show up in a scanner's output. Authentication weaknesses (API2:2023), exposed object properties (API3:2023), unrestricted resource consumption (API4:2023) and unrestricted access to sensitive business flows (API6:2023) follow the same pattern. Automated tools cannot fully verify business logic and access control, and the ASVS 5.0.0 guidance says so directly. A method that relies only on automated scanning therefore leaves the highest-impact risks unverified.
Before you sign, ask the provider to state its method in writing: which standards it follows, how it maps each test case to the API Security Top 10 and the relevant WSTG test IDs, which API technologies it covers (REST, GraphQL, SOAP, gRPC or WebSockets), and whether it will test with documentation, source code and authenticated test accounts. Confirm the level of ASVS verification your framework expects, since ASVS 5.0.0 chapter V4 covers API and web service requirements. A method that can be stated and checked this way is one your auditor or customer can accept on evidence.
How an API penetration test moves from scoping to retest
The sequence turns an agreed API scope into evidence a buyer can act on: each phase hands a defined output to the next, so findings trace back to what was tested and how. The order below follows the planning, conducting and evaluating structure described in NIST SP 800-115.
Agree scope and rules of engagement
The client and the testing provider agree in writing which APIs, versions, environments and test accounts are in scope, what is off limits, and how testing is paused or stopped. The tester confirms which access it will have, such as an API specification, tokens for several roles, or source code, and which testing viewpoint applies. The step is done when the scope of work and rules of engagement are signed and the client has named an emergency contact. Ask the provider which parts of the scope it cannot test without a specification or a second account, and record that gap before work starts.
Build the API inventory
The tester maps the APIs that exist, not only the ones the client documented. This covers published specifications, gateway routes, mobile and frontend traffic, older API versions and internal endpoints exposed to the internet. The output is an inventory listing each endpoint, its technology, its authentication method and its owner, which feeds the OWASP API Security Top 10 2023 category API9 Improper Inventory Management. Ask the client to confirm whether deprecated versions still accept traffic, since those are often missed.
Select techniques for each API technology
The tester chooses test techniques according to what the API is built on. REST and JSON APIs, SOAP services, GraphQL endpoints, gRPC services and WebSocket connections each have different authentication, schema and message behavior, so the OWASP WSTG API Testing chapter is applied per technology. The output is a test plan that lists which techniques run against which endpoints and which WSTG test identifiers apply. Each WSTG test carries a unique reference, such as WSTG-APIT-01, which lets the plan and the final report refer to the same test without ambiguity.
Run tests mapped to risk categories
The tester executes the planned tests and records each result against the OWASP API Security Top 10 2023, using API1 Broken Object Level Authorization through API10 Unsafe Consumption of APIs as the mapping basis. Authorization checks are run with several test accounts and roles, because automated scanners cannot judge many access control decisions alone. The step is complete when every planned test has an outcome recorded as passed, failed, not applicable or not tested, with the reason for any exclusion written down.
Validate and rate findings
Each suspected weakness is confirmed by the tester, checked for false positives, and described in terms of the affected endpoint, the required privileges and the data or function exposed. The tester then scores severity, and the client can add environmental context such as data sensitivity or exposure. The output is a validated finding list where every entry has a reproducible description written for a developer, and where unconfirmed items are removed or clearly labeled. Ask the provider how it separates confirmed issues from scanner output in the final list.
Report coverage and findings
The tester delivers a report that records scope, method, the WSTG and API Top 10 mapping, the tests performed and not performed, and each validated finding with its remediation guidance. The report should also state what was not verified, so the reader can see the limits of the test. The step is done when the client has accepted the draft and the report is final. Confirm with the provider whether the report includes a coverage table, since that is what an assessor or customer reviewer usually needs first.
Retest fixed findings
After the client applies fixes, the tester repeats the original tests for each finding and records whether the weakness is closed, partly closed or still open. Retest results are added to the report as a dated addendum, keeping the original evidence intact. The step is complete when every finding has a retest status. Ask the provider how retest scope is defined, including whether it covers only the reported findings or also checks for regressions in the same endpoints.
Which public standards a method can follow and what each one contributes
No single public standard gives a complete API test method. NIST SP 800-115 supplies the process, the OWASP guides supply techniques and risk categories, and ASVS and PCI DSS supply requirements that an assessor can verify. A sound method combines them and states which parts each standard covers.
NIST SP 800-115 as the process framework
NIST SP 800-115 is a phased methodology for information security testing that covers planning, conducting and evaluating an assessment. It tells you how the engagement should be organized, approved, executed and reported, but it does not list API-specific tests. Use it to check that the proposal defines rules of engagement, roles, evidence handling and how findings are validated before reporting. Ask the provider to show where each phase appears in its own plan.
- Year published
- 2008
WSTG API Testing chapter as technique catalogue
The OWASP Web Security Testing Guide has an API Testing chapter that gives each test a unique reference, such as WSTG-APIT-01 for the first test in the domain. It covers REST, SOAP, GraphQL, gRPC and WebSockets, so the tester must choose techniques per technology rather than run one list everywhere. Confirm which WSTG version the provider cites: v4.2 is the current stable release, and the project states that version 5.0 is in development.
WSTG API testing overviewOWASP API Security Top 10 as risk taxonomy
The OWASP API Security Top 10 2023 ranks the risks that most often affect APIs, from broken object level authorization in API1 to unsafe consumption of APIs in API10. It gives a method a shared vocabulary for mapping test cases and for grouping findings in a report. It does not tell a tester how to test, and a category with no test behind it is only a label. Ask how each category is covered, and which categories were judged not applicable and why.
API Top 10 2023 risksASVS 5.0.0 chapter V4 and verification levels
OWASP ASVS 5.0.0, dated May 2025, includes chapter V4 for API and web service requirements, and it defines verification levels L1 to L3 that increase in depth. OWASP advises starting with L1 for the most critical concerns and moving up as the application requires. ASVS expects a verification report to list the requirements checked, exceptions and requirements that do not apply, which is more than an exception list. Confirm the chosen level and whether the provider works from API documentation or source code.
ASVS 5.0.0 sourceOWASP GraphQL Cheat Sheet for GraphQL specifics
The OWASP GraphQL Cheat Sheet names the main GraphQL threats as injection, denial of service, broken authorization including IDOR, batching attacks and insecure default configurations. Its controls include query depth and amount limits, query cost analysis, rate limiting and disabling introspection and GraphiQL in production. It covers only GraphQL, so a REST or gRPC endpoint still needs the WSTG and API Top 10 mapping. Check whether the provider tests resolver-level authorization, not only the schema.
GraphQL cheat sheetPCI DSS 11.4.1 and 6.2.4 for payment scope
When an API handles cardholder data or sits in the payment path, PCI DSS v4.x requirement 11.4.1 calls for application-layer penetration testing that covers at least the vulnerabilities listed in requirement 6.2.4. That list includes abuse or bypass of application features through manipulation of APIs and client-side functions, which is business logic testing rather than a scanner run. A standard sets the minimum; it does not define depth, so ask the assessor to show how API abuse cases were tested and documented.
PCI DSS v4.0 SAQ DEach API test phase hands a defined output to the next
The diagram starts with scoping and engagement rules, which fix the APIs, versions, environments and test accounts in play. Those decisions feed an inventory and documentation review, which shows the endpoints that exist, including undocumented ones, before any test runs. Testing then follows two tracks: authenticated testing with the account roles agreed in scope, and unauthenticated testing from outside. Both tracks map candidate issues to the OWASP API Security Top 10 2023, API1 to API10. Validation confirms each issue before reporting. Client remediation is followed by a retest, and anything still open returns to validation.
Phases of an API test and the hand-offs between them.
How technique changes between REST, GraphQL, SOAP, gRPC and WebSockets
REST APIs expose resources through URL paths, HTTP methods and JSON bodies, which makes object identifiers and HTTP verbs the main surface to examine. The WSTG API Testing chapter treats REST as the most common starting point, and the largest share of findings usually sits in authorization between objects and functions rather than in the transport itself. Testers need the OpenAPI or similar specification if one exists, a list of endpoints including undocumented ones found through traffic or code, and at least two test accounts with different roles.
- Object-level authorization: Identifiers in paths and bodies are checked for whether one user can reach another user's records (API1:2023).
- Function-level authorization: Administrative and privileged routes are checked against roles that should not reach them (API5:2023).
- Property exposure: Responses and update requests are compared for fields a client should never read or set (API3:2023).
- Resource limits: Pagination, rate limits and payload sizes are reviewed for unrestricted consumption (API4:2023).
- Inventory: Old versions, debug routes and undocumented endpoints are listed and compared with the published specification (API9:2023).
Before testing, confirm with the client which specification version is current, whether undocumented routes are in scope and which test accounts are available for each role.
GraphQL exposes a single endpoint with a typed schema, so the tester works from the schema and resolvers rather than from a list of paths. The OWASP GraphQL Cheat Sheet names injection, denial of service, broken authorization including IDOR, batching attacks and insecure default configurations as the main threats. Testers need the schema if introspection is enabled, or the client's schema export if it is not, plus role-based accounts, because authorization often fails at individual field resolvers.
- Introspection and tooling: Whether schema discovery and interactive consoles are reachable in the environment under test.
- Field and resolver authorization: Whether each field enforces its own access check, since a protected query can expose the same data through another field.
- Depth, cost and batching: Whether query depth, amount limits, cost analysis and batched operations are bounded (API4:2023).
- Argument handling: Whether arguments reach databases or downstream calls without validation (injection).
- Error messages: Whether errors reveal schema internals or stack traces.
Confirm before testing whether introspection is meant to be disabled in the target environment, since the answer changes how much of the schema the tester can map from the client side.
SOAP services describe their operations in WSDL documents and exchange XML envelopes, so the contract is usually the most reliable starting point. The WSTG API Testing chapter covers SOAP alongside REST and GraphQL, and the same authorization concerns apply, although they are carried in XML elements and headers rather than URL paths. Testers need the WSDL and schema files (XSD), the endpoint addresses, and credentials or certificates for each role the service supports.
- Operation-level authorization: Whether each operation in the WSDL checks the caller's role, which matters because many operations share one endpoint.
- XML parsing: Whether the parser handles external entity references and entity expansion safely, which falls under injection and misconfiguration categories.
- Schema validation: Whether messages are validated against the published XSD, and whether extra elements are accepted.
- Security headers and token handling: Whether WS-Security tokens or certificates are validated, expired and bound to the right operations (API2:2023).
- Legacy exposure: Whether old WSDL versions and administrative operations remain reachable (API8:2023, API9:2023).
Ask the client whether the WSDL is publicly reachable in production, since exposed contracts widen the inventory the tester must review.
gRPC uses Protocol Buffers for message definitions and HTTP/2 for transport, so the service contract is in .proto files and the traffic is binary by default. The WSTG API Testing chapter covers gRPC as its own technique area. Authorization concerns persist, but testing depends on decoding messages and mapping methods to roles. Testers need the .proto files or service reflection output if enabled, the TLS configuration and client certificates or tokens for each role.
- Method-level authorization: Whether each remote procedure checks the caller's role, since streaming and unary methods can carry different checks.
- Reflection and discovery: Whether server reflection is enabled outside development environments, exposing the full method list.
- Message fields: Whether fields that should be server-controlled can be set by clients, which resembles property-level exposure (API3:2023).
- Resource consumption: Whether streams, message sizes and concurrency limits are bounded (API4:2023).
- Transport and identity: Whether TLS and mutual authentication are enforced consistently across services.
Confirm whether the client can supply the .proto definitions to the tester, because testing without them takes longer and the coverage statement must say so.
WebSockets start as an HTTP upgrade and then keep a long-lived bidirectional channel, so authorization applies to the handshake and to every message after it. The WSTG API Testing chapter covers WebSockets as a distinct area. Testers need the handshake endpoint, the message format used by the application (often JSON), the list of event or message types, and accounts for each role, along with a clear statement of session lifetime.
- Handshake authentication: Whether the upgrade request validates the session or token and whether origin checks are applied.
- Per-message authorization: Whether each message type checks the sender's rights, because a connection authenticated once can send messages the user should not.
- Session lifetime: Whether connections remain open after logout, password change or token expiry (API2:2023).
- Message handling: Whether incoming messages are validated and whether large or frequent messages are limited (API4:2023).
- Unsafe outbound calls: Whether server-side fetches triggered by messages are restricted to approved destinations (API7:2023).
Confirm with the client how long connections are meant to live and which message types are sensitive, because those answers set the test cases for session and per-message checks.
Which API weakness categories the method maps its test cases to
This table lists the ten OWASP API Security Top 10 2023 categories, what each looks like in a live API, how a test approaches it and why an auditor or customer will ask about it. Use it as a map from the method's test cases to the risk categories a reviewer expects to see covered in the report.
| Category | What it looks like in an API | Testing approach (conceptual) | Why it matters to an auditor or customer |
|---|---|---|---|
| API1:2023 Broken Object Level Authorization | One user reads or changes another user's records by changing an object identifier in a request | Compare responses for the same object across accounts with different ownership and roles | Cross-tenant data exposure is among the first questions in a customer security review |
| API2:2023 Broken Authentication | Weak token validation, unprotected login or reset paths, or credentials accepted outside their intended scope | Review token lifecycle, session handling and authentication on every API entry point | Authentication failures are a direct line item in most customer and regulator questionnaires |
| API3:2023 Broken Object Property Level Authorization | Responses return fields a caller should not see, or requests can write fields a caller should not change | Compare full object representations by role and test writable properties against allowed values | Excess data exposure is a common finding that affects privacy and data protection reviews |
| API4:2023 Unrestricted Resource Consumption | No effective limits on request rate, payload size, pagination or expensive operations | Confirm which limits exist and whether they hold under the expected load and across accounts | Availability and cost exposure matter to operators and to customers with service level commitments |
| API5:2023 Broken Function Level Authorization | Administrative or privileged endpoints reachable by lower-privileged callers, or methods not checked per role | Map functions to roles and test each function with each role, including hidden or undocumented ones | Access control reviews ask for evidence that privileged functions are restricted by role |
| API6:2023 Unrestricted Access to Sensitive Business Flows | Automated use of a flow such as purchase, signup or coupon redemption in ways the business did not intend | Test whether flows resist scripted or repeated use, and whether controls match business risk | Payment and fraud reviews rely on this category, and scanners rarely find it without manual work |
| API7:2023 Server Side Request Forgery | An API fetches a URL or resource supplied by the caller and reaches internal or unintended destinations | Identify inputs that trigger server-side fetches and check which destinations are reachable | Cloud metadata exposure and internal network access are high-impact outcomes for reviewers |
| API8:2023 Security Misconfiguration | Verbose errors, permissive CORS, unnecessary HTTP methods, default settings or missing security headers | Review configuration across environments and compare responses against the documented baseline | Configuration evidence is often requested alongside hardening standards and cloud review results |
| API9:2023 Improper Inventory Management | Old versions, debug endpoints or undocumented routes remain live beside the published API | Build an inventory from specifications, gateways and traffic, then compare it with what is documented | Scope accuracy depends on it, and reviewers ask whether all live APIs were in the test |
| API10:2023 Unsafe Consumption of APIs | The API trusts data from third-party or upstream services without validating it | Trace how upstream responses are validated, sanitized and bounded before use | Supply chain and integration risk is increasingly part of third-party due diligence |
What moves the price and duration of an API test
How does the number of APIs and versions change the price of an API test?
Each API, and each live version you want tested, adds its own surface, so the tester's effort grows roughly with the number of distinct interfaces in scope. A public v1 and an internal v2 that share a gateway are two surfaces, not one. Ask the provider to list every API and version by name, state which ones are production and which are retired but still reachable, and confirm whether older versions are included or only flagged for inventory review. Retired versions still reachable are a common source of findings under API9:2023 Improper Inventory Management, so leaving them out can be a scope decision you need to record.
Does endpoint count or API documentation quality affect the test effort?
Yes. A well-maintained OpenAPI or other specification lets the tester map endpoints, parameters and schemas quickly, while undocumented endpoints must be discovered and mapped by hand, which takes longer. The tester's effort depends on the number of endpoints, the number of parameters per endpoint and how many operations need authorization checks. Ask whether the quote is based on a documented endpoint count, whether the provider will reconcile the specification against the running service, and how undocumented or deprecated routes will be handled if they are found during testing.
Why do the number of roles and test accounts matter for API testing?
Most high-value findings in API testing are authorization failures, such as one user reading another user's objects or a standard role calling an administrative function. Testing these needs at least two accounts per role that matters, and often more for multi-tenant systems. Each role multiplies the number of request combinations the tester must compare, which increases effort. Ask who provisions the accounts, whether they are created with realistic data sets, how they are removed after the test, and whether the quote assumes a fixed number of roles.
How do the technologies in use change the approach and the cost?
The OWASP WSTG API Testing chapter covers REST, SOAP, GraphQL, gRPC and WebSockets, and each uses different techniques for discovery, authorization and input handling. A single REST service is usually the least effort, while a mixed estate with GraphQL, WebSocket streams and gRPC between services requires specialist technique for each. Ask the provider which technologies they will test, what tooling they use for each, and whether any protocol will be covered only at a lighter depth.
How much does authenticated versus unauthenticated coverage change the effort?
Unauthenticated testing covers what an outside party can reach, while authenticated testing covers what each logged-in role can do, which is where authorization and business logic flaws usually sit. CIS Controls v8.1 Safeguard 16.13 describes authenticated testing as better suited to finding business logic weaknesses in critical applications. Authenticated coverage generally takes more effort because the tester must work through each role and workflow. Ask whether the quote covers authenticated testing for every role in scope, or only a sample, and how the tester will document which roles were covered.
Does access to the source code or specification change the price?
It can. ASVS 5.0.0 strongly encourages documentation or source code led (hybrid) testing over testing without either, and notes that automated tools cannot fully verify many business logic and access control requirements. Access to a specification, a Postman collection or source code lets the tester reach authorization logic faster and with less guesswork, which can shorten the engagement. The trade-off is that the provider must review and reconcile what they receive. Ask which artifacts you will supply, in what form, and whether the quote assumes black box, grey box or source-assisted work.
How do environments and the ASVS level chosen affect the duration of an API test?
Testing environments differ in their data, configuration and reachability, so the tester may need to confirm results in more than one place. Testing against a production-like staging environment usually needs setup time, and testing in production adds coordination, change windows and rules of engagement. The ASVS level, which the OWASP guidance describes as L1 to L3 in increasing depth, also drives effort: L1 focuses on the most critical concerns, while higher levels add verification requirements. Ask which environment the test will run in, who will confirm it is representative, and which ASVS level the quote is priced against.
Are retest rounds included in the price of an API penetration test?
Retesting is usually a separate line in the quote, because it is effort after the original findings are fixed. The initial test is priced on discovery and testing; a retest confirms each fix and updates the report. The number of retest rounds, the number of findings to recheck and whether the retest needs fresh accounts or a new build all change the cost. Ask the provider to state in writing how many retest rounds are included, what counts as a closed finding, how the retest is recorded in the report, and whether a later retest is priced separately.
What the report contains and whether it serves an auditor or customer
An API penetration test report is only useful if it shows what was tested, against which standards, and what was found and fixed. The cards below cover the parts a CISO, auditor or enterprise customer will look for, and where the report stops short of an audit opinion.
Executive summary for decision makers
The summary states the APIs in scope, the testing viewpoint used (unauthenticated, authenticated, or documentation-led), the overall risk picture and the number of findings by severity. It should be readable without the technical sections. Check that it names the test window and the tester's team, and that it does not claim the API is secure. A summary that only says "no critical issues" without naming what was covered gives an auditor nothing to rely on.
Scope and the standards used
This section records the API endpoints, versions, environments and accounts tested, plus any exclusions. It must name the method and standards followed, such as NIST SP 800-115 for the phases, the OWASP Web Security Testing Guide API chapter for test selection and the OWASP API Security Top 10 2023 for risk categories. Confirm that the report lists the technologies covered, such as REST, GraphQL or WebSockets, because techniques differ by technology.
WSTG API testing overviewFindings mapped to OWASP identifiers
Each finding should carry an API Top 10 category, such as API1 Broken Object Level Authorization, and a WSTG test reference where one applies. Reproduction context matters: the report should state the endpoint, the account role used, the request conditions and the observed response, written so the client's engineers can verify the issue. It should not contain working exploit code. Ask for a sample finding to confirm the level of detail.
- Example category
- API1:2023
Severity with environmental context
A severity rating means little without the conditions around it. Look for a CVSS v4.0 base score with environmental context added, showing whether the API handles regulated data, whether it is internet-facing and which controls already reduce exposure. The report should explain how each score was assigned, so the client can challenge a rating it disagrees with. Ask the tester to state which scoring decisions were judgment calls.
Requirement coverage and exclusions
ASVS reporting guidance asks for more than a list of issues. A useful report summarizes which requirements were checked, identifies those with exceptions along with guidance on resolving them, and notes any requirements that do not apply and why. For an API, this shows how chapter V4 and the authentication and authorization chapters were covered. Confirm whether the tester used ASVS at all, and at which level, before relying on coverage claims.
ASVS 5.0.0 sourceRetest results and the tester's letter
A retest report confirms which findings were fixed, which remain open and which were accepted as risk by the client. Each retested item should show the evidence used to close it. Many firms also provide a letter summarizing the test. That letter is evidence from the tester about work performed. It is not an audit opinion, attestation or certification, and an auditor will still assess it under its own procedures. Confirm this distinction with your assessor before submitting the letter as proof.
What your team prepares before the first request is sent
Before a tester sends a single request, the client needs to hand over the material that the planning phase depends on. The most important item is the API inventory: the list of base URLs, versions, and endpoints in scope, together with whatever specifications exist, such as OpenAPI documents, GraphQL schemas or WSDL files. Ask your team to state which documents are current and which are known to be stale, because an out-of-date specification is one of the main reasons testers miss undocumented or deprecated endpoints. The inventory feeds the planning and discovery phases directly, and it is also where the API9 Improper Inventory Management category gets its first check. Confirm the list with the owners of each service, not only with the team that built the front end.
Next, prepare test accounts for each role that the API enforces, including unauthenticated access where the design allows it. Object and function level authorization, the focus of API1 and API5 in the OWASP API Security Top 10 2023, can only be tested by comparing what two accounts of different privilege can reach. Provide at least two accounts per role, separate tenants where the product uses them, and the tokens or client credentials needed to obtain them. Agree in writing who issues these accounts, how they are reset after the test, and whether the tester may create and delete data. Also confirm environment access: the target environment, any VPN or allow-listing required, and the data handling rules for personal or payment data that testers may encounter in responses.
Finally, settle the operational arrangements that the execution and reporting phases rely on. Name a technical contact who can answer questions within the test window, a escalation contact for critical findings, and a person who can approve load-related activity. Record the rate limits that apply at the gateway and whether the team wants testing to run within them or to probe them deliberately, since API4 Unrestricted Resource Consumption cannot be assessed without that decision. Agree a change freeze for the test window so that a deployment does not alter the target mid-test, and confirm who monitors the logs and alerts so that the security operations team knows the activity is authorized. All of this should be captured in the rules of engagement before the first request, because a test run without signed rules is hard to defend to an auditor.
What to check before you sign with an API testing provider
The decisions below separate a provider with a defined method from one selling a generic scan with a report attached. Each one is something you can ask for in writing before the statement of work is signed, and each one shapes what your team and your auditor receive at the end.
Ask for the written method and its mapping
Request the method as a document, not a sales slide. It should name the phases, the public standards it follows, and how each test case maps to the OWASP API Security Top 10 2023 identifiers (for example, API1 Broken Object Level Authorization) and to the test IDs in the OWASP Web Security Testing Guide API Testing chapter. Check that the method picks techniques per technology, such as REST, GraphQL, gRPC or WebSockets, rather than applying one checklist to every API. Confirm whether NIST SP 800-115 is used for planning and reporting, since it covers the assessment phases that surround the technical work.
WSTG API overviewAsk how authorization and business logic are tested
Automated scanners cannot verify most object and function level authorization or business logic on their own. ASVS 5.0.0 says automated DAST and SAST tools cannot fully verify many requirements, especially in these areas. Ask the provider to describe the manual test cases they run for cross-account object access, function access by role, workflow bypass and abuse of sensitive business flows (API6:2023). A provider whose answer is mainly tool output has not explained how these checks are done.
Confirm the authenticated coverage approach
Ask which viewpoints the testers will use: unauthenticated, as a standard user, as a privileged user, and, where relevant, as a partner or service account. CIS Controls v8.1 Safeguard 16.13 describes authenticated testing as better suited than automated testing to finding business logic flaws on critical applications, with testers acting as both authenticated and unauthenticated users. Confirm in writing how many test accounts you must supply, which roles they hold, and whether testers receive API documentation or source access. Documentation-led testing is the approach ASVS 5.0.0 encourages.
Request a sample report structure
Ask for a redacted sample report before signing, and check that it contains a scope statement, the method, findings with reproduction steps, severity scoring with the basis stated, and a list of what was tested with no issue found. ASVS 5.0.0 says a traditional penetration test report lists issues by exception, while an ASVS verification report also summarizes the requirements checked and notes those that do not apply. Decide which format your auditor or customer expects before you choose the provider.
Confirm retest terms in writing
Retesting is often the part of a quote that is least defined. Ask whether one retest of confirmed findings is included, what counts as a fixed finding, how long after the report the retest window runs, and whether retest findings are issued as a separate document. Your contract should state the retest scope, not just that a retest is available. Clear terms here determine whether the final report can support a remediation claim in your compliance file.
Verify any accreditation the provider holds
Some providers mention accreditation for ASVS-based testing. CREST announced its OWASP Verification Standard accreditation on 28 October 2022, and the scheme assesses testing organizations at Levels 1 and 2. Ask the provider for the accreditation certificate, its current status and the scope it covers, and check the listing on the accrediting body's site yourself. OWASP does not certify vendors, so any claim of ASVS certification from a provider should be treated with caution until it is verified.
CREST OVS announcementCommon questions about API penetration testing methodology
How long does an API penetration test take?
No fixed duration applies to every API test, so the length depends on the scope you agree in writing. The main drivers are the number of endpoints and API versions, the number of distinct roles and authentication methods, whether the tester has the API specification and source code, how many technologies are involved (REST, SOAP, GraphQL, gRPC or WebSockets), and whether the test includes retesting. Ask the assessor to show how the estimate breaks down by endpoint group, role and technology, and to state which assumptions it depends on. The OWASP WSTG API Testing chapter lists the techniques per technology, which helps you compare how each proposal allocates effort.
Can our internal security team run an API penetration test?
An internal team can test its own APIs if it has the skills, time and independence the test needs. Neither NIST SP 800-115 nor the OWASP guides require an external firm, but many compliance frameworks and customer reviews expect the tester to be independent of the team that built the system. Check whether your framework or customer defines independence, and whether your team can cover authorization logic, business flows and the API technologies in scope. A hybrid model is common: internal staff run continuous checks while an external assessor performs a documented, scoped test. Confirm these points with the assessor and your compliance lead before deciding.
Is an automated API scanner enough for a penetration test?
No. Automated scanners find many known misconfigurations and common input flaws, but they cannot fully verify authorization, business logic or access control. ASVS 5.0.0 states that automated DAST and SAST tools cannot fully verify many requirements, especially those on business logic and access control. CIS Controls v8.1 Safeguard 16.13 describes authenticated, manual testing as better suited to finding business logic vulnerabilities in critical applications. A scanner is useful as one input to the test, for coverage and repeatable checks. The method should still include manual work mapped to the OWASP API Security Top 10 2023, especially API1 and API5.
Is NIST SP 800-115 mandatory for API penetration testing?
No. NIST SP 800-115, published in 2008, is a technical guide to information security testing and assessment, not a regulation or a certification requirement. It describes a phased methodology for planning, conducting and evaluating assessments, and many providers use it as a structure for their process. Your framework, regulator or customer may name it, so check their wording. If they do not, you can ask a provider to explain how its method follows the guide's phases and where it adds OWASP-specific testing. Treat the guide as a reference for method, and write the chosen method into the statement of work.
Which OWASP version should an API test follow?
Use the current stable editions and state the version in the scope. The OWASP WSTG v4.2 is the current stable release, published on 3 December 2020, and OWASP's project page says version 5.0 is in development. Because the release is still in development, confirm with the assessor which version their method is built on and how they handle any differences. For API risk categories, the OWASP API Security Top 10 2023 is the edition to map findings against. For verification depth, ASVS 5.0.0 with its chapter V4 for API and web service requirements is the reference. Record the chosen versions in your report so the results can be compared later.
What must we provide before an API penetration test starts?
Most of the test depends on what the tester can see, so prepare the following before work begins:
- API specifications such as OpenAPI or GraphQL schemas, or a written list of endpoints for each version in scope
- Test accounts for each role and authentication method, with agreed data that can be changed safely
- Test and staging environments that match production as closely as your risk allows, plus named contacts for incidents
- Source code or architecture documentation where the method relies on it, since ASVS 5.0.0 encourages documentation or source code led testing
- Written rules of engagement covering testing windows, rate limits, prohibited actions and what happens if a critical issue is found
Confirm the exact list with the assessor during scoping, because the requirements vary by technology.
Will an API penetration test report satisfy PCI DSS or a customer security review?
A report can support these reviews, but it does not satisfy them on its own. PCI DSS requirement 11.4.1 requires application-layer penetration testing that identifies, at minimum, the vulnerabilities listed in requirement 6.2.4, including business logic and API manipulation attacks. A qualified assessor and your QSA decide whether a given test meets that requirement. Customers and their security teams decide whether your evidence is sufficient. Ask the provider whether the report lists scope, method, findings and retest results, and whether it includes the checks your framework expects. DeployOpen does not issue audit reports or attestations; independent auditors and certification bodies do that work.
How DeployOpen scopes, tests, reports and retests API engagements
DeployOpen runs API penetration tests as fixed-scope engagements, with scope, deliverables and timelines agreed in writing before any testing starts. The method is defined per engagement so that it fits the API technologies, the environment and the compliance or customer requirement behind the test.
How we scope
- The written scope lists which APIs, versions and environments are in bounds before work begins.
- Rules of engagement record testing windows, accounts, rate limits and what is off limits.
- We confirm the technologies in use, such as REST, SOAP, GraphQL, gRPC or WebSockets, and choose techniques for each.
How we build
- Test cases map to the OWASP API Security Top 10 2023 and to the relevant WSTG API Testing identifiers.
- Where documentation, specifications and test accounts are provided, we test from them rather than guessing at behavior.
- Business logic and authorization checks are performed manually, since automated scanners cannot verify them fully.
How we hand over
- The report covers scope, method, findings with reproduction steps, severity scoring and recommended fixes.
- Findings map to OWASP identifiers so your development and security teams can track each item to closure.
- Where your auditor or customer asks for ASVS coverage, we state which requirements were checked and which do not apply.
How we support
- Retesting confirms whether each fix works, and the retest results are added to the report.
- Ongoing support, upgrades and continuous testing are available as retainers after the initial engagement.
- Ask us to confirm the report format, retest scope and evidence your compliance team needs before signing.

