Skip to content

suhaniarya-eterna/dna

Repository files navigation

🧬 WebDNA — Self-Healing Cybersecurity Simulation

Turning websites from static targets into living, adaptive systems.


🚀 Overview

WebDNA is an interactive cybersecurity simulation that reimagines how websites defend themselves.

Inspired by biological DNA repair and vaccination, this system demonstrates how a website could:

  • Detect attacks in real time
  • Repair its own vulnerabilities
  • Learn and evolve after each threat

Instead of static defenses, WebDNA introduces self-healing, adaptive security.


⚡ Key Features

🧬 DNA-Inspired Defense System

  • Visualizes website structure as a living DNA system
  • Shows real-time damage, repair, and stabilization

⚔️ Attack Simulation Engine

Simulate real-world attacks like:

  • SQL Injection
  • XSS (Cross-Site Scripting)
  • DDoS / Bot Swarm
  • Brute Force
  • Zero-Day Exploits
  • Data Exfiltration

Watch how the system reacts instantly.


🧠 Live Code Evolution (GitHub-Style)

  • Displays a full repository-like interface

  • Shows real-time code updates during attacks

  • Highlights:

    • Added logic (+)
    • Modified lines (~)
    • Removed code (-)

🧬 Genetic Memory System

  • Stores past attacks
  • Improves response speed over time
  • Simulates learning like an immune system

🤖 AI-Powered Guidance

Built with Firebase Studio and Gemini AI

  • Explains each attack in real time
  • Describes system responses
  • Helps users understand complex security concepts

🎬 Scroll-Based DNA Animation

  • Cinematic scroll-driven experience
  • Shows full lifecycle: Broken → Detection → Repair → Evolution

🛠️ Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Rendering: Canvas-based frame sequence engine
  • Animation: Scroll-driven + requestAnimationFrame
  • Hosting: Vercel
  • AI Integration: Gemini

📂 Project Structure

/public /images /frames /src /components /core /ai


🧪 How It Works

  1. User triggers an attack
  2. System detects threat
  3. Code updates dynamically
  4. Defense mechanisms activate
  5. System stabilizes and learns

All of this happens visually and interactively.


🎯 Why This Matters

Traditional cybersecurity is reactive.

WebDNA explores a future where systems are:

  • Self-aware
  • Self-repairing
  • Continuously evolving

This is a step toward intelligent, autonomous security systems.


🌐 Live Demo

https://dna-five-mu.vercel.app


👩‍💻 Author

Suhani Arya


🧬 Final Thought

Security shouldn’t just defend. It should evolve.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages