Skip to content

Security: kay2stack/xbox-agent-bridge

Security

SECURITY.md

Security and privacy

The bridge controls a real input device. Give its token only to agents you trust with your console session.

  • The API binds to loopback only, authenticates every state/control endpoint, rejects foreign Host/Origin headers and does not enable CORS. Use SSH over your private network for remote access.
  • Stop revokes the lease and submits a neutral report. Actions are capped at two seconds and interrupted on focus loss, request disconnect or shutdown. The in-process watchdog cannot guarantee recovery from host, process or kernel-driver failure.
  • XInput is an OS-wide device. Foreground checks reduce accidental control but are not isolation from every other process that polls gamepads. Close competing games and controller consumers on the Windows host.
  • Capture is the visible Greenlight client-area rectangle. Always-on-top overlays and notifications may appear in that rectangle. It is not a direct video-stream capture and cannot establish stream freshness.
  • Source URLs and memories are stored as untrusted data, never downloaded or executed by the bridge. An agent must not treat a game guide or saved note as instructions overriding the user.
  • Default state lives outside the repository, under the current user's local application-data directory. Its security depends on that user's filesystem permissions. Unix directories/files are restricted; on Windows they inherit the user's profile ACLs. Use a dedicated desktop account if local users should be isolated.
  • Tokens, goals, research, mission summaries, logs and optional images can be sensitive. Review exports before sharing. .gitignore excludes common state, credential and recording files, but does not replace review.
  • ViGEmBus is an archived kernel driver. Installation is separate; the project never silently installs it or changes security settings.

To report a vulnerability, use GitHub's private vulnerability reporting feature for this repository when available. Do not post tokens, account material or private recordings in public issues. For a non-sensitive report, open an issue describing the affected behavior and reproduction with simulation data.

There aren't any published security advisories