You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can't ask developers to define and enforce all data returned by all API methods.
It's like asking "Implement input validation on every single input on the system" - for many companies it won't be a feasible solution.
As security engineers who provide recommendations for the broad community, we should always keep in mind the trade off between security and the available resources of the company that uses OWASP to improve the security posture.We should always assume that companies have limited resources.
With this mindset, OWASP has been provided recommendations for many years.
Recommendations like "Explicitly define and enforce data returned by all API methods including errors: give all JSON objects schemas, all string objects patterns, use clear field names." don't align with this mindset.
The second part of the last recommendation already appears in the second recommendation.
0 commit comments