Wraith is a terminal server. Treat the MCP endpoint as a remote shell with the permissions of the user who started it.
Please report vulnerabilities privately through GitHub's Report a vulnerability flow on this repository (Security → Advisories → Report a vulnerability). Do not open a public issue for an unfixed vulnerability, and do not include tokens, private keys, command output or personal paths in a report unless they are necessary to reproduce the issue.
- The server binds
127.0.0.1:7799by default. - A non-loopback bind is refused unless a bearer token is configured, or the
operator passes
--allow-remoteexplicitly. - The MCP path is the only command- and file-bearing endpoint.
/healthzand/return status information without secrets. - DNS-rebinding protection is provided by the streamable HTTP transport.
- There is no sandbox. Commands and background jobs run with the server user's full permissions.
file_readandfile_writecan access any path that user can, with no path allowlist. Treat the MCP endpoint as remote shell access.
Rotate it immediately: stop the server, start it with a new --token (or
WRAITH_TOKEN), and update every client configuration. The token is not stored
on disk by Wraith.