# Security

<figure><img src="https://38185780-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4535Mbmb8O8Y5q8Xz3cK%2Fuploads%2FPlAKxyxMel18kkt3rY4w%2FSecurity.jpg?alt=media&#x26;token=86189c88-78c2-4981-a008-ce98737f6a98" 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](https://docs.moonwell.fi/moonwell/protocol-information/audits) 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](https://docs.moonwell.fi/moonwell/moonwell-overview/stake) 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.
