This directory contains security audit reports for Lux ecosystem smart contracts.
| Date | Project | Tests | Critical | High | Medium | Status |
|---|---|---|---|---|---|---|
| 2026-03-25 | standard + liquid + liquidity | 1,383 pass | 15 | 13 | 10 | Complete |
| 2026-01-30 | @luxfi/standard | 832 pass | 25 | 41 | 40 | Complete |
audits/
├── README.md # This file
├── 2026-03-25-comprehensive-security-audit.md # Multi-repo audit (standard + liquid + liquidity)
└── standard-2026-01-30/ # Lux Standard audit
├── AUDIT_BRIDGE.md # Bridge contracts (4 critical)
├── AUDIT_CRYPTO.md # Cryptography (2 critical)
├── AUDIT_DID.md # Identity contracts (2 critical)
├── AUDIT_GAS_DOS.md # Gas/DoS vectors (4 critical)
├── AUDIT_GOVERNANCE.md # Governance (4 critical)
├── AUDIT_LIQUID.md # Liquid tokens (3 critical)
├── AUDIT_TREASURY.md # Treasury (6 critical)
├── AUDIT_SUMMARY.md # Executive summary
└── SECURITY_MEASURES.md # Remediation plan
See LIP-7007: Security Standards for mandatory security requirements.
- Static Analysis - Slither (fail-on: medium), Semgrep (solidity + smart-contracts), Aderyn (Cyfrin)
- Fuzz Testing - Foundry invariant tests + fuzz tests (1,000 runs)
- Symbolic Execution - Halmos (proves properties for ALL inputs)
- Formal Verification - Lean 4 with Mathlib (consensus-layer theorems)
- Adversarial Review - Red/Blue agent team manual code review
- Report Generation - Findings documented with severity, CVSS, and remediation
Before mainnet deployment, ensure:
- All critical issues fixed
- All high issues fixed or risk-accepted
- External audit completed (Trail of Bits, OpenZeppelin, etc.)
- Bug bounty program active
- Monitoring and alerting deployed
For security issues: security@lux.network