Test batch API endpoints for quota enforcement
When testing API endpoints, compare the quota enforcement of similar endpoints, such as single-send and batch-send endpoints. Send a large number of requests to the batch endpoint after the daily quota has been reached on the single-send endpoint to see if it continues to accept and deliver messages. If the batch endpoint does not enforce the same quota checks, it may be possible to bypass the daily quota. Check the dashboard usage counters to see if they reflect the actual usage across all sending paths. Look for inconsistencies in quota enforcement and usage accounting to identify potential security issues.
Follow #api, #business-logic or #quota-bypass for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.