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

# Sentinel Mode

> Sentinel Mode is an optional setting on any Meta Vault, single- or multi-strategy. Every strategy is watched for risks, for example exploits and depegs. On a confirmed risk the vault pauses within seconds, withdraws the capital into its idle balance and can move it into a pre-approved fallback, with no signature from any user.

Sentinel Mode is a setting you turn on for any Meta Vault, single-strategy or multi-strategy, when protecting the deposit is the main requirement. Every strategy in the vault is watched for risks, for example exploits and depegs. When monitoring confirms a risk, the vault pauses within seconds, then the capital is withdrawn into the vault's idle balance and can be moved into one of its pre-approved fallbacks. If no fallback is set, the capital stays in idle. In normal conditions the vault runs like any other Meta Vault.

Sentinel Mode is not a separate kind of vault, and it works the same whether the [Meta Vault](https://docs.yield.xyz/documentation/earn/oavs/meta-vaults/index.md) runs one strategy or ten. It adds risk monitoring, a pre-signed automatic pause, an automatic exit to idle for confirmed exploit risks and an optional move to one or more pre-approved fallbacks. Customers hold vault shares in their own wallets rather than a position in the strategy itself, so the vault can pause, pull capital back and move it to another strategy without collecting a signature from each depositor.

## The de-risk sequence

![Sentinel risk response: detect a risk such as an exploit or a depeg, pause within seconds, pull the capital back to idle (automatic for confirmed exploit risks), move it into a pre-approved fallback if one is set, then reopen. Other confirmed risks pause the vault without an automatic exit](https://mintcdn.com/yieldxyz/D0xFgTywUAyvF5rj/images/documentation/oavs/sentinel-risk-response.png?fit=max\&auto=format\&n=D0xFgTywUAyvF5rj\&q=85\&s=08bb7fc36a8a0671e8a3458aea127aaa)

**1. Detection**

Hypernative, Blockaid or your own source reports a risk on a strategy or its dependencies, for example an exploit, a depeg or a health issue.

**2. Pause**

A pre-signed pause stops the vault, typically within seconds. No funds move.

**3. Exit**

For confirmed exploit risks, the vault exits automatically: the affected strategy's position is pulled back to idle in the vault, typically within minutes, with no signer step. How much can exit depends on the strategy's available liquidity. Other confirmed risks pause the vault and do not trigger an automatic exit.

**4. Optional fallback**

Funds can be deployed into one of the vault's pre-approved fallback strategies, such as a wrapped Aave v3 market, so yield continues during the incident, and the vault can then be unpaused. If no fallback is set, the funds stay in the vault's idle balance.

**5. Recovery**

Once the strategy is confirmed safe, capital goes back into it. The affected strategy can also be replaced for good.

What is watched and how the activation policy works are covered in [Security & monitoring](https://docs.yield.xyz/documentation/earn/oavs/meta-vaults/security-monitoring.md).

## On-chain controls

| Action | Function | Role |
| - | - | - |
| Pause deposits, mints, withdrawals and redemptions | `setPaused` | Pauser (monitoring wallet) |
| Stop new deposits while withdrawals stay open | `setDepositsDisabled` | Pauser |
| Pull capital back to idle | `deallocate` | Keeper |
| Deploy into the fallback strategy | `allocate` | Keeper |
| Add a fallback or replace a strategy | `setMetaAssets` | Admin |

These are the same functions every Meta Vault has; see [Roles & signing](https://docs.yield.xyz/documentation/earn/oavs/meta-vaults/vault-mechanics/roles-signing-models.md). A fallback strategy can sit in the vault's list at zero weight, so moving into it needs no change to the list during an incident. Fallbacks count toward the vault's limit of 10 strategies.

## With and without Sentinel Mode

| | Meta Vault | Meta Vault in Sentinel Mode |
| - | - | - |
| Strategies | One, or up to 10 weighted | The same, with any fallbacks counting toward the 10 |
| Monitoring | Not included | Every strategy, by Hypernative, Blockaid or your own source |
| Automated risk response | No | Pause on a confirmed risk; automatic exit to idle for confirmed exploit risks |
| Fallback | Not applicable | One or more pre-approved fallbacks; with none set, capital stays in idle |
| Typical use | An Earn product with your fees | An Earn product that needs a safety layer |

## Integration

A Meta Vault in Sentinel Mode integrates like any other Meta Vault: through the Earn API as a yield ID, or directly through the standard ERC-4626 functions. Yield.xyz deploys and operates the contract. You can turn on Sentinel Mode in the [dashboard](https://dashboard.yield.xyz), either in the yield enablement flow or when you configure a vault.

## Next steps

> [card] [Security & monitoring](https://docs.yield.xyz/documentation/earn/oavs/meta-vaults/security-monitoring.md)
>
> From a risk signal to a pause, an exit and a redeploy.

> [card] [Meta Vaults](https://docs.yield.xyz/documentation/earn/oavs/meta-vaults/index.md)
>
> The vault Sentinel Mode runs on, with one strategy or up to 10.


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