Skip to content

This Project is for HackSecure Hackathon. This is a n8n based Data Leak Prevention AI Agent Project. This scans files from Discord, Slack, GitHub and Drive and checks for Data Leaks.

License

Notifications You must be signed in to change notification settings

Jyotibrat/nEigent

Repository files navigation

nEigent

AI-Powered Data Leak Prevention Agent - Secure Your Digital Assets

last commit TypeScript JavaScript languages

Built with cutting-edge tools and technologies:

n8n Node.js HTML5 JavaScript React Vscode TypeScript CSS3

Table of Contents

πŸš€ Overview

nEigent is an intelligent Data Leak Prevention (DLP) AI agent designed to protect organizations from sensitive data breaches across multiple platforms. Built for the HackSecure Hackathon, this project leverages n8n workflow automation to continuously monitor and analyze files across Discord, Slack, GitHub, and Google Drive for potential data leaks.

✨ Features

πŸ” Multi-Platform Scanning

  • Discord server monitoring
  • Slack workspace analysis
  • GitHub repository scanning
  • Google Drive file inspection

πŸ€– AI-Powered Detection

  • Advanced pattern recognition for sensitive data
  • Machine learning algorithms for anomaly detection
  • Real-time threat assessment

πŸ“Š Comprehensive Dashboard

  • Live monitoring interface
  • Detailed analytics and reports
  • Risk assessment metrics
  • Historical data tracking

⚑ Real-Time Alerts

  • Instant notifications for detected threats
  • Customizable alert thresholds
  • Multi-channel notification support

πŸ”’ Enterprise Security

  • End-to-end encryption
  • Secure data processing
  • Compliance-ready architecture

🎯 Problem Statement

In today's digital workspace, sensitive information is scattered across multiple platforms - from code repositories to chat applications. Organizations face significant challenges:

  • Data Sprawl: Critical information exists across Discord servers, Slack workspaces, GitHub repos, and cloud storage
  • Human Error: Employees accidentally share sensitive data like API keys, credentials, or confidential documents
  • Limited Visibility: No centralized monitoring across all communication and storage platforms
  • Reactive Detection: Most breaches are discovered after damage is done

πŸ’‘ Solution

nEigent provides a proactive, AI-driven approach to data leak prevention:

🎯 Centralized Monitoring: Single dashboard for all your platforms 🧠 Intelligent Detection: AI algorithms trained to identify sensitive data patterns ⚑ Real-Time Response: Instant alerts and automated remediation options πŸ“ˆ Continuous Learning: System improves detection accuracy over time

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚   Data Sources  β”‚    β”‚   n8n Workflows  β”‚    β”‚  AI Processing  β”‚
β”‚                 β”‚    β”‚                  β”‚    β”‚                 β”‚
β”‚ β€’ Discord       │────│ β€’ File Scanner   │────│ β€’ Pattern Match β”‚
β”‚ β€’ Slack         β”‚    β”‚ β€’ Data Extractor β”‚    β”‚ β€’ ML Analysis   β”‚
β”‚ β€’ GitHub        β”‚    β”‚ β€’ Alert Engine   β”‚    β”‚ β€’ Risk Scoring  β”‚
β”‚ β€’ Google Drive  β”‚    β”‚                  β”‚    β”‚                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                 β”‚
                                 β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Monitoring Dashboard                         β”‚
β”‚                                                                 β”‚
β”‚  πŸ“Š Analytics  β”‚  🚨 Alerts  β”‚  πŸ“‹ Reports  β”‚  βš™οΈ Settings    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ› οΈ Technologies Used

Backend & Automation

  • n8n: Workflow automation and orchestration
  • Node.js: Server-side runtime environment

Frontend & UI

  • React: Modern UI framework for the dashboard
  • HTML5 & CSS3: Structure and styling
  • JavaScript: Interactive functionality

Infrastructure & Deployment

  • Vercel: Frontend deployment and hosting

Development Tools

  • VS Code: Primary development environment
  • Git: Version control and collaboration

πŸš€ Getting Started

Follow these steps to set up nEigent on n8n.io.

πŸ“‹ Prerequisites

  • Node.js (v16 or higher)
  • Git (latest version)

βš™οΈ Installation

  1. Clone the repository

    git clone https://github.com/Jyotibrat/nEigent.git
    cd nEigent

    or

    Install the JSON Workflow

    Click Here to Download

  2. Make Account on n8n and copy paste the JSON file or Click on Import from File

  3. Set up Configurations for the Workflow

  4. Use these resources for configurations

  5. Click on Execute Workflow to run the DLP automation

  6. Check Mail for Data Leak Reports

Dashboard Features

  • πŸ“Š Analytics: View scan statistics and trends
  • 🚨 Active Alerts: Monitor ongoing threats
  • πŸ“‹ Scan History: Review past detections
  • βš™οΈ Configuration: Manage settings and rules

πŸ”§ Configuration

Required Environment Variables

  • Google Client ID
  • Google Client Secret
  • Discord Bot Token
  • Discord Channel ID
  • GitHub Username
  • GitHub Repository Name
  • GitHub Token (classic)
  • Slack Bot Token
  • Slack Channel ID

πŸ“Š Monitoring Dashboard

The nEigent dashboard provides comprehensive visibility into your data security:

Key Metrics

  • Total Scans: Number of files/messages scanned
  • Threats Detected: Count of potential data leaks found
  • Risk Score: Overall security assessment
  • Platform Coverage: Active monitoring across platforms

Alert Management

  • Real-time Notifications: Instant alerts for high-risk detections
  • Alert Prioritization: Categorized by severity (Low, Medium, High, Critical)
  • Response Actions: Quick remediation options
  • False Positive Management: Mark and learn from incorrect detections

πŸŽ₯ Demo

🎬 Watch the Demo: nEigent in Action

🌐 Official Website: n-eigent.vercel.app

Experience nEigent's capabilities through our interactive demo showcasing:

  • Real-time threat detection across multiple platforms
  • Dashboard analytics and reporting features
  • Alert management and response workflows
  • Configuration and customization options

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘₯ Team

Project Lead: Jyotibrat

Connect with us:

πŸ† Hackathon

HackSecure Hackathon Project

nEigent was developed as part of the HackSecure Hackathon, focusing on innovative cybersecurity solutions. This project demonstrates the power of AI-driven automation in preventing data leaks and securing digital assets across multiple platforms.

Hackathon Goals Achieved βœ…

  • βœ… Multi-platform data monitoring
  • βœ… AI-powered threat detection
  • βœ… Real-time alerting system
  • βœ… User-friendly dashboard
  • βœ… Scalable architecture
  • βœ… Comprehensive documentation

πŸ”’ Secure Your Data. Protect Your Future. πŸ”’

Made for a safer digital world

⭐ Star this repository | πŸ› Report Bug

About

This Project is for HackSecure Hackathon. This is a n8n based Data Leak Prevention AI Agent Project. This scans files from Discord, Slack, GitHub and Drive and checks for Data Leaks.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •