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

# Code Audits

Security first in Deri Protocol. To be comfortable with launching Deri Protocol V2, security audits from Peckshield and Certik are carried out to reduce the threat of direct protocol vulnerabilities.

## Latest **Code Audit**

### **Deri Protocol V4 Audit By Peckshield**

{% embed url="<https://github.com/peckshield/publications/blob/master/audit_reports/PeckShield-Audit-Report-DeriV4-1.0.pdf>" %}

## **Archive**

### Deri Protocol v**3** Audit By Peckshield

{% embed url="<https://github.com/peckshield/publications/blob/master/audit_reports/PeckShield-Audit-Report-DeriV3-1.0.pdf>" %}

### **Deri Protocol v1 Audit By Peckshield**

{% embed url="<https://github.com/peckshield/publications/blob/master/audit_reports/PeckShield-Audit-Report-Deri-v1.0.pdf>" %}

### **Deri Protocol v2 Audit By Peckshield**

{% embed url="<https://github.com/peckshield/publications/blob/693bdb69e3e3e422b4f7e1f3130d841e631b4dab/audit_reports/PeckShield-Audit-Report-DeriV2-v1.0.pdf>" %}

### **Deri Protocol v2 Audit By CertiK**

{% embed url="<https://www.certik.org/projects/deriprotocol>" %}

### **Deri Protocol v2 Everlasting Options Audit by Peckshield**

{% embed url="<https://github.com/peckshield/publications/blob/master/audit_reports/PeckShield-Audit-Report-DeriV2EverLasting-v1.0.pdf>" %}


---

# 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:

```
GET https://docs.deri.io/library/code-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.
