Add a Security Audit tooling module to automate static analysis, reporting, and security checks for contracts and modules.
Direction:
- Integrate static analyzers (Slither/other equivalents) and gas/complexity checks with presets tuned to this codebase.
- Provide a standardized SAR (Security Audit Report) generator and CI gating rules for high-severity findings.
- Add an allowlist/exception mechanism with documented rationale entries.
Acceptance criteria:
- Security module includes analyzer configs, CI jobs, and a report generator script.
- CI fails on new high-severity issues by default and allows exceptions with documented justifications.
- Example audit report generated for core modules included in repository.
- Documentation covers how to run checks locally and interpret results.
Add a Security Audit tooling module to automate static analysis, reporting, and security checks for contracts and modules.
Direction:
Acceptance criteria: