Skip to content

Repository files navigation

SecureChat

End-to-end encrypted real-time chat with an integrated Security Operations Center (SOC) dashboard. Cryptography runs in the browser; the server relays ciphertext only and runs a live threat engine.

Features

  • E2E: AES-256-GCM, RSA-OAEP key wrap, ECDSA signatures, per-message nonces
  • SOC: Session map, threat feed, analytics, packet log, attack lab
  • Live demos: Attacks from chat (real wire + threat engine) and from admin SOC
  • Auth: JWT, refresh tokens, MFA (email OTP when SMTP configured)

Quick start

Prerequisites: Node 18+, MongoDB, Redis

# Backend
cd backend
npm install
cp .env.example .env
npm run dev

# Frontend (new terminal)
cd frontend
npm install
npm run dev
  • App: http://localhost:5173 (Vite default)
  • API: http://localhost:5000
  • Admin: admin@securechat.local / Admin@1234 — OTP in backend console for .local emails

Demo & structure

Doc Contents
DEMO.md Step-by-step viva script
PROJECT_STRUCTURE.md Folder layout & APIs
CHANGELOG.md What was added recently
ARCHITECTURE.md System design
THREAT_MODEL.md Attack mitigations

Evaluation

cd backend
npm run eval:all

CSV results: evaluation/results/

MFA

Set EMAIL_USER / EMAIL_PASS (or SMTP vars) in backend/.env, or run:

cd backend
npm run mfa:enable

About

SecureChat is a full-stack, end-to-end encrypted messaging platform integrated with a real-time Security Operations Center (SOC) dashboard. Cryptographic operations (AES-256-GCM, RSA-OAEP, ECDSA signatures) are executed entirely in the client browser, ensuring the server relays ciphertext only while evaluating live network threats.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages