# Safety

<figure><img src="/files/JQqgLR3bJJPD6FoBVFVT" alt=""><figcaption></figcaption></figure>

Security is the foundation of Permapod’s architecture. Every contract, oracle, and system module has been designed, reviewed, and tested to guarantee robustness, transparency, and long-term reliability.

Permapod prioritizes user protection through independent audits, secure coding practices, and ongoing monitoring to maintain trust and resilience across all markets.

***

#### Verified and Audited Codebase

Permapod’s smart contracts are written in Rust, ensuring strong type safety and protection against common vulnerability classes.\
The baseline code was first validated through an extensive audit by [Oak Security](https://oaksecurity.io/), providing a solid and peer-reviewed foundation.

Permapod updates focused on 2 main areas:

* Integration of [Stork Oracle](https://www.stork.network/) for secure, redundant, and manipulation-resistant pricing.
* Refinement of market parameter management, allowing dynamic risk calibration across lending markets

#### Final audit

[Halborn](https://www.halborn.com/audits), a globally recognized blockchain security firm, completed its comprehensive audit of Permapod latest version.

**Scope:**

* Oracle integration and fallback mechanisms.
* Market parameter handling and risk management modules.
* Access control, emergency procedures, and deployment logic.

**Outcome:**

{% hint style="success" %}
Halborn confirmed that all identified issues were successfully mitigated, and the protocol is ready for secure mainnet deployment on Zigchain.
{% endhint %}

#### Audit History

Permapod benefits from a continuous security lineage with multiple independent reviews conducted by Oak Security and Halborn over time:

<table data-header-hidden><thead><tr><th width="118.19921875">Date</th><th>Auditor</th><th>Scope</th></tr></thead><tbody><tr><td><a href="https://www.halborn.com/audits/permapod/permapod-core-contracts-zigchain-54eb8c">2025-11</a></td><td><picture><source srcset="/files/i0wTuNOjglOhWXiiOSos" media="(prefers-color-scheme: dark)"><img src="/files/UKyDEUbP0MG7sOmHeFeq" alt=""></picture></td><td><a href="https://www.halborn.com/audits/permapod/permapod-core-contracts-zigchain-54eb8c">Stork Oracle implementation<br>Market Parameters<br>Zigchain integration</a></td></tr><tr><td><a href="https://github.com/oak-security/audit-reports/tree/main/Mars">2024-12<br>2023-09<br>2023-08<br>2023-02<br>2023-02<br>2023-01</a></td><td><img src="/files/n74SqMUhfyHL8QAFWM12" alt="" data-size="original"></td><td><a href="https://github.com/oak-security/audit-reports/tree/main/Mars">Baseline Codebase Review<br>Perps v1.0<br>Rover v2 v1.0<br>Red Bank Updates v1.0<br>Periphery v1.0<br>Outposts v1.0</a></td></tr><tr><td><a href="https://github.com/mars-protocol/mars-audits/tree/main/periphery/halborn">2022-02</a></td><td><img src="/files/UKyDEUbP0MG7sOmHeFeq" alt="" data-size="original"></td><td><a href="https://github.com/mars-protocol/mars-audits/tree/main/periphery/halborn">Core Contracts</a></td></tr></tbody></table>

<br>


---

# 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://permapod.gitbook.io/home/safety.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.
