If you discover a security vulnerability, please do not open a public issue.
Please report it privately to the project maintainer.
Include the affected commit, deployment mode, reproduction steps and impact. The maintainer should acknowledge a report within 3 working days and provide an initial severity assessment within 7.
Only the latest development version is currently supported.
The default server binds only to 127.0.0.1. This is the supported local-demo mode.
HOST=0.0.0.0or any non-loopback host is rejected unlessGAME_API_TOKENis set.ALLOWED_ORIGINSis a comma-separated exact allowlist. Defaults are the local Vite origins.- Remote HTTP clients send
Authorization: Bearer <GAME_API_TOKEN>. - WebSocket handshakes enforce the same Origin and Bearer-token policy.
- JSON bodies are limited to 64 KiB; API requests are rate-limited per source address.
This token gate is a minimal single-user boundary, not a multi-tenant account system. Public or multi-user deployment additionally requires TLS at a trusted reverse proxy, per-user sessions, authorization, CSRF review, game-instance isolation, durable audit logs and concurrency controls.
Never put GAME_API_TOKEN in source files, screenshots, URLs or client-side bundles.
Agent databases, browser snapshots and debug logs are governed by
docs/agent-data-retention-policy.md and must not enter Git or release artifacts.