# Audits

### Audits — PrimeFi Core

PrimeFi’s smart-contract suite has undergone multiple independent reviews.\
Below you’ll find each audit summarised in collapsible blocks, with public links to the reports or repositories.

***

<details>

<summary><strong>⚡ Pre-Audit — Gerard Persoon (Code4rena Top Warden)</strong></summary>

| Field               | Detail                                              |
| ------------------- | --------------------------------------------------- |
| **Scope**           | Core Lending, pLP Locking, OFT Bridge               |
| **Date**            | February 2025                                       |
| **Status**          | ✔ Completed — no outstanding high-severity findings |
| **Auditor profile** | <https://code4rena.com/@gpersoon>                   |
| **Revision repo**   | <https://github.com/gpersoon/PrimeFi>               |

</details>

***

<details>

<summary><strong>🛡 Full Audit #1 — PeckShield</strong></summary>

| Field      | Detail                                                                   |
| ---------- | ------------------------------------------------------------------------ |
| **Scope**  | Lending markets, liquidation engine, Chainlink oracle integration        |
| **Date**   | April 2025                                                               |
| **Status** | ✔ Passed — all identified issues fully remediated                        |
| **Report** | <https://drive.google.com/file/d/1TLig0aCVzmdpwOvYbE_S3JX-BOYIGwVG/view> |

</details>

***

<details>

<summary><strong>🔍 Full Audit #2 — QuillAudits</strong></summary>

| Field      | Detail                                                                               |
| ---------- | ------------------------------------------------------------------------------------ |
| **Scope**  | Cross-chain messaging (LayerZero), security-admin modules                            |
| **Date**   | May 2025                                                                             |
| **Status** | 🟠 Report in final layout — fixes delivered, awaiting formal sign-off                |
| **Report** | [See report](https://www.quillaudits.com/leaderboard/prime-numbers/prime-numbers-v3) |

</details>

***

#### Next steps & continuous security

* **FailSafe Monitor (Quill)** — real-time monitoring, alerts, and auto-response layer will be enabled from launch, with three months of free setup provided by QuillAudits.


---

# 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.primefi.xyz/audits.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.
