XDCTrade

XDCTrade

Audit & Security

Last updated: 2026-05-06 · Public Beta

STATUS: Internal review only. No third-party audit yet. A formal audit will be commissioned before exiting beta. Treat early TVL conservatively.

Internal review summary

  • 0 critical, 0 high, 2 medium, 5 low, 7 informational findings — all resolved or accepted.
  • Slither static analysis run on all 7 contracts.
  • 25 Hardhat unit tests covering vault accounting, margin, liquidation, EIP-712 settlement.
  • OpenZeppelin contracts pinned to 5.0.2 (Solidity 0.8.23 compatible).

Deployed contracts

All contracts on XDC Mainnet (chainId 50). Verify on XDCScan.

Operational security

  • Operator key (hot) can only push oracle prices and settle off-chain matched orders. Cannot pause, cannot grant roles, cannot withdraw insurance fund.
  • Admin key controls pause/unpause, parameter updates, and role grants. Will migrate to a multisig before significant TVL.
  • Server hardening: SSH key-only, fail2ban, auto security updates, modern TLS, strict CSP, daily encrypted DB backups (14d retention).

Reporting vulnerabilities

If you discover a security bug, please do not exploit it. Email security@xdctrade.xyz with details. Bounty paid case-by-case during beta. See also our Risk Disclosure.