Yes, Ory Kratos provides protection against brute-force attacks by rate limiting requests to API public endpoints, such as login and registration endpoints. This is part of the platform's security infrastructure when using Ory Network. However, if you're self-hosting the Ory Kratos Identity Server, it's the responsibility of the administrator to implement and manage rate limiting or other measures to ensure the security of the network. If you need help with this task, you can reach out to [Ory Support](
https://www.ory.sh/support/). If you're using the Ory Client SDK and receiving a 429 "Too Many Requests" error, it's likely that your application is hitting these rate limits. You may need to adjust your stress testing strategy to avoid hitting these limits, or if you're self-hosting, you may need to adjust the rate limiting settings on your Ory Kratos Identity Server. For more information, you can refer to the [Ory Kratos Security Documentation](
https://www.ory.sh/docs/kratos/concepts/security).