Privacy and security
Attestyx stores agent conversations, which are sensitive by nature. It is built to keep them on your own infrastructure.
Where data goes
- Self-hosted. Conversations stay on your server. Nothing is sent to a third party, and no LLM is called.
- Models run locally. The classifiers run with ONNX Runtime on the server's CPU, with no external API calls.
- The collector never changes what the developer sends. It forwards traffic to the model provider the agent was already using and keeps a copy. Upstreams come from a fixed table and are never taken from request headers (no open relay).
- No guessing with credentials. An unrecognised request that carries credentials is refused locally (421) and recorded: guessing would hand one provider's key to another.
Credentials and secrets
- Credentials are redacted by the collector before storage:
authorization,x-api-keyandx-goog-api-keyheaders, API keys, cookies and?key=parameters. - Secrets are masked in the dashboard, with an audited Reveal.
- On the laptop, the collector's local store is
~/.attestyx/attestyx.db(SQLite, file mode 0600).
Access
- The database and server bind to localhost by default. The dashboard listens on
127.0.0.1:8800. - To let laptops reach the server, put it behind a reverse proxy with TLS and set
ATTESTYX_SECURE_COOKIES=1. - Laptops authenticate with per-device keys issued at enrolment.
- Every admin action is in the audit log.
Recommendations
- Run Attestyx on a private network.
- Restrict dashboard access.
- Use long random values for
ATTESTYX_SESSION_SECRET(32+ random bytes),ATTESTYX_ADMIN_PASSWORD,ATTESTYX_ENROLL_TOKENandPOSTGRES_PASSWORD.quickstart.shgenerates random secrets on the first run. - Verify collector downloads against
SHA256SUMS. See Install.
Model supply chain
scripts/download_models.py fetches each model at a pinned commit and verifies its SHA-256, so a changed upstream repository cannot be pulled in silently. The Guard 32M training data from real developer sessions was pseudonymized before use, and no raw session text is in the model repository.
Reporting a vulnerability
Report vulnerabilities privately, as described in SECURITY.md.