NODE//ZERO
Offensive Security Training, Reimagined.
operator@darkstart:~$
DARKSTART training console ready. Input is parsed by NODE//ZERO; no shell is attached.
Interactive demonstration. It runs in your browser on the scenario’s own rules: seven allowlisted actions, in order, never a shell.

- ROLE
- Product design, full-stack engineering, scenario and security design, realtime systems, testing, and deployment.
- TECHNOLOGY
- REACT / TYPESCRIPT / VITE / FASTIFY / WEBSOCKETS / SQLITE
01 // THE PROBLEM
Practice shouldn’t feel like coursework.
A lot of cybersecurity training is genuinely useful, but it can still feel like coursework. You’re given instructions, you complete the task, and you move on. I wanted to see what would happen if that same learning process felt more like entering an operation instead.
So while I was building it, I kept coming back to the same questions I wanted a learner to ask themselves:
- What do I know right now?
- What should I inspect next?
- What changed?
- What did that reveal?
- And how does this get me closer to the objective?
02 // THE CONCEPT
DARKSTART is your first operation.
DARKSTART is the first operation I built for NODE//ZERO. You’re dropped into a fictional security assessment with a clear objective, but the path isn’t handed to you like a lesson. You investigate the environment and gradually uncover what’s connected, what you can access, and where to go next.
The scenario is Meridian Circuit Systems, a fictional company responding to unusual activity on its network. Each action you take, whether that’s scanning a system, inspecting it, or attempting access, moves the operation forward and reveals more of what’s actually happening. Underneath the story, you’re practicing real skills: reconnaissance, thinking in terms of access levels, and following one discovery to the next until you reach the objective.
- RECON
- DISCOVERY
- INITIAL ACCESS
- INTERNAL INSPECTION
- INTELLIGENCE
- ELEVATED ACCESS
- OBJECTIVE RETRIEVAL

03 // SYSTEM ARCHITECTURE
A real backend behind the simulation.
Even though DARKSTART is a simulation, I didn’t want the interface to fake progress. Every action you take moves through the backend, updates the state of the operation, gets saved, and comes back to the interface in real time.
A React frontend talks to one Fastify service over regular HTTP requests and two WebSocket connections, one that keeps the operation in sync and one that powers the console. Fastify runs the scenario logic, saves progress to a SQLite database, and, for local development, can optionally hand off to a small Docker-based lab.
04 // SECURITY / ISOLATION MODEL
A public demo with nothing to attack.
If I was going to let anyone try this publicly, I needed a clear boundary between demonstrating cybersecurity concepts and exposing something a stranger could actually break into. The public demo only ever runs the simulation. There is no real vulnerable machine behind it and no real shell to reach, and it only accepts requests from the site itself.
PUBLIC DEMO
- No public shell: the console only accepts a fixed set of approved actions.
- No vulnerable targets: every stage is a simulation, not a real system.
- Strict origin checks and rate limits on every request and WebSocket connection.
- Operations expire automatically, after 45 minutes, with a cap on stored history.
- Docker is unreachable: it's rejected before it could ever load.
Locally, I can optionally start a small Docker-based lab to show that same infrastructure work for real, on its own isolated network, running with no elevated permissions. It exists to demonstrate that skill, not because DARKSTART needs an actual machine to teach the exercise.
LOCAL ENVIRONMENT
- An optional local Docker demo, using two harmless placeholder containers.
- Its own isolated network per operation, with no ports exposed.
- Runs as a non-root user, with no elevated permissions and a read-only filesystem.
- Independent of training: Docker never affects your progress in the operation.
- Never available on the public site. Local only, and off by default.
Containers are not VM-grade isolation. Docker Desktop runs inside its own VM, and host firewall/kernel-escape resistance sits outside this project’s test boundary. Docker is never enabled for the public demo.
05 // OPERATION: DARKSTART
The operation, screen by screen.
The network starts almost entirely hidden. As you investigate, systems appear on the map, your access changes, and the objectives update to reflect what you’ve actually done. Here’s what that looked like as the operation progressed.






06 // ATTACK PATH
The map grows as you do.
One of my favorite parts of NODE//ZERO is the attack graph. At the start, most of the network is hidden, and all you can see is your own entry point. As you investigate and gain access, the graph grows with you: EDGE-01 appears, then APP-02, then finally CORE-01, the objective. It turns something normally abstract, an attack path, into something you can actually watch take shape.
07 // ENGINEERING
Built like a real system, not a demo.
The interesting parts of building NODE//ZERO were rarely visual: keeping the browser and server in sync, surviving dropped connections, and keeping every operation isolated from the others. It runs on TypeScript throughout, with React, Fastify, WebSockets, SQLite, Zod, Vitest, and Playwright doing the work underneath.
Typed shared contracts
One set of types, generated with Zod and shared by the frontend, backend, and engine, so they never drift apart.
Operation lifecycle
CREATED → STARTING → ACTIVE → COMPLETING → COMPLETED, with one shared path for resetting back to the start.
Operation isolation
Every operation is keyed by its own ID: its own rows, its own event channel, its own lab session. Nothing leaks between operations.
Persistence and recovery
An operation and its history are saved to SQLite together, so a reload always plays back the same sequence of events.
WebSocket reconnect and resync
If the connection drops, the client reconnects on its own, merges any missed history back in, and ignores duplicates so progress can't get corrupted.
A predictable simulation engine
Given the same actions in the same order, it always produces the same result: no randomness, no hidden side effects, no stray network calls.
A console with real limits
Its own WebSocket connection, with rate and length limits, mapped to a fixed set of approved actions. Never a real shell.
Hardened public deployment
Strict origin checks, security headers, request limits, and automatic cleanup once an operation expires.
Unit, integration, and E2E testing
Vitest covers the engine and API logic. Playwright drives the full operation, plus a separate pass against the public demo.
Architecture decision records
Seven ADRs explaining why the Docker boundary, the console model, and the public demo runtime work the way they do.
08 // DEBRIEF
What this project demonstrates.
Building NODE//ZERO let me practice a lot of things I care about in one system: product thinking, UI design, frontend engineering, backend engineering, real-time communication, security boundaries, testing, and deployment, all applied to one operation from start to finish.
Cybersecurity training does not have to feel like completing coursework. NODE//ZERO was my attempt to explore what it could feel like when the learning itself becomes part of the experience.
