code-maturity-assessor
Systematic code maturity evaluation across 9 security and engineering categories with evidence-based ratings.
- Assesses arithmetic safety, auditing, access controls, complexity, decentralization, documentation, MEV risks, low-level code, and testing using Trail of Bits' framework
- Produces a maturity scorecard with 0–4 ratings per category, detailed findings with file references, and a priority-ordered improvement roadmap
- Combines automated code analysis with interactive clarification questions about off-chain processes, team practices, and incident response
- Includes rationalizations to prevent incomplete assessments and ensures all 9 categories receive thorough evaluation with concrete evidence
Code Maturity Assessor
Purpose
Systematically assesses codebase maturity using Trail of Bits' 9-category framework. Provides evidence-based ratings and actionable recommendations.
Framework: Building Secure Contracts - Code Maturity Evaluation v0.1.0
How This Works
Phase 1: Discovery
Explores the codebase to understand:
- Project structure and platform
- Contract/module files
- Test coverage
- Documentation availability
More from trailofbits/skills
ask-questions-if-underspecified
Clarify requirements before implementing. Use when serious doubts arise.
4.2Ksemgrep
>-
3.8Kmodern-python
Configures Python projects with modern tooling (uv, ruff, ty). Use when creating projects, writing standalone scripts, or migrating from pip/Poetry/mypy/black.
3.8Kcodeql
>-
3.6Kinsecure-defaults
Detects fail-open insecure defaults (hardcoded secrets, weak auth, permissive security) that allow apps to run insecurely in production. Use when auditing security, reviewing config management, or analyzing environment variable handling.
3.5Ksecure-workflow-guide
Guides through Trail of Bits' 5-step secure development workflow. Runs Slither scans, checks special features (upgradeability/ERC conformance/token integration), generates visual security diagrams, helps document security properties for fuzzing/verification, and reviews manual security areas.
3.4K