# Security

<figure><img src="/files/6bB148Q086dRfK2v4CEH" alt=""><figcaption></figcaption></figure>

## Moonwell Security Measures

Moonwell prioritizes security and reliability above all else. This page outlines the comprehensive security measures implemented to protect user funds, mitigate risks, and maintain system integrity.

## Security Audits

Moonwell smart contracts undergo thorough [audits](/moonwell/protocol-information/audits.md) by top-tier security firms to identify and address potential vulnerabilities. These audits ensure the protocol follows industry best practices and maintains a strong security posture.

Moonwell works with [Halborn](https://www.halborn.com/), a leading blockchain security firm, to provide continuous monitoring and vulnerability scanning services for the protocol. Their services helps to identify and address emerging threats promptly, maintaining ongoing protocol security.

## Price Oracle Infrastructure

### Base and OP Mainnet: Chainlink Price Oracles

Moonwell uses [Chainlink](https://chain.link/) Price Oracles on Base and Optimism Mainnet to deliver accurate, tamper-resistant price data. Chainlink's multi-layered security approach with data aggregation protects against price manipulation attacks.

### Moonbeam: API3 Data Feeds

On Moonbeam, [API3](https://api3.org/) data feeds provide price data directly from source APIs without third-party intermediaries. This architecture minimizes trust assumptions and maximizes data integrity.

## Risk Management and Economic Analysis

Moonwell collaborates with [Anthias](https://anthias.xyz/) for financial modeling tools and economic simulations. Anthias assesses potential economic risks and optimizes risk parameters through data-driven analysis.

Their [risk management dashboard](https://risk.anthias.xyz/moonwell/base/overview) provides insights for informed governance decisions, helping maintain protocol stability across different market conditions.

## Code4rena Bug Bounty Program

Moonwell offers a bug bounty program through [Code4rena](https://code4rena.com/), rewarding security researchers up to $250,000 for discovering and responsibly disclosing vulnerabilities. This proactive program strengthens protocol security through community engagement.

For more information on the bug bounty program, refer to the [documentation](https://code4rena.com/bounties/moonwell) on Code4rena.

## Safety Module

The Moonwell [Safety Module](/moonwell/moonwell-overview/stake.md) provides an additional protection layer against unexpected events such as:

* Smart contract exploits
* Liquidation failures
* Oracle malfunctions

This safety mechanism enhances protocol resilience and adds extra security for users.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.moonwell.fi/moonwell/protocol-information/security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
