The Next-Gen AI Cybersecurity Learning & Interactive Tools Platform
Inspired by Netflix content discovery, Apple visual polish, and TryHackMe/Hack The Box gamification.
CyberFlix is a state-of-the-art, open-source cybersecurity platform combining cinematic content discovery, real-time security tools, practical CTF lab sandboxes, global leaderboards, structured academy learning paths, and instant AI vulnerability assistance.
Engineered with a zero-trust architecture, Prisma 7 ORM, and a dual-mode AI engine, CyberFlix delivers a seamless, 100% free experience for cybersecurity students, SOC analysts, bug bounty hunters, and ethical hackers to practice and expand their skills.
CyberFlix is created and actively maintained by:
- 👨💻 Shubham - Core Architecture, Frontend Design & Database Systems
- 👨💻 Harshit (@harshitthek) - Security Tool Engines, Backend API & Intelligence Integration
- Billboard Hero: High-contrast cybersecurity operations background with multi-directional gradient masks and streaming typography.
- Horizontal Discovery Rails: Smooth carousels for
Trending Tools,Popular Labs,Continue Learning, andLearning Paths. - Interactive Card Hover: Elevation, smooth scaling (
scale: 1.06), CyberFlix Red ambient glow, and instant metadata overlays. - Translucent Minimal Header: Backdrop-blurred navigation header with scroll transitions and debounced global search (
⌘K).
Client and server-side security tools executing real network queries:
- Port Scanner: Target IP input, scan mode presets, native Node.js socket connection probing (
net.Socket). - Subdomain Finder: Live Google DNS over HTTPS (DoH) resolution (
https://dns.google/resolve) across common subdomains. - DNS Lookup: Live DoH authoritative query for A, AAAA, MX, TXT, and NS records.
- WHOIS Lookup: Real-time Registration Data Access Protocol (RDAP) lookup via
https://rdap.org/domain/. - Directory Bruteforce: Web URL target input, backend HTTP probe engine checking
/admin,/login,/robots.txt,/.env, and/api. - Hash Generator: Real-time multi-algorithm hashing (MD5, SHA-1, SHA-256, SHA-512) via Web Crypto API with one-click copy buttons.
- Competitive Ranking: Real-time global ranking server component querying user
currentXpand level progress via Prisma ORM. - Cinematic Top-3 Podium: Animated gold, silver, and bronze podium cards powered by Framer Motion.
- Lab Sandbox Environment: Real-world scenario briefs, mission objectives, and unlockable hint accordions.
- Simulated BASH Terminal CLI: Supports terminal commands
help,scan,curl,cat flag.txt,exploit,whoami,id,clear. - Flag Verification: Instant flag validation (
FLAG{...}), completion state toggle, and +XP reward unlocks. - Scenarios Offered:
ssrf-metadata-extraction- SSRF Cloud Metadata Extractionidor-profile-hijack- Insecure Direct Object Referencesql-injection-fundamentals- SQLi Authentication Bypassxss-reflected-execution- Reflected XSS Cookie Stealerjwt-token-tampering- JWT Signature Forgerylinux-privilege-escalation-sudo- Linux Sudo GTFOBins PrivEscwireshark-pcap-forensics- PCAP Network Analysisbuffer-overflow-stack-smash- Binary Stack Smashing
- Zero-Cost Streaming: Built-in intelligent streaming engine requiring $0 setup or API keys out of the box.
- Gemini Integration: Supports Google Gemini 1.5 Flash streaming via Vercel AI SDK when
GOOGLE_GENERATIVE_AI_API_KEYis provided. - Safety Guardrails: Strict system prompt enforcing defensive guidance and remediation, refusing weaponized exploit requests.
- Audit Dashboard: Security audit logs (
REP-2026-0801), risk scores, CVSS ratings, and one-click JSON/CSV exports. - Centralized Gamification: XP calculation, Level progress, streak counter, and automatic database sync (
store/useUserStore.ts).
- Framework: Next.js 16 (App Router)
- Library: React 19
- Language: TypeScript 5.0
- Database & ORM: Prisma 7 with
@prisma/adapter-pg - Authentication: NextAuth.js (GitHub & Google OAuth)
- Styling: Tailwind CSS v4
- Animation: Framer Motion 12
- AI SDK: Vercel AI SDK &
@ai-sdk/google - Testing: Jest & Playwright
cyberflix/
├── app/ # Next.js App Router Pages
│ ├── ai/ # AI Security Assistant (Dual Engine)
│ ├── api/ # API Endpoints (Auth, Tools Execute, User Progress, AI)
│ ├── browse/ # Streaming Catalog Browser
│ ├── dashboard/ # Student Dashboard & Gamification
│ ├── labs/ # CTF Lab Sandboxes & Terminal
│ ├── leaderboard/ # Global Leaderboard Page & Podium
│ ├── learn/ # Academy & Career Paths
│ ├── profile/ # User Profile & Achievements
│ ├── reports/ # Vulnerability Reports Dashboard
│ ├── settings/ # Account Settings Page
│ ├── tools/ # Security Tools Hub (Live Engines)
│ ├── layout.tsx # App Layout & SEO Metadata
│ └── page.tsx # Netflix Billboard Homepage
├── components/ # UI & Layout Components
├── data/ # Tools, Labs, Courses, Reports Data
├── lib/ # Singleton Prisma Client & Constants
├── store/ # Zustand State & Backend Sync
├── __tests__/ # Jest Unit Test Suites (20 Passing Tests)
└── tests/ # Playwright E2E Tests
Ensure you have Node.js 18.x or higher installed.
-
Clone the Repository:
git clone https://github.com/Shubham-dev-stack/cyberflix.git cd cyberflix -
Install Dependencies:
npm install
-
Configure Environment Variables: Copy
.env.exampleto.env:cp .env.example .env
-
Initialize the Database: Push the Prisma schema to your PostgreSQL database.
npx prisma db push npx prisma generate
-
Run Development Server:
npm run dev
-
Open
http://localhost:3000in your browser.
-
Run Unit Test Suite (Jest):
npm test(Runs 20 automated unit tests covering gamification math, CTF labs data integrity, and tools catalog standards).
-
Run E2E Browser Tests (Playwright):
npm run test:e2e
-
TypeScript Type Check:
npx tsc --noEmit
graph TD
Client[Next.js Frontend] --> Zustand[Zustand Global State]
Client --> Tools[Interactive Tool Engines]
Client --> Auth[NextAuth.js]
Client --> AISentinel[AI Sentinel Assistant]
Tools --> DoH[Google DNS over HTTPS]
Tools --> RDAP[RDAP WHOIS API]
Tools --> SocketBackend[Node.js net.Socket API]
Auth --> Providers[GitHub / Google OAuth]
Auth --> Prisma[Prisma ORM 7]
Prisma --> Postgres[(PostgreSQL DB)]
AISentinel --> Gemini[Google Gemini 1.5 LLM]
AISentinel --> FreeEngine[Zero-Cost Local Stream Fallback]
CyberFlix is designed strictly for educational and authorized security training purposes. All security tool engines execute safe network probes or run in client-side Web Crypto API abstractions.
- No Dangerous Real-World Attack Features: Exploit functionality against unauthorized external targets is strictly blocked.
- Zero API Key Leakage: No hardcoded API keys, private tokens, or credentials exist within this repository.
Distributed under the MIT License.
© 2026 CyberFlix Platform. Created by Shubham & Harshit (@harshitthek).