IoT Security Lab is a local full-stack cybersecurity dashboard for the Hydroficient MQTT security project. It wraps the existing Mosquitto, TLS/mTLS, Python MQTT client, replay attack, rogue client, and certificate validation experiments in a recruiter-facing web interface.
- MQTT broker control through FastAPI
- Secure client and rogue client simulations
- TLS and mTLS authentication flows
- Replay, tampering, missing certificate, invalid certificate, and expired certificate attacks
- Persistent MQTT subscriber monitoring
- Live dashboard metrics, traffic, alerts, authentication events, and logs
- Public frontend demo mode for Vercel deployment
- Next.js and TailwindCSS frontend
- FastAPI backend
- WebSockets for live updates
- Mosquitto MQTT broker
- Python MQTT clients and attack simulations
The cheapest hosted version deploys only the frontend folder to Vercel. If the browser cannot reach the local FastAPI backend, the dashboard automatically enters public demo mode and simulates the live MQTT security pipeline.
Deployment notes are in frontend/DEPLOYMENT.md.
Run the backend locally for the real Mosquitto, MQTT, TLS/mTLS, certificate, and attack simulation workflow.
Private certificate keys are intentionally ignored by Git. Regenerate local keys with the certificate generation scripts when needed.