> For the complete documentation index, see [llms.txt](https://docs.coti.io/coti-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coti.io/coti-documentation/security/audit-reports.md).

# Audit Reports

Security is a top priority for the COTI network. Below you’ll find a list of independent security audits conducted on different components of the COTI ecosystem. Each report outlines the scope, focus areas, and includes a link to the full audit documentation.

These audits play a critical role in ensuring that the COTI protocol remains secure, reliable, and ready for real-world adoption.

You can find all published audit reports here:

| Date      | Reviewer | Scope           | Link                                                                                                                                       |
| --------- | -------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| 2025 - 4  | Sayfer   | Account Onboard | [2025\_Sayfer](https://github.com/coti-io/documentation/tree/main/security/Sayfer_gCoti_AccountOnBoard.pdf)                                |
| 2025 - 4  | Sayfer   | gCOTI           | [2025\_Sayfer](https://github.com/coti-io/documentation/tree/main/security/Sayfer_gCoti_AccountOnBoard.pdf)                                |
| 2025 - 3  | Hacken   | MPC             | [2025\_Hacken](https://github.com/coti-io/documentation/tree/main/security/Hacken_MPC.pdf)                                                 |
| 2025 - 8  | Hacken   | GoEthereum      | [2025\_Hacken](https://github.com/coti-io/documentation/tree/main/security/Hacken_Go_Ethereum.pdf)                                         |
| 2025 - 11 | Sayfer   | Redeemer        | [2025\_Sayfer](https://github.com/coti-io/documentation/tree/main/security/Sayfer_Redeemer.pdf)                                            |
| 2026 - 3  | Sayfer   | Private ERC20   | [2026\_ERC20\_Sayfer](https://github.com/coti-io/documentation/tree/main/security/Sayfer-2026-03-Smart-Contract-Audit-Report-for-Coti.pdf) |
| 2026 - 3  | Sayfer   | Metamask Snap   | [2026\_Metamask](https://github.com/coti-io/coti-snap/blob/main/docs/Sayfer-2026-03-Metamask-Snap-Audit-for-Coti.pdf)                      |
| 2026 - 5  | Sayfer   | Privacy Portal  | [2026\_PrivacyPortal](https://github.com/coti-io/documentation/tree/main/security/Sayfer-2026-05-Smart-Contract-Audit-Report-for-Coti.pdf) |

## PoD Inbox and Privacy Portal hardening (internal review)

In addition to the external reports above, the PoD **Inbox** (`coti-pod-inbox-contracts`) and **PoD Privacy Portal** stack received an internal security review with follow-up fixes. Integrators should treat the following as current behavior (also reflected in the PoD / Avalanche books):

| Area                             | What changed for integrators                                                                                                                                                                               |
| -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Capped returndata**            | Execution failures store at most 256 bytes of returndata. **`getOutboxError`** returns `(code, data)` with those raw bytes for client-side decoding.                                                       |
| **`retryFailedRequest`**         | Permissionless while error code is `1`. Encode failure on retry **reverts** and preserves code `1` (does not flip to encode-failed).                                                                       |
| **One-way `errorSelector`**      | `sendOneWayMessage` rejects non-zero `errorSelector`—use two-way for error callbacks.                                                                                                                      |
| **`executed` / response events** | Mean the return leg was **ingested**, not that the app callback committed.                                                                                                                                 |
| **Fee gas price**                | On-chain budgets use **bounded reference** gas price (`setGasPriceBounds`), not unbounded tip manipulation.                                                                                                |
| **Oracle cache**                 | `refreshCache()` refreshes **both** inbox legs; configure with `setInboxTokens` (Uniswap oracles set legs from pairs at construction).                                                                     |
| **Portal deposits**              | Prefer `refundFailedDeposit` only after **SystemFailed**. Stuck `Pending` may be retryable execution failure or miner lag—diagnose before refunding. Keep deposits off until mother registration confirms. |

See [Async private operations](/coti-documentation/privacy-on-demand/async-private-operations.md), [How do PoA fees work?](/coti-documentation/privacy-on-demand/how-poa-fees-work.md), and [Privacy Portal troubleshooting](/coti-documentation/coti-privacy-portal/developer-guide/troubleshooting.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.coti.io/coti-documentation/security/audit-reports.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
