How eurusdevsec/zero-door works
ZERO DOOR is a research-stage, multi-agent defense system for microservices. Its documented loop is Nemesis planning an attack, the Go worker injecting it into a target, Gaia observing metrics and emitting an alert, and Hephaestus applying a recovery action. Shared event-pipeline and measurement modules support event validation, capture, audit, and scoring; the repository also contains an SQL-injection handoff and fixture path. The README describes the broad agent flow, while sampled excerpts and the source index support only selected internal links; historical performance claims are explicitly unverified.
Main entry points: main.py Nemesis Agent · main.go Chaos Worker · adapters.py Event Adapters · scorer.py Incident Scorer
Components 27
Defense Agents
- Nemesis Agent
agent-orchestrator/nemesis/main.py - Command Guard
agent-orchestrator/nemesis/command_guard.py - Gaia Monitor
agent-orchestrator/gaia/main.py - Gaia Diagnosis
agent-orchestrator/gaia/diagnosis.py - Hephaestus Healer
agent-orchestrator/hephaestus/main.py - Recovery Logic
agent-orchestrator/hephaestus/recovery.py - Agent Dashboard
agent-orchestrator/nemesis/static/app.js
Attack Execution
- Chaos Worker
chaos-worker/cmd/main.go - Attack Executors
chaos-worker/internal/attack/executor.go - Worker Guard
chaos-worker/internal/guard/auth.go
Event Pipeline
- Event Contract
agent-orchestrator/event_pipeline/contract.py - Event Client
agent-orchestrator/event_pipeline/client.py - Event Adapters
agent-orchestrator/event_pipeline/adapters.py - Event Store
agent-orchestrator/event_pipeline/store.py - Event Audit
agent-orchestrator/event_pipeline/audit.py - LLM Adapter
agent-orchestrator/event_pipeline/llm.py - Formal Capture
agent-orchestrator/event_pipeline/formal_capture.py
Measurement
- Measurement Flows
agent-orchestrator/measurement/flows.py - Incident Scorer
agent-orchestrator/measurement/scorer.py - Metrics Analysis
agent-orchestrator/measurement/metrics.py - Clock Alignment
agent-orchestrator/measurement/clock.py - Formal Measurement
agent-orchestrator/measurement/formal.py
Target System
- SQLi Fixture
services/sqli-fixture/app.py - Microservices Target
Other components
- Operator
- Kafka
- Prometheus
Connections 29
- Operator → Nemesis Agent: triggers attack
README.md - Nemesis Agent → Kafka: publishes command
README.md - Kafka → Chaos Worker: delivers command
README.md - Chaos Worker → Worker Guard: checks policy
chaos-worker/cmd/main.go - Chaos Worker → Attack Executors: dispatches attack
chaos-worker/cmd/main.go - Chaos Worker → Kafka: publishes result
chaos-worker/cmd/main.go - Attack Executors → Microservices Target: injects failure
README.md - Microservices Target → Prometheus: exports metrics
README.md - Prometheus → Gaia Monitor: provides metrics
agent-orchestrator/gaia/main.py - Gaia Monitor → Kafka: sends alerts
README.md - Kafka → Hephaestus Healer: delivers alerts
README.md - Hephaestus Healer → Recovery Logic: delegates recovery
agent-orchestrator/hephaestus/recovery.py - Recovery Logic → Microservices Target: heals service
README.md - Nemesis Agent → Command Guard: checks commands
agent-orchestrator/nemesis/main.py - Nemesis Agent → Prometheus: queries metrics
agent-orchestrator/nemesis/main.py - Nemesis Agent → Agent Dashboard: serves interface
- Gaia Diagnosis → LLM Adapter: uses adapter
agent-orchestrator/gaia/diagnosis.py - Gaia Diagnosis → Formal Capture: captures decisions
agent-orchestrator/gaia/diagnosis.py - Event Adapters → Event Client: uses client
agent-orchestrator/event_pipeline/adapters.py - Event Adapters → Event Contract: validates events
agent-orchestrator/event_pipeline/adapters.py - Event Adapters → Formal Capture: captures events
agent-orchestrator/event_pipeline/adapters.py - Event Client → Event Contract: validates payloads
agent-orchestrator/event_pipeline/client.py - Event Audit → Event Contract: checks records
agent-orchestrator/event_pipeline/audit.py - Measurement Flows → Incident Scorer: scores runs
- Incident Scorer → Clock Alignment: aligns timestamps
agent-orchestrator/measurement/scorer.py - Incident Scorer → Formal Measurement: uses formal data
agent-orchestrator/measurement/scorer.py - Formal Measurement → Metrics Analysis: uses metrics
agent-orchestrator/measurement/formal.py - Formal Measurement → Event Audit: audits events
agent-orchestrator/measurement/formal.py - SQLi Fixture → Microservices Target: hosts SQLi scenario