Sentinel Secure is a lightweight, client-side forensics and security dashboard tailored for Indian SMEs. It provides file anomaly detection, secure tools, and incident response workflows without sending sensitive data to the cloud.
Built with a distinct Neo-Brutalist design aesthetic using React (Vite) and Tailwind CSS.
- Shannon Entropy Analysis: Detects high-randomness files (a signature of encryption/ransomware) locally in the browser.
- SHA-256 Hashing: Generates cryptographic hashes of files using the native Web Crypto API.
- Magic Byte Detection: Identifies "Extension Spoofing" (e.g., an
.exedisguised as a.pdf) by reading raw ArrayBuffers.
- Live Heartbeat: Monitors network latency and render loop performance.
- Hardware Stats: Displays available CPU cores and Device Memory via Navigator API.
- Battery & Network: Real-time listeners for connection status and battery health.
- CSPRNG Password Generator: Uses
window.crypto.getRandomValuesfor cryptographically secure passwords. - Phishing Link Detector: Heuristic analysis of URLs (IP usage, typosquatting, suspicious TLDs).
- Browser Fingerprinting: Displays data exposed to websites via the Navigator object.
- Secure Local Vault: AES-simulated local storage for sensitive notes.
- Honeyfile Generator: Creates dummy files to detect unauthorized modification.
- Panic Button: One-click WhatsApp API integration to alert the support team immediately.
- Local Incident Log: Persistent logging of security events in LocalStorage.
/sentinel-secure
βββ /public # Static Assets
βββ /src
βββ /assets # Images/Icons
βββ /components # Reusable UI (Header, Footer, Buttons)
βββ /pages
β βββ /Auth # Login & Signup (Real Logic)
β βββ /Legal # Privacy, Terms, Disclaimer
β βββ /Tools # Pass Gen, Speed Test, Browser Check
β βββ Dashboard.jsx # Main Forensics Tool
β βββ Home.jsx # Landing Page
βββ /utils
β βββ cryptoLogic.js # π§ THE BRAIN (Entropy & Math Logic)
βββ App.jsx # Route Definitions
βββ index.css # Tailwind Directives
Follow these steps to run the project locally.
- Node.js (v16+)
- npm or yarn
git clone [https://github.com/aammisetty/sentinel-secure.git](https://github.com/aammisetty/sentinel-secure.git)
cd sentinel-secure
npm install
# Installs React, Vite, Tailwind, Lucide-React, React-Router-Dom
Note: The repo comes with config, but if starting fresh:
npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
npm run dev
Open your browser to
http://localhost:5173
This project deliberately avoids mock data for its tools. Here is how the core features function:
We calculate the Shannon Entropy of a file's byte stream.
- Formula:
- Logic: Text files usually have entropy ~3.5-4.5. Encrypted files (Ransomware) appear as high-noise data, resulting in entropy > 7.5 (max is 8.0).
We read the first 4 bytes (ArrayBuffer) of any uploaded file to verify its signature against its extension.
- Example: If a file is named
invoice.pdfbut the header is4D 5A(The DOS MZ executable header), the dashboard flags it as CRITICAL.
- Demo User: Uses
reqres.inpublic API to POST credentials and receive a real JWT token. - New User: Uses LocalStorage with a simulated 2-step OTP process (Browser Alert -> Verify -> Session).
| Landing Page | Command Center |
|---|---|
| (Hero section with live stats) | (File Scanner & Lockdown) |
| Phishing Detector | Secure Tools |
|---|---|
| (URL Heuristic Scan) | (Password Gen & IP Lookup) |
Sentinel Secure is a forensic aid and educational tool. It is NOT a replacement for full-suite Antivirus software or Endpoint Detection and Response (EDR) systems.
- It does not actively block processes.
- It analyzes files you manually select.
- The "Lockdown" feature sends a WhatsApp message; it does not mechanically sever network cables.
Arun Ammisetty
Role: Developer & Security Researcher
This project is licensed under the MIT License - see the LICENSE file for details.