---
description: >-
  Thanks to the tests and a closed garden code core the Gusd stable coin if
  fully screened by cascade effects made with Foundry testing code environment.
---

# Security

Gatochain Foundation takes a systematic approach to cryptocurrency security, employing a team of **in-house and external cybersecurity experts** to utilize the latest innovations and **ensure** the **safety** of our platform in collaboration with Mood Global Services all our digital architecture if fully screened and audited. We are transparent about our security practices and invite users to review part of our **extensive on-chain testing** by visiting our [GitHub](https://github.com/nexlabs22/Nex-Dex-Contracts/security) security page. \
\
Although a contract may be secure, it does not necessarily mean it cannot be exploited. For example, the Mango markets exploit on Solana demonstrated that an attacker can unexpectedly use the platform to exploit the system, despite the contract being secure.\
\
To address this issue, we **adopt a multi-tiered approach** that is uncommon in the cryptocurrency industry:&#x20;

* **Indipendent Smart Contracts:** Every Smart contract is a "closed garden" requiring no external input to function as intended. Oracles may be integrated to incentivize traders to behave in a desired manner, but they do not directly influence the price.
* **Smart Contract Restrictions:** Each Smart contract has restricted availability to be upgraded, limited rights to the owners, and limited capability to modify critical variables. Even if someone were to steal private keys and become the owner, they would only be able to earn protocol fees from a single pair until users decide to exit the contract.
* **Funds Security:** Various on-chain verifiable codes have been added to guarantee that users' funds are backed 1:1 and can be withdrawn at any time without any possibility of being controlled by anyone but the user themselves.
* **Protective Measures:** The smart contract logic includes various built-in limitations to prevent traders from frontrunning liquidations, manipulating the system, or exiting the contract with debt. The platform implements logic that math restricts trading options away from the oracle price and prioritizes liquidation over user trades.

{% embed url="https://foundryco.com/tools-for-marketers/research-security-priorities/" %}
