Skip to content

jaymore4501/Nyxecure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ก๏ธ Nyxecure

Cybersecurity Phishing Detection Password Strength Status Open Source Nyxecure Password Analyzer React Vite Node.js JavaScript TailwindCSS URL Scanner Threat Analysis Phishing Detector Version

Detect phishing URLs and analyze password strength with a modern, lightweight cybersecurity toolkit.

Nyxecure Logo Nyxecure

๐Ÿ“ Short Project Description

Nyxecure is a modern, lightweight cybersecurity web application built to help users identify deceptive links and create uncrackable passwords. It provides a simple, clean interface where anyone can quickly check if a URL is a phishing attempt or test how long it would take a hacker to crack their password.

Project Preview

โœจ Key Features

  • Phishing URL Detection ๐ŸŽฃ: Instantly flags deceptive links as Safe, Suspicious, or Dangerous.
  • Password Strength Analyzer ๐Ÿ”‘: Evaluates passwords in real-time, providing a strength score and estimated crack time.
  • Dark Mode Glassmorphism UI ๐ŸŒŒ: A premium, fully responsive cybersecurity dashboard.
  • Live Analytics Dashboard ๐Ÿ“Š: Visualizes scanned threats and safe URLs using interactive charts.
  • Secure by Design ๐Ÿ”’: No passwords are saved or stored in plaintext.

๐Ÿš€ Live Working / Demo Explanation

Using Nyxecure is incredibly straightforward:

  1. To check a link ๐Ÿ”—: Paste any URL into the URL Scanner. The system will instantly check for missing encryption, deceptive keywords (like "login" or "bank" in the wrong place), and unusual link lengths, then display a Risk Score out of 100.
  2. To test a password ๐Ÿ”: Type a password into the Password Analyzer. As you type, the system's progress bar will change colors and immediately tell you if the password is "Very Weak" or "Strong", along with exactly how long it would take a computer to crack it (e.g., "Centuries").

๐Ÿง  How the System Works

Nyxecure runs on a fast, decoupled client-server architecture:

  • Frontend (React & Vite) โš›๏ธ: Provides the fast, interactive user interface where you paste your links and passwords.
  • Backend (Node.js & Express) ๐ŸŸข: Acts as the brain. When you submit a URL, custom heuristic rules scan the text for red flags. When you submit a password, it uses the industry-standard zxcvbn algorithm to compute the entropy and dictionary match probability.
  • Database (MongoDB) ๐Ÿƒ: Simply logs the metadata (like the risk score) so the Dashboard can show overall threat statistics, keeping personal data completely anonymous.

๐Ÿ“‚ Folder Structure

Nyxecure/
โ”œโ”€โ”€ Concept/                # UI/UX Overviews and Prompts
โ”œโ”€โ”€ client/                 # React Frontend (Vite)
โ”‚   โ”œโ”€โ”€ public/             # Static assets
โ”‚   โ”‚   โ””โ”€โ”€ Snapshots and Demonstration Video/ # Screenshots and demos
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ components/     # Reusable UI components
โ”‚   โ”‚   โ”œโ”€โ”€ lib/            # Utilities (Axios, etc.)
โ”‚   โ”‚   โ”œโ”€โ”€ pages/          # Application views (Dashboard, Scan, etc.)
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx         # Main routing file
โ”‚   โ”‚   โ””โ”€โ”€ main.jsx        # Entry point
โ”‚   โ”œโ”€โ”€ tailwind.config.js  # Tailwind CSS configuration
โ”‚   โ””โ”€โ”€ vite.config.js      # Vite configuration
โ”œโ”€โ”€ server/                 # Node.js Backend (Express)
โ”‚   โ”œโ”€โ”€ controllers/        # Core logic (Phishing & Password Analysis)
โ”‚   โ”œโ”€โ”€ models/             # MongoDB Schemas (Mongoose)
โ”‚   โ”œโ”€โ”€ routes/             # API Endpoints
โ”‚   โ”œโ”€โ”€ utils/              # Helper functions (Heuristics)
โ”‚   โ””โ”€โ”€ server.js           # Server entry point
โ”œโ”€โ”€ Implementation.md       # Implementation Details
โ”œโ”€โ”€ LICENSE.md              # Project License
โ”œโ”€โ”€ System-Overview.md      # System Design Document
โ””โ”€โ”€ README.md               # Project Documentation

โš™๏ธ Installation / Setup Instructions

๐Ÿ“Œ Prerequisites

Make sure you have the following installed on your machine:

  • Node.js ๐Ÿ“ฆ (v16 or higher)
  • MongoDB ๐Ÿ—„๏ธ (Running locally or via MongoDB Atlas)

1๏ธโƒฃ Clone the repository

git clone https://github.com/jaymore4501/Nyxecure.git
cd Nyxecure

2๏ธโƒฃ Setup the Backend

cd server
npm install

Create a .env file inside the server folder and add your MongoDB URI:

PORT=5000
MONGO_URI=mongodb://localhost:27017/nyxecure

3๏ธโƒฃ Setup the Frontend

cd ../client
npm install

๐Ÿƒโ€โ™‚๏ธ How to Run the Project

You will need two terminal windows open to run the frontend and backend simultaneously.

Terminal 1 (Start the Backend) ๐Ÿ–ฅ๏ธ:

cd server
npm run dev

(The server will start on http://localhost:5000)

Terminal 2 (Start the Frontend) ๐Ÿ’ป:

cd client
npm run dev

(The frontend will start on http://localhost:5173)

Simply open your browser and navigate to http://localhost:5173/ ๐ŸŒ to use the app!


๐Ÿงช Testing Data

๐ŸŒ URL Classification Sheet

# URL Category
1 http://login-paypal.example.com Suspicious โš ๏ธ
2 http://secure-bank-update.example.net Suspicious โš ๏ธ
3 http://amazon.verify-account.example.org Suspicious โš ๏ธ
4 http://secure.login.bank.com.site.com Dangerous ๐Ÿšจ
5 https://www.google.com Safe โœ…
6 https://www.geeksforgeeks.org Safe โœ…
7 https://www.wikipedia.org Safe โœ…
8 https://www.microsoft.com Safe โœ…
9 https://github.com Safe โœ…

๐Ÿ”‘ Password Strength Sheet

# Password Strength
1 12345678 Very Weak โŒ
2 password Very Weak โŒ
3 John@2026 Weak โš ๏ธ
4 T9$kL!2vQ#8pZ Strong ๐Ÿ›ก๏ธ

๐Ÿ“Š Results Summary

During testing, the system successfully and accurately flagged all standard Safe URLs from major organizations โœ…. It effectively caught deceptive patterns in Suspicious and Dangerous URLs based on HTTPS absence, excessive subdomains, and manipulative keywords ๐Ÿšจ. Similarly, the password analyzer instantly recognized common dictionary passwords as "Very Weak", while appropriately rewarding complex, high-entropy strings with "Strong" ratings and vast crack-time estimations ๐Ÿ›ก๏ธ.

๐Ÿ” Security Concepts Used

  • Heuristics Analysis ๐Ÿงฉ: Using rule-based pattern matching to flag malicious URL intent.
  • Cryptographic Entropy Calculation ๐Ÿงฎ: Utilizing algorithmic dictionaries to estimate brute-force vulnerability.
  • Data Sanitization & Rate Limiting ๐Ÿšฆ: Protecting the backend API from automated abuse and XSS injections.
  • Zero-Knowledge Principle ๐Ÿ•ต๏ธโ€โ™‚๏ธ: The backend explicitly avoids logging plaintext passwords to ensure no sensitive credential leaks occur.

๐Ÿ‘จโ€๐Ÿ’ป Author / Credits

  • Developed by Jay More ๐ŸŒŸ๐Ÿš€
  • Built for educational and academic cybersecurity training ๐ŸŽ“.