# ConsenSysDiligence/surya

A set of utilities for exploring Solidity contracts

Repository: https://github.com/ConsenSysDiligence/surya
Canonical: https://ross.abutalabs.com/products/consensysdiligence-surya
Language: JavaScript
License: Apache-2.0
License Family: permissive
Last push: 2025-06-26T15:50:00+00:00

## Health v2 (maintenance only)
Score: 45/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 28, release rhythm 35, longevity 100
- inputs: {"age_days": 3061, "days_push": 433, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1173, forks 128 (observed 2026-08-28T04:03:51.956567+00:00)

## What it is
Surya is a command-line utility for inspecting Solidity smart contract systems, providing structural summaries, inheritance information, and function call graphs in visual (DOT/graphviz) or text output. It is developed by ConsenSys Diligence and commonly used via the VSCode Solidity Auditor extension.

## Use cases
- generate a call graph for solidity contracts
- visualize smart contract inheritance structure
- audit solidity code manually
- list functions and modifiers in a solidity contract
- explore contract structure before a security review

## When to choose
- you need quick structural insight into Solidity contracts during manual audits
- you want DOT/graphviz call graphs of contract interactions
- you use the VSCode Solidity Auditor extension and want the underlying engine

## When to avoid
- you need automated vulnerability detection rather than manual inspection aids
- you work with languages other than Solidity
- you need a full static analysis or formal verification suite

## Facets
- artifact type: cli-tool
- maturity: active
- function: developer-tools, parser, static-site-generator, data-visualization
- domain: developer-tools, security, blockchain
- platform: cli, cross-platform
- tags: solidity, smart-contracts, static-analysis, call-graph, ethereum, code-inspection, graphviz, nodejs

## Member repositories
- ConsenSysDiligence/surya (main) score 45

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.956567+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:20.406204+00:00, confidence not recorded.
  - readme: https://github.com/ConsenSysDiligence/surya (fetched 2026-08-28T04:03:51.956567+00:00, sha 7bba0d428767)
- Data as of 2026-08-30T08:39:29.467469+00:00.
