sarvekshanam_v2

Sarvekshanam

Advanced Multi-System Security Operations & AI Analysis Platform

Build Status Node Version Go Version License: GPL v3


Sarvekshanam (v2 Beta) is a distributed vulnerability orchestration and AI-assisted security operations platform built around a centralized Node.js Master and scalable Go-based Remote Runners.

Instead of acting as a single monolithic scanner, Sarvekshanam coordinates an entire fleet of execution nodes capable of running custom offensive security modules, collecting telemetry, streaming results in real time, and feeding findings into an agentic AI workflow powered by Retrieval-Augmented Generation (RAG).


🧠 Architecture

Sarvekshanam Architecture


The architecture is designed around four tightly integrated layers:

This allows Sarvekshanam to function both as a traditional vulnerability orchestration platform and as an intelligent security operations environment capable of scaling from local testing labs to distributed enterprise fleets.

Note: This is Version 2 (currently in Beta) of the original Sarvekshanam project. V2 introduces distributed Go Slaves, RAG-based intelligence, and an Agentic AI assistant while preserving the orchestration-first philosophy of the original platform.


✨ Features


📸 Screenshots

Power User Dashboard AI Chat Interface

📚 Documentation

The full documentation is available in the docs/ directory and can be hosted via GitHub Pages.

Guide Description
Architecture Overview Internal system design and data flow
Getting Started Installation and initial setup
Configuration Guide Environment variables and runtime configuration
Module Development Guide Building custom security modules
Security & Fleet Management Authentication, encryption, and remote node management
AI & Context Integration RAG pipeline and AI orchestration

⚡ Quick Start

1. Requirements


2. Setup the Master Server

# Clone the repository
git clone https://github.com/A-Y-U-S-H-Y-A/sarveskshanam_v2.git

# Enter backend directory
cd sarveskshanam_v2/backend

# Install dependencies
npm install

# Configure environment
cp .env.example .env

Edit .env and configure:


3. Start the Platform

npm run start

The platform will now be available at:

http://localhost:3000

4. Post-Installation: Create an Admin

To manage remote runners, you need an administrative account.

  1. Open http://localhost:3000 in your browser.
  2. Register a new user account (e.g., alice).
  3. In your terminal, inside the backend directory, promote the account:
node scripts/makeAdmin.js alice

5. Configure Remote Runners (Optional)

Sarvekshanam is built to support distributed execution through lightweight remote runners.

The included Go-based runner can be deployed across VPS instances, internal infrastructure, or isolated lab systems to create a scalable security execution fleet.

See the Remote Runner README for setup instructions.


🧩 Tech Stack

Layer Technology
Frontend Vanilla JS, Pure HTML/CSS, Monospace Minimal UI
Backend Node.js, Express, Sequelize ORM
Database SQLite, sqlite-vec
Authentication Passport.js, JWKS, RSA Cryptography
AI Stack LangChain, Ollama, OpenAI, Anthropic, Gemini, Groq
Remote Execution Go 1.25, SSE Streaming
Vector Memory Retrieval-Augmented Generation (RAG)

📜 License

This project is licensed under the GNU General Public License v3.0 (GPLv3).

See the LICENSE file for more details.