Skip to content

Aryan0819/shadow-gateway

Repository files navigation

🌌 SHADOW GATEWAY: GHOST PROTOCOL

Autonomous API Stealth • Software-Defined Air-Gap • Temporal Security


Infrastructure Philosophy Stack Deploy


⌈ SYSTEM MANIFEST ⌋

Shadow Gateway is a high-assurance security infrastructure that enforces a Ghost State on backend services. By utilizing mimetic middleware, the infrastructure remains invisible to the public internet—returning a 404 Not Found to all unauthorized traffic—until it is "Summoned" via a secure Control Plane.


👥 THE ENGINEERING TEAM

Developer GitHub Identity
🛡️ Aryan Raj @aryan200420
Adya Priyam @Adya-Priyam
🕵️ Raj Lakshmi @RajLakshmi-23

🏗️ SYSTEM INFRASTRUCTURE

The system operates on a dual-plane architecture designed to decouple Identity Verification from Resource Access.

[Image of zero trust network architecture]

🛰️ The Control Plane (Frontend)

The "Summoning" portal is a high-fidelity command center built with React.js and Tailwind CSS.

  • Identity Provisioning: Validates developer credentials via Firebase Auth.
  • Temporal Dashboards: Real-time countdowns for active JIT access windows.
  • Manifestation Trigger: On-demand IP whitelisting with instantaneous global propagation.

🌑 The Enforcement Layer (Backend)

Powered by FastAPI, the backend acts as the silent gatekeeper.

  • Stealth Middleware: Intercepts traffic at the edge. Unauthorized packets receive a 404 to prevent server footprinting.
  • Just-In-Time (JIT) Bridge: A 30-minute temporal window that automatically collapses via background cleanup threads.
  • State Synchronization: Real-time integration with Firebase RTDB for sub-second security updates.

🛡️ SECURITY PHILOSOPHIES

Important

MIMETIC OBSCURITY: Traditional firewalls return a 403 Forbidden, leaking that a resource exists but is protected. Shadow Gateway returns a standard 404, making the server appear non-existent to automated reconnaissance tools.

Caution

TEMPORAL DECAY: Access is a lease, not a permanent state. The JIT window ensures that even if a developer's machine is compromised, the window of vulnerability is limited to the 30-minute bridge duration.


🛠️ TECH STACK

Component Tech Logo Purpose
Backend FastAPI FastAPI Asynchronous Enforcement Engine
Frontend React React Control Plane Dashboard
Auth/DB Firebase Firebase Real-time State Orchestration
Styling Tailwind Tailwind Security Terminal UI Design
Scripting Python Python Logic & Background Cleanup
Environment Node.js Node.js Runtime environment for the React-based Control Plane

⚡ SETUP & DEPLOYMENT

1️⃣ Environment Configuration

Ensure serviceAccountKey.json is present in the root directory and your Firebase Realtime Database rules are set to auth != null.

2️⃣ Service Initialization

# Initialize Backend Enforcement
cd backend && pip install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8000 --reload

# Launch Control Plane
cd frontend && npm install
npm start

📂 PROJECT ARCHITECTURE

shadow-gateway/
├── backend/
│   ├── main.py                # FastAPI Enforcement & JIT Logic
│   ├── requirements.txt       # Backend dependencies
│   └── serviceAccountKey.json # Firebase Admin SDK Credentials
├── frontend/
│   ├── src/
│   │   ├── App.js             # Control Plane Dashboard Logic
│   │   ├── firebaseConfig.js  # Firebase Client Configuration
│   │   └── index.css          # Tailwind & Global Styles
│   ├── public/                # Static assets
│   └── package.json           # Frontend dependencies
└── README.md                  # System Manifest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors