> For the complete documentation index, see [llms.txt](https://baselend.gitbook.io/baselend/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://baselend.gitbook.io/baselend/protocol/security.md). Agents can also search and read this documentation through its [MCP server](https://baselend.gitbook.io/baselend/~gitbook/mcp).

# Security

Baselend implements industry best practices for security including formal verifications, audits, bug bounties, and monitoring.

The smart contracts will undergo rigorous external auditing and formal verification prior to launch. This provides independent expert review of the codebase.

Ongoing bug bounties incentivize whitehat hackers to continually test for vulnerabilities. Valid issues are eligible for rewards scaled to severity.

Runtime monitoring tools track contract activity to identify anomalies and prevent exploits. The protocol integrates Chainlink oracles to mitigate price manipulation risks.

Baselend will conduct regular audits and integrate new methods like fuzz testing to ensure the highest security standards as the protocol evolves.

Risks and Limitations Baselend has risks related to smart contract bugs, governance attacks, oracle failures, and regulatory changes. Mitigations include audits, formal verification, administrator roles, and multi-oracle redundancy.

The protocol has high gas costs currently as a layer 1 application. Expanding to L2 solutions can improve cost and scalability, which is why Baselend is deploying on Base, an L2 solution incubated by Coinbase. Baselend has exposure to the stability and growth of the Base ecosystem.

Regulatory uncertainty around decentralized lending is an emerging risk. Baselend aims for transparent communication and legal compliance wherever possible.
