Skip to content

NIKHILJAISWAL123/CyberCortex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CyberCortex - Jaclang Autonomous Security Validation

CyberCortex Jaclang Logo

Built entirely in Jaclang from Day 1.

CyberCortex is a next-generation autonomous cybersecurity platform powered by Jaclang and Data Spatial Programming. Instead of traditional linear scripts or standard object-oriented patterns, CyberCortex models your network architecture, active threats, and security states as an interconnected graph of nodes. Autonomous walkers traverse this graph to perform real-time security validation, threat analysis, and vulnerability assessment.

🚀 Core Features

Data Spatial Architecture

  • Nodes & Edges: Networks and threats are natively modeled as SecurityTarget and ThreatIntel nodes connected by spatial edges.
  • Autonomous Walkers: ScannerWalker autonomously traverses the graph to discover vulnerabilities and assess node status.
  • Inherent State Management: State is maintained naturally within the graph structure, allowing highly decoupled and resilient security operations.

Pure Jaclang Ecosystem

  • Unified Logic: Both backend API routing and multi-agent coordination are written seamlessly in .jac files.
  • Jaclang API Integration: Uses Jaclang's built-in Python interoperability to serve a high-performance web dashboard via FastAPI.
  • Zero-Friction Orchestration: Agents are not external microservices; they are native walkers spawned directly on the graph.

🏗️ Architecture

                           [ AppServer (main.jac) ]
                                      |
                      Serves UI and Triggers Walkers
                                      |
                              v-------+-------v
                              |               |
                       [ScannerWalker]  [CoordinatorWalker]
                              |               |
                              v               v
    +-------------------------------------------------------------+
    |                    CyberGraph Data Spatial                  |
    |                                                             |
    |   (Node: SecurityTarget) ++[Analyzes]++> (Node: ThreatIntel)|
    |   - ip_address                                              |
    |   - status                                                  |
    |   - vulnerabilities                                         |
    +-------------------------------------------------------------+

📂 Project Structure

  • graph.jac: Defines the Data Spatial structure (Nodes: SecurityTarget, ThreatIntel and Edges).
  • agents.jac: Defines the autonomous Walkers (ScannerWalker, CoordinatorWalker) that traverse the graph to find vulnerabilities.
  • main.jac: The main entry point that boots the Data Spatial graph and exposes the execution environment via a Jaclang HTTP server.
  • index.html: A sleek, pure HTML/CSS/JS dashboard served natively by the Jaclang backend to provide a visual command center.

🛠️ Getting Started

Prerequisites

  • Python 3.10+
  • jaclang installed (pip install jaclang)
  • fastapi and uvicorn installed (pip install fastapi uvicorn)

Installation & Execution

  1. Clone the repository and ensure your environment has Jaclang set up.
  2. Run the main server using the Jac compiler:
    jac run main.jac
  3. Open your browser and navigate to:
    http://localhost:8000
    
  4. Click "Spawn ScannerWalker" in the dashboard to watch the Jaclang walker autonomously traverse the data spatial graph and report vulnerabilities in real-time.

🛡️ Hackathon Focus

This project demonstrates the power of Data Spatial Programming for cybersecurity. By modeling infrastructure as a graph and agents as walkers, we eliminate the complex boilerplate of traditional microservices, resulting in a cleaner, more intuitive, and highly scalable security orchestration platform built entirely in Jaclang.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors