Skip to content

VeridionLabs/veridion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Veridion

Version License Status

AI-Powered Smart Contract Security Platform with On-Chain Audit Verification

Veridion is an open-source platform that combines AI-assisted auditing, static analysis, and on-chain verification via Stellar Soroban to provide comprehensive smart contract security.

Features

  • 🔍 Plugin-Based Scanner - Modular security rules with zero-config extensibility
  • 🤖 AI-Powered Analysis - Vulnerability explanation, fix suggestions, report generation via provider-agnostic AI layer
  • 📊 Audit Reports - Generate reports in JSON, Markdown, HTML, or PDF
  • ⛓️ On-Chain Verification - Immutable audit records on Stellar Soroban
  • 🎨 Modern UI - Built with Next.js, shadcn/ui, and TailwindCSS
  • 🔐 Secure by Default - RBAC, rate limiting, JWT auth, input validation
  • 📦 Monorepo - Turborepo + pnpm workspaces for fast builds

Quick Start

Prerequisites

  • Node.js >= 20
  • pnpm >= 9
  • Docker & Docker Compose
  • PostgreSQL (or use Docker)

Development

# Clone the repository
git clone https://github.com/veridion/veridion.git
cd veridion

# Install dependencies
pnpm install

# Set up environment
cp .env.example .env

# Start infrastructure
docker compose up -d postgres redis

# Run database migrations
pnpm db:migrate

# Start all services
pnpm dev

The API runs on http://localhost:4000 and the web app on http://localhost:3000.

Docker

docker compose up -d

Architecture

veridion/
├── apps/
│   ├── web/          # Next.js frontend (App Router)
│   ├── api/          # NestJS backend
│   └── docs/         # Documentation site
├── packages/
│   ├── shared/       # Types, enums, DTOs, utilities
│   ├── database/     # Prisma schema & client
│   ├── auth/         # JWT auth & RBAC
│   ├── scanner-core/ # Plugin-based scanner
│   ├── scanner-types/# Scanner type definitions
│   ├── ai-engine/    # AI provider abstraction
│   ├── parser/       # Smart contract parser
│   ├── report-generator/ # Report generation
│   ├── sdk/          # TypeScript SDK
│   ├── ui/           # shadcn/ui components
│   ├── logger/       # Structured logging
│   └── config/       # TSConfig & ESLint configs
├── plugins/          # Security detection plugins
├── contracts/        # Soroban smart contracts (Rust)
├── docker/           # Dockerfiles
└── .github/          # CI/CD, templates

See ARCHITECTURE.md for detailed diagrams and design decisions.

Tech Stack

Layer Technology
Frontend Next.js 14, React 18, TailwindCSS, shadcn/ui, TanStack Query
Backend NestJS, Prisma, PostgreSQL, Redis, BullMQ
AI Provider-agnostic (OpenAI, Anthropic)
Blockchain Stellar Soroban (Rust)
Infrastructure Docker, GitHub Actions, Turborepo

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

Good First Issues

We maintain a list of good first issues to help new contributors get started.

Adding a New Security Plugin

Creating a new security rule requires zero changes to scanner-core:

  1. Create plugins/my-plugin/src/index.ts
  2. Implement the IRulePlugin interface from @veridion/scanner-types
  3. Add your plugin to the registry in apps/api

See the Plugins Guide for details.

License

Apache 2.0 - See LICENSE for details.

Security

Please report security vulnerabilities to security@veridion.dev. See SECURITY.md for our disclosure policy.

About

**Veridion** is an open-source AI-powered smart contract security platform that helps developers analyze contracts, detect vulnerabilities, generate audit reports, and securely verify audit results on the Stellar blockchain. Built as a modular monorepo, Veridion combines AI, static analysis, and Soroban smart contracts to make Web3 development safe

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors