For the complete documentation index, see llms.txt. This page is also available as Markdown.

Audits and Security Practices

Audits

December 2022 Release

The Maple protocol contracts went through 3 audits during its development for the December 2022 release, details of which you can find below. All relevant issues identified by auditors were addressed prior to the launch of V2.

June 2023 Release

The Maple protocol contracts went through 2 audits during its development for the June 2023 release, details of which you can find below. All relevant issues identified by auditors were addressed prior to release.

Auditor
Report Link

Spearbit Auditors via Cantina

December 2023 Release

The Maple protocol contracts went through 2 audits during its development for the December 2023 release. Details of these audits can be found below, and all relevant issues identified by auditors were addressed prior to release.

Auditor
Report Link

August 2024 Release

The Maple & Syrup protocol contracts went through 2 audits during its development for the August 2024 release. Details of these audits can be found below, and all relevant issues identified by auditors were addressed prior to release.

Auditor
Report Link

December 2024 Release

The Maple & Syrup protocol contracts went through 2 audits during its development for the December 2024 release. Details of these audits can be found below, and all relevant issues identified by auditors were addressed prior to release.

Auditor
Report Link

September 2025 Release

This release is for the Governor Timelock Contract upgrade. The Maple protocol contracts went through 2 audits during its development for the September 2025 release. Details of these audits can be found below, and all relevant issues identified by auditors were addressed prior to release.

Auditor
Report Link

November 2025 Release

The November 2025 release is for the Withdrawal Manager upgrade which introduces support to allow multiple pending requests per owner. The upgrade went through two audits by Spearbit and Sherlock. The audit reports can be seen below.

Auditor
Report Link

January 2026 Release

The January 2026 release is for the Maple CCIP Receiver on Ethereum mainnet allowing crosschain deposits and redemptions for syrupUSDC.

Auditor
Report Link

November 2026 Release

The November 2026 release replaces the one-to-one link between a Maple Pool and its strategies with shared strategies. A MaplePoolManager can now fund Strategy Managers, which combine capital from several Pool Managers into one underlying position. Each Pool keeps its own Open Term Loan Manager for open-term loans.

Auditor
Report Link

Bug Bounty

Maple runs an active bug bounty that rewards anyone who reports an issue in the protocol, so it can be fixed before it is exploited. For all information related to the ongoing bug bounty for these contracts run by Immunefi, please visit this site. Behaviours listed on the Known Issues and Operational Controls page are handled by operating procedure and are out of scope for the bounty.

Critical Monitoring

Maple Finance makes use of a custom smart contract to check invariants on-chain, using data from both smart contracts and sub-graph to assert invariants on a Loan, Pool and LP level. This is all managed using Tenderly Web3 Actions. Every block, all invariants are checked atomically using the deployed contract. If any of the invariants fail, a critical Pager Duty incident is created. This will notify all on-call members of the incident response team immediately, and also includes a pre-defined escalation policy. In addition, Tenderly will use webhooks to send a message to the team's internal Slack channel with further information about how the invariant has failed.

Informational Monitoring

Similarly to critical monitoring, Tenderly is used to notify the team whenever transactions are made against any of the protocols contracts in order to have real-time insights into protocol usage. Examples would include a Loan being funded or a Pool Delegate changing a withdrawal configuration.

Additionally all smart contracts get programmatically verified on Etherscan via the use of custom Tenderly web3 actions.

Emergency Pause Function

In the case of a critical incident, a multisig is able to trigger a protocol pause. This function can temporarily disable almost all functions in the Maple protocol. This will allow for the incident response team to address the situation and minimize any potential harm that would be done. More information on the Emergency Pause function is outlined on this page.

Flash Loan and Front-Running Protections

No Pool or Strategy Manager reads a price oracle. The Aave V3 and Sky strategies value their positions from the balances those underlying protocols report, and open-term loans are accounted for at principal plus accrued interest, so there is no price feed to manipulate inside a transaction. Three mechanisms remove the remaining ways to profit from a sudden change in Pool value.

  1. Queue-based withdrawals. A Lender cannot deposit and withdraw in the same transaction. requestRedeem() escrows the shares in the Withdrawal Manager, and the Pool Delegate, the Operational Admin or a registered redeemer processes the queue later with processRedemptions(). See Withdrawal Manager.

  2. Two exchange rates. While a loan or strategy is impaired the Pool reports the expected loss as unrealizedLosses(). Deposits are priced with convertToShares() against totalAssets(), exits with convertToExitShares() against totalAssets() - unrealizedLosses(). A Lender who enters during an impairment pays the full price and one who exits bears their share of the pending loss, so nobody gains from timing an impairment or its removal. The Strategy Manager applies the same pair of rates to the Pool Managers that fund it through convertToShares() and convertToExitShares(). See Exchange Rates.

  3. Bootstrap mint. Globals holds a bootstrapMint amount per asset, set by the Governor or the Operational Admin. On the first deposit into a Pool, MaplePool mints BOOTSTRAP_MINT shares to the zero address and the Lender receives the remainder. This stops anyone from front-running the first Lender to inflate the share price, the exploit described under finding 5.1.1 of the Spearbit 2022 report. The Strategy Deployer gives every Strategy Manager the same defence. It transfers the bootstrap amount from the Strategy Delegate into the underlying strategy, and completeConfiguration() records the resulting shares against the zero address, where nothing can redeem them. See Strategy Deployer.

Last updated

Was this helpful?