Agent Matrix is a self-hosted agent control plane. It is designed to run on a machine you control, on a trusted network.
| Version | Supported |
|---|---|
main (latest release) |
✅ |
| Older commits | ❌ |
Please open a private security advisory on GitHub (Security → Report a vulnerability) rather than a public issue. Include:
- what an attacker gains,
- the reproduction path (endpoint, request body, expected vs actual),
- the commit or release you tested.
You can expect an acknowledgement within 72 hours and an assessment within 7 days. Please do not run automated scans against other people's deployments.
Agent Matrix holds agent registration tokens and dispatches text tasks to registered agents. Treat a deployment as sensitive.
In scope:
- Missing or bypassable authentication on the admin API, the WebUI, or the agent endpoints — anything that lets an unauthenticated caller register an agent, read another agent's state, or dispatch a task.
- Client-IP spoofing that defeats the trusted-proxy handling in
security_test.go. The server trustsX-Forwarded-Foronly from configured proxy addresses; a bypass would let an attacker forge its own IP and defeat the allowlist logic. - SSRF or path traversal in attachment upload/download handling.
- Privilege escalation between agent-scoped tokens and admin capabilities.
Out of scope:
- Findings that require an attacker to already hold the admin password or an agent token.
- The absence of TLS. Deploy behind a reverse proxy if the network is not trusted — see below.
- Denial of service from an authenticated admin.
- The default listen address is
:26817(AGENT_MATRIX_ADDR). Bind it to127.0.0.1when it is only reachable through a reverse proxy. - The first visit forces an administrator bootstrap. Passwords are stored with PBKDF2 and a per-user salt; the plaintext is never persisted.
- Put the service behind a TLS-terminating reverse proxy if it is reachable from an untrusted network.
- Back up the SQLite database. It holds the agent registry and the audit trail.
Agents connect outbound only — the target machine never needs an inbound port and never runs a resident daemon. Keep the generated setup command and the issued token private: anyone holding the token can register as that agent.