WSTG and API Security Top 10
Two complementary resources
The Web Security Testing Guide (WSTG) organizes web application and service testing. The versioned 4.2 guide is our reference baseline. The OWASP API Security Top 10:2023 is a separate awareness resource focusing on application programming interfaces (APIs). A test guide helps decide how to collect evidence; a risk list helps identify what might need attention. Neither grants permission to test systems.
API-specific authorization
In a bookstore API, a customer may read their own order, but not another customer’s order (API1:2023). Access to an object does not imply access to every property (API3:2023): a response can include delivery status without internal payment details. Function-level restrictions (API5:2023) separately protect administrative operations. Define checks using fictional identities, local records and expected outcomes; this lesson does not exercise external endpoints.
Resource and inventory risks
API4:2023 concerns uncontrolled resource use: set appropriate limits on request sizes and work per operation. API9:2023 concerns inadequate inventory: maintain an owner and supported status for each deployed API version. A small input-size test can check a declared limit; it does not demonstrate resistance to distributed denial of service. An inventory review can identify an unsupported route that needs investigation without contacting it.
Design a safe test record
Use a test ID, relevant requirement, approved fixture, expected result, observed result and evidence location. For example, T-03: inspect a synthetic customer response; expected public fields are order ID and status only. The recorded response also contains an internal token field name, so the case fails. Redact any actual sensitive values before evidence storage; this example contains none. Record the artifact revision, and use versioned WSTG references when you cite a specific scenario.
Practice: choose the resource
A fictional API has an old route missing from its inventory. Choose an awareness category, define a requirement for inventory ownership and write an offline review case. Explain how WSTG, ASVS and the API risk list play different roles. Sources: https://wstg.owasp.org/v4.2/ and https://api-security.owasp.org/editions/2023/en/0x00-header/.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
WSTG and API Security Top 10 — knowledge check
Apply verification concepts to fictional bookstore records.
Which resource provides guidance on testing web applications?
An authorized response includes an internal field that the customer must not see. Which API category fits most directly?
An old deployed API route is missing from inventory. Which category fits?
What does a small request-size test establish?
Which record is most useful for repeating a test?