# Security

**Is Squads Protocol open-source?**

Yes, our code is open-source and available to view [here](https://github.com/squads-dapp/squads-mpl).

**Is Squads Protocol Secure?**

To ensure that Squads Protocol is secure, we have taken the following actions:

* independent security audit with [Bramah Systems](https://github.com/Squads-Protocol/squads-mpl/blob/main/Squads_V3_Audit_Bramah.pdf);
* independent security audit with [OtterSec](https://github.com/Squads-Protocol/squads-mpl/blob/main/Squads%20V3%20-%20OtterSec%20Audit.pdf);
* Squads program has been [formally verified](https://osec.io/blog/tutorials/2023-01-26-formally-verifying-solana-programs/);
* made Squads V3 program [immutable](https://solana.fm/address/SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu?cluster=mainnet-solanafmbeta);
* running the [Sec3](https://pro.sec3.dev/) premium tool after any changes to the on-chain code;
* written the program in [Anchor](https://www.anchor-lang.com/) (a framework for quickly building secure Solana programs);
* kept the codebase minimal;
* open sourced the codebase;
* asked a number of established teams in the ecosystem to review the code and give their feedback.


---

# 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.squads.so/squads-v3-docs/security-and-audits/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.
