> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiveth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Attack protection

> How Aiveth stops password guessing, breached passwords and bots, and tells people about sign-ins they may not know.

Aiveth by Gooclaim protects every organization against common sign-in attacks. Some protections are always on. Two are switches your organization controls, and both start **on**.

Find them in the console under **Security** → **Attack protection**. You need the `security:manage` permission to change them.

## Always on

These limits apply to every organization and cannot be turned off:

* **Per network:** 100 failed sign-ins from one address in 15 minutes, then sign-ins from it are refused for a while.
* **Per account and network:** 5 failed sign-ins for one account from one address.
* **Per account:** 10 wrong passwords lock the account for 30 minutes, and the person is emailed. After 100 wrong passwords in a row, the password stops working until it is reset.
* **Same answer for every refusal.** A wrong password, an unknown account and a blocked sign-in all look the same, and take the same time, so the card never reveals which accounts exist.
* **Creating organizations** is limited per network: 20 codes an hour and 5 organizations a day.

## Stop passwords found in data breaches

When on, a **correct** password that is known from a public data breach does not sign in.

* The person sees the same answer as for a wrong password and is emailed to set a new one.
* Aiveth checks the breach list at most once a day per password. If the list does not answer, the sign-in goes on.
* New passwords are also checked against the breach list when they are set.

## Email people about new sign-ins

When on, Aiveth emails the person after a sign-in that looks unusual:

* **New browser:** a browser like this one has not been used by this person in 90 days. Their very first sign-in is never counted as new.
* **Impossible travel:** the sign-in is far from their last one, and they could not have got there in time even by plane. Only big jumps count, because a place guessed from an IP address is often rough.

The email says what was used, roughly where, and when. It contains **no link**: it asks the person to open Aiveth themselves, so a copied email cannot be used for phishing. Each event is also written to the activity log.

The sign-in itself goes on. Accounts with two-step already proved their second factor.

## Bot check

Aiveth uses a bot check (Cloudflare Turnstile) on the sign-in card:

* on sign-up,
* for an address that has failed to sign in 3 times in the last hour,
* for **everyone** signing in to your organization while it is under attack (see below).

The bot check runs on Aiveth's sign-in page. Your own app's calls to the sign-in API do not get a bot check.

## Attack watch

Aiveth watches for a large password attack on one organization: many failed sign-ins, or many different accounts failing, within 10 minutes. When it sees one:

* Your organization's **security contact** is told, or your Owners if no contact is set. Set it under **Security** → **Contacts for Gooclaim** → **Security**. You are told at most once in a while, not on every attempt.
* The event is written to your activity log as "Aiveth saw a password attack on the organization".
* The bot check is shown to everyone signing in on your Aiveth sign-in page while the attack lasts.

## Related

* [Session security](https://docs.aiveth.com/sign-in/session-security.md)
* [Two-step sign-in](https://docs.aiveth.com/sign-in/two-step.md)
* [Admin alerts](https://docs.aiveth.com/events/admin-alerts.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.