> For the complete documentation index, see [llms.txt](https://gremlix.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gremlix.gitbook.io/docs/protocol/risks.md).

# Risks

Gremlix employs multiple risk management mechanisms, but as with all DeFi protocols, users should understand the associated risks before depositing.

## Risk Levels by Vault

| Vault                    | Risk Level | Primary Risk Driver                     |
| ------------------------ | ---------- | --------------------------------------- |
| USDC Dual Grid Vault     | **High**   | Dual long/short grid exposure           |
| BTC Growth Capital Vault | **Medium** | Long-only grid, collateral layer buffer |

## Strategy Risks

### Grid Trading Risk

Grid trading performs best in **ranging (sideways) markets**. In strongly trending markets:

* **Strong uptrend**: Short grid positions accumulate losses that may exceed long grid profits
* **Strong downtrend**: Long grid positions accumulate losses that may exceed short grid profits

The USDC Dual Grid vault mitigates this by running simultaneous long and short grids — gains on one side partially offset losses on the other.

### Perpetual DEX Counterparty Risk

Capital is deployed on third-party Perpetual DEX platforms (HyENA, Ethereal etc). Risks include:

* DEX smart contract vulnerabilities
* Oracle manipulation
* DEX insolvency or rug scenarios
* Forced liquidations in extreme volatility

### Points Farming Risk

DEX points are early-stage incentives that may:

* Have no guaranteed conversion rate to tokens
* Be subject to sybil filtering or program changes
* Lose value if the DEX fails to launch its token

## Smart Contract Risks

### Vault Contract Risk

The Gremlix vault is an ERC4626 implementation. It includes:

* Reentrancy guards
* Virtual share offset (inflation attack protection)
* Explicit asset tracking (prevents donation-based manipulation)

However, no contract is fully risk-free before a comprehensive audit.

> **Audit status:** Pending. Use at your own risk.

### Keeper Risk

The Keeper contract has elevated permissions to allocate/deallocate capital and update strategy values. A compromised keeper operator could misreport strategy values. Mitigations:

* Staleness window enforcement (stale values are rejected)
* On-chain value caps can be configured
* Multi-sig governance planned

## Systemic Risks

| Risk                | Description                                              |
| ------------------- | -------------------------------------------------------- |
| Smart contract bug  | Vault or strategy contracts may contain exploitable bugs |
| Oracle failure      | Price feed manipulation could affect grid execution      |
| Liquidation cascade | Extreme volatility could trigger forced deleveraging     |
| Bridge/L2 risk      | Arbitrum L2 sequencer risk applies                       |
| Regulatory risk     | DeFi regulatory environment is evolving                  |
| Operator risk       | Human risk applies.                                      |

## Disclaimer

> Gremlix Protocol is experimental software. Past performance of grid strategies does not guarantee future results. Yield estimates are targets based on backtesting and current market conditions — actual returns may differ significantly. Never deposit more than you can afford to lose.
