MAP is intended for administrators connecting trusted MCP clients to panels they control. Do not expose it as an unauthenticated public HTTP service.
- MAP host: no arbitrary shell, SSH, or OS-root tool is provided. Run the service as an unprivileged account.
- Panel API: configured keys/tokens determine capabilities. Generic REST writes and dedicated tools can be destructive.
- MCP client: any client holding the bearer token can invoke all tools on that service; the token is not per-tool authorization.
- Wings transfers: binary tools follow panel-generated signed URLs only after HTTPS and exact-host checks.
- Loopback binding by default; non-loopback HTTP binds require a bearer token of at least 32 characters.
- Constant-time bearer comparison.
- HTTPS-only panel URLs, no embedded user-info/query/fragment, and no arbitrary external request target.
- Redirects disabled for authenticated API calls.
- Configured provider secrets, auth-header values, and cached PufferPanel access tokens are redacted from API responses.
- MCSManager sends its documented API key as an HTTPS query parameter, so reverse-proxy logs must be restricted and redacted.
- AMP credentials are used for session login; session IDs are cached server-side and redacted from API output. Use an AMP account with minimum required permissions.
- HTTP Basic credentials are encoded for the Authorization header, not encrypted by Basic auth itself; use them only over HTTPS.
- Common credential fields, known configured key strings, and sensitive signed-URL query parameters are redacted.
- Configurable response/file size limits.
- Exact Wings hostname allowlist; redirects disabled.
- Included systemd service uses a dedicated account and OS sandboxing.
These are defense-in-depth controls, not a guarantee that every deployment or panel fork is secure.
- Use the narrowest API keys and permissions available; avoid reusing root-admin tokens across panels.
- For remote access, use HTTPS, a firewall/source restriction, and MAP's bearer token. Consider an additional access layer.
- Keep environment files, API keys, signed URLs, and production logs out of Git and issues.
- Never run MAP as root.
- Back up before destructive actions. Treat kill, file deletion, backup deletion, and generic mutating requests as potentially irreversible.
- Rotate secrets promptly after accidental exposure.
Report vulnerabilities privately through the process in SECURITY.md.