What it does
Does every server action and API route validate its input on the server before using it, and refuse a bad request with one structured error body (a stable code, the field at fault, a message) in the same shape on every route?
How it helps you
Bad requests get refused on the server with one clear error format.
Tested against itself
42 deliberate breaks, all caught
We change this check on purpose and watch its test fail. Each dot is one of those changes.
Details
| Category | Security |
|---|---|
| Also filed under | Forms |
| Checks in this category | 119 |
| ISO/IEC 25010 | Security |
| OWASP ASVS | V2.2.1, V2.2.2, V2.2.3, V15.3.5, V15.3.7 |
| CWE | CWE-20 |
| Breaks caught | 42 |