- Adopt the provided Threat Model as part of every release review.
- Run
cargo auditandcargo udepsin CI to detect vulnerable dependencies. - Enforce
deny(warnings)andclippypedantic settings before merging. - Use multi-sig authorities for all privileged accounts and store
sale_state_bump/treasury_bumpon-chain for reproducibility. - Rotate authority keypairs regularly and document custody in runbook logs.
Incident response guide:
- Halt new instructions (freeze frontends & CLI) if exploit suspected.
- Capture state via
solana accountdumps for forensic analysis. - Broadcast upgrade or lock instructions through governance.
- Coordinate with partners and publish RCA in repository.