How Fistron is built and secured
This page is for the people who decide where Fistron runs and the people who review it for security. It describes the parts, the connections between them and what each keeps. How to install them is in Choose how to install Fistron.
The parts
| Part | What it is | Where it runs |
|---|---|---|
| Fistron (the open package) | The command line fistron, the local UI fistron ui, its API and every operation: analysing a failed job, assessing a change, collecting the CI history, the test plan and others. |
A developer’s machine, a CI job, a virtual machine, or inside the agent |
The closed core (fistron-core) |
A compiled extension of Fistron for the licensed features (flaky, audit, repair, authoring, predictive, compliance, outcomes, assistant). It checks the licence offline. |
Beside Fistron, in the same Python environment or image |
| The agent | Fistron running as a service for a control plane (fistron agent run). It takes work from the control plane, runs it next to your tools and uploads the documents it writes. |
Inside your network, next to your CI and your Git platform |
| The control plane | A web application for an organisation: projects, members and roles, the documents of every project, schedules, compliance, approvals, the audit trail and the guide. It never runs your tests or reads your repositories itself. | Hosted at app.fistron.io, or in your own Kubernetes |
| A model endpoint (optional) | An OpenAI-compatible LLM endpoint for the operations that use a model. Every operation also works with plain rules, without a model. | Yours (a cloud provider’s or one in your network), or a local model served by the chart’s llm component |
You can run Fistron in four shapes:
- On one machine or in CI: Fistron and, if licensed, the closed core. No control plane, no agent.
- Cloud: the control plane at
app.fistron.ioand your organisation’s agent on Fistron’s host; you give it access to your repositories in the control plane, and nothing is installed in your network. - Hybrid: the control plane at
app.fistron.io, your agent inside your network. - On-premises: the control plane, the agent and optionally a local model, all in your own Kubernetes, also without internet access.
Connections
Your network Control plane (app.fistron.io or yours)
+---------------------------------------+ +-------------------------------+
| GitHub, GitLab, Jenkins, Kubernetes | | API and web UI |
| ^ read; write only by policy | | PostgreSQL |
| | | | identity provider |
| +-----+-------+ | +------^-----------------^------+
| | Agent | | | |
| | Fistron + |----------------------------------+ |
| | closed core | outbound HTTPS only | browsers: HTTPS,
| +-----+-------+ | sign-in through
| | | your identity provider
| v |
| model endpoint (optional) |
+---------------------------------------+
| From | To | Protocol | Why |
|---|---|---|---|
| Agent | Control plane | HTTPS (443), outbound | takes work (long polling), uploads documents, posts results |
| Agent | Your Git platform, CI, Jenkins, Kubernetes | HTTPS, the platforms’ APIs | reads the evidence with its own tokens, read only unless a level of autonomy allows a pull or merge request |
| Agent | Model endpoint | HTTPS (or HTTP inside the cluster to the local model, port 8000) | the operations that use a model |
| Browsers | Control plane | HTTPS (443) | the web UI; sign-in through your identity provider (OpenID Connect) |
| Control plane | Identity provider | HTTPS (443) | sign-in |
| Control plane | PostgreSQL | PostgreSQL (5432) | its database (on-premises: yours) |
| CI jobs | Control plane | HTTPS (443) | optional: upload of the CI’s reports with a project’s automation token |
| Local UI | the browser on the same machine | HTTP on 127.0.0.1:8740 |
fistron ui, bound to the loopback |
The control plane never opens a connection into your network. A
corporate proxy works for the agent through HTTPS_PROXY and NO_PROXY.
Installed, Fistron loads nothing from the internet by itself: it connects
only to what its configuration names.
What leaves your network
- Your tokens stay with your agent. Its tokens for your platforms are in its own environment; its configuration names the variables, and the control plane cannot send another configuration. In the cloud way, where Fistron runs the agent, you enter your GitHub App’s key or GitLab tokens on the Platform access page instead: the control plane keeps them sealed, hands them only to your organisation’s agent with a work, and Fistron reads and writes only the repositories you list (Use Fistron in the cloud).
- Raw inputs stay on the agent: repository checkouts, whole CI logs, test artifacts and the cases it builds stay in its workspace.
- Documents are uploaded to the project of the work: reports and records with their findings, the cited evidence and short excerpts of logs or diffs. A person can also upload a CI log in the control plane.
- To a model goes only what the endpoint’s data class allows:
public<internal<confidential. Evidence isconfidentialby default, so an endpoint receives it only when you trust it with that class (Configure models (LLM endpoints)). An endpoint inside your network keeps everything inside. - Fistron itself sends nothing home: no telemetry. The licence is checked offline; usage is counted in the control plane you use.
In the cloud way the raw inputs are on Fistron’s host instead, in your organisation’s agent’s workspace.
On-premises without internet access, nothing leaves: the control plane, the agent and a local model run in your network.
Access and isolation
- Sign-in: OpenID Connect with your identity provider (a local admin only to set up an installation). People get roles through your groups: Viewer, Engineer, Manager, Admin, Auditor, Management (Set up your organisation).
- Organisations are isolated in the database by row-level security: every query runs for one organisation only.
- Agents register once with a one-time token (at most seven days), then use their own credential that lives 90 days and renews itself; an admin can revoke it at any time. An agent serves only the projects it is given.
- The local UI listens on the loopback only, with a token per start; only the browser on that machine may change its configuration.
- Every change to your repositories goes through a pull or merge request that a person decides, at the level of autonomy you set (off, propose, decide, merge). The agent’s write token is separate from its read token.
- The audit trail records who did what in the control plane; documents are kept for the retention you set per kind.
Integrity: licences and signatures
- Licence: a signed file, verified offline by the closed core against Fistron’s public key. With a control plane, the organisation’s licence travels with each work to the agent.
- Images and packages: every release’s images are signed (cosign), with an SBOM and build provenance; the wheels come with signed checksums. Verify them before installing (Install on a machine, a virtual machine or in CI).
- Offline bundle: its checksums are signed with Fistron’s bundle key and verified without the internet (Install without internet access).
- Containers run as any non-root user, with a read-only root file system, without capabilities. The chart adds a NetworkPolicy per component: only the connections in the table above.
- Signed results: audit packages are signed with the installation’s key; a validation run’s attestation with the participant installation’s key. Anyone with the public key can verify them offline.
Versions
The agent and the control plane work together when they are at most one
minor version apart in the same major version; further apart, both refuse
and say which to upgrade (Upgrade Fistron).
Security problems: security@fistron.io, as
the security policy says.