x-ray - Generate a pre-audit protocol security report
Generates an x-ray.md pre-audit report covering threat modeling, invariants, integrations, documentation, tests, and developer history.
Tags
Updated: 2026-12-04Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Enumerate and measure codebases
- Analyze git security history
- Classify protocol entry points
- Synthesize security invariants
- Map threats and dependencies
- Generate pre-audit reports
Inputs
- Project root path
- Solidity source files
- Foundry or Hardhat configuration
- Git repository history
- Protocol specifications and documentation
Outputs
- x-ray/ output directory
- x-ray.md pre-audit report
- Git security analysis JSON
- Coverage results
- Todo phase status
Requirements
- Bash shell access
- Python 3
- Git repository access
- Project read and write permissions
- TodoWrite tool support
- Sonnet model access for large-file analysis
