Resources
The sources behind the lab, the guide and the report. Each one was opened at its source and checked.
Start here
A newcomer to the subject can read them in this order.
OWASP
-
OWASP API Security Top 10 2023
The ten API security risks of the 2023 edition, each with attack scenarios and prevention advice, and the lab follows its numbering from API1 to API10.
-
OWASP API Security Top 10 2019
The first edition of the list, kept for comparison with the 2023 edition, in which Excessive Data Exposure and Mass Assignment merged into API3:2023.
-
OWASP Top 10:2025
The 2025 edition of the OWASP list of web application risks, in which Broken Access Control stays in first place.
-
Application Security Verification Standard 5.0.0
Verifiable security requirements for applications on three levels, with chapters on API and web services, authorization and self-contained tokens.
-
Web Security Testing Guide v4.2
The stable version of the OWASP guide to testing the security of web applications, organised as test cases grouped by area.
-
REST Security Cheat Sheet
Short advice for securing REST services, from HTTPS, access control and JWT to input validation, error handling and security headers.
-
Mass Assignment Cheat Sheet
Explains mass assignment, in which a framework binds request fields to properties the client should not set, and gives fixes per framework, including ASP.NET.
-
Server-Side Request Forgery Prevention Cheat Sheet
Advice for preventing server-side request forgery (SSRF), with separate cases for an application that calls only trusted hosts and one that calls any host.
Standards and specifications
-
Guidelines for API Protection for Cloud-Native Systems
NIST guidance that identifies API risk factors and recommends basic and advanced controls for the pre-runtime and runtime stages of APIs.
-
Technical Guide to Information Security Testing and Assessment
NIST guide to planning and conducting technical security tests and assessments, analysing their findings and developing mitigation strategies.
-
Best Current Practice for OAuth 2.0 Security
Current security advice for OAuth 2.0, which updates RFC 6749, RFC 6750 and RFC 6819.
-
JSON Web Token Best Current Practices
Current best practices for using JSON Web Tokens safely, which update RFC 7519.
-
Problem Details for HTTP APIs
A standard JSON format for error details in the responses of HTTP APIs, which obsoletes RFC 7807.
-
CWE-639: Authorization Bypass Through User-Controlled Key
The weakness in which a user reaches another user's data by changing a key value in the request, listed under API1:2023.
-
CWE-918: Server-Side Request Forgery
The weakness in which a server fetches a URL received from the client without checking the destination of the request, listed under API7:2023.
.NET documentation
-
Rate limiting middleware in ASP.NET Core
How to configure the fixed window, sliding window, token bucket and concurrency limiters of the ASP.NET Core rate limiting middleware.
-
Validation in ASP.NET Core
How AddValidation and Microsoft.Extensions.Validation validate minimal API parameters before the handler runs, noting that unmapped JSON properties are not rejected by default.
Tools and labs
-
Zed Attack Proxy (ZAP)
Open-source dynamic security scanner for web applications and APIs.
-
Schemathesis
Tool that tests OpenAPI, GraphQL and gRPC APIs by generating inputs from the schema and chaining operations into realistic workflows.
-
crAPI (completely ridiculous API)
An API that is vulnerable by design, made for learning the ten most critical API security risks.
-
Murayama Vulnerable API
An intentionally vulnerable ASP.NET Core Web API on .NET 10 with labs for all ten 2023 risks, which separates vulnerable and secure endpoints under /api/vulnerable and /api/secure.
Papers
-
RESTler: Stateful REST API Fuzzing
Introduces RESTler, a stateful fuzzer that infers dependencies between requests from the API specification and learns from earlier responses.
-
Automated Black-Box Testing of Mass Assignment Vulnerabilities in RESTful APIs
Black-box detection of mass assignment in REST APIs, which finds read-only fields from the OpenAPI specification and tries to overwrite them.
-
Detecting Broken Object-Level Authorization Vulnerabilities in Database-Backed Applications
A study of real BOLA vulnerabilities in open-source database-backed applications and BolaRay, a tool that combines SQL and static analysis to detect them.
-
Fuzzing for Detecting Access Policy Violations in REST APIs
Automated oracles for access policy violations in REST APIs, added to the EvoMaster fuzzer as a security testing phase after fuzzing.
-
Testing RESTful APIs: A Survey
A literature review of RESTful API testing, which classifies the existing work and discusses the open challenges.
Reports and guidance
-
Preventing Web Application Access Control Abuse
Joint advisory on insecure direct object reference (IDOR) flaws in web applications and APIs, with mitigations for developers and for organisations that use such applications.