Skip to content

feat(soroban): add contract risk analyzer module (#149)#172

Merged
mijinummi merged 1 commit into
MD-Creative-Production:mainfrom
A6dulmalik:feature/soroban-risk-analyzer
Jun 19, 2026
Merged

feat(soroban): add contract risk analyzer module (#149)#172
mijinummi merged 1 commit into
MD-Creative-Production:mainfrom
A6dulmalik:feature/soroban-risk-analyzer

Conversation

@A6dulmalik

Copy link
Copy Markdown
Contributor
  • add RiskAnalyzerService with pattern matching against soroban.json signatures
  • add RiskAnalyzerController exposing POST /soroban/risk/analyze
  • add RiskAnalyzerModule registered in AppModule
  • add 8 unit tests covering all risk scoring scenarios

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Related Issues

Closes #149

Changes Made

Testing

  • I have tested these changes locally
  • Tests pass locally (npm run test)
  • Linting passes (npm run lint)
  • Code is formatted (npm run format)
  • TypeScript builds successfully (npm run build)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests passed with my changes

Screenshots (if applicable)

Additional Context

…ion#149)

- add RiskAnalyzerService with pattern matching against soroban.json signatures
- add RiskAnalyzerController exposing POST /soroban/risk/analyze
- add RiskAnalyzerModule registered in AppModule
- add 8 unit tests covering all risk scoring scenarios
@mijinummi

Copy link
Copy Markdown
Collaborator

LGTM!

@mijinummi mijinummi merged commit c67de8e into MD-Creative-Production:main Jun 19, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔬 Create Soroban Contract Risk Analyzer

2 participants