Adjust limit
Parameter
#15
Labels
backlog
Issue to be considered in the version after the next of the interface
enhancement
Issue requires improvements or additions to interface functionality
Right now, the limit parameter type is defined by an int32. This allows to request up to 2^32 list entries which are way more than would ever exist for a single user (e.g. payments of last year). This potentially inserts a security flaw like Heartbleed, if the API's backend is not able to handle that big numbers.
To avoid this (theoretic) risk one could strip this parameter to a usable max value. For example, the limit parameter could be extended by a
maximum: 1000
value, which prevents this kind of attack.The specific usable value, that is aligned to everyday use case, needs to be discussed with @six and other TPPs.
The text was updated successfully, but these errors were encountered: