How it works · how to play · live Space info
Team Neuron — CyberSelfPlay cockpit for the OpenEnv Hackathon (Meta's OpenEnv
Flow
- New episode opens a persistent
WebSockettowss://harshitshri026-cyberselfplay-env.hf.space/ws(OpenEnv/wson your Hugging Face Space). Episode state lives on the server, not in this browser tab beyond the open socket. - Each Execute sends a real
stepwith yourCyberAction(actor, tool, target, params). Rewards, observations, and done are computed byCyberSelfPlayEnvironmentin the Space. - The auto opponent is a policy in this page (heuristics + randomness). It only chooses the next Red/Blue action; the environment still runs that action on the same remote session.
- Plain HTTP
POST /stepon the Space creates a new env per request (not stateful). This UI uses/wsso turns chain correctly. - Tool names and scenarios below come from
GET /info, loaded via same-origin/hf-cyber-env/info(rewrite to the Space).
How to play
- Press New episode to open a live session on the Hugging Face Space (wait if the Space is waking up).
- Choose SOC · Play as Blue (defender) or Red Cockpit (attacker). You only control that side; the other side moves right after each of your steps (scripted opponent in this UI).
- Pick a tool and target host. For Blue
execute_instruction, set params.required_tool to match the current playbook step. - Click Execute + auto opponent. Watch the Transcript and Scoreboard; repeat until the episode ends.
- The host map is a hint from alerts and recon — Blue does not see the full hidden state (partially observable game).
From Space /info
Loading…
Team Neuron · OpenEnv Hackathon · CyberSelfPlay
Play Blue or Red
Scoreboard (session)
Blue Σ reward
0.00
Red Σ reward
0.00
MTTD-ish
—
MTTR-ish
—
ρ_inst
—
Business
—
Blue tool
Hosts (blue view)
last action alert-linked other
Transcript
Click "New episode" to open a WebSocket to the Space, then pick a tool.