FreeVelox/Documentation
ProductChangelog

Security and privacy

This page introduces the security model of FreeVelox: exactly which data the platform captures, where that data goes, how long it is kept and who can reach it. It covers both deployment modes β€” the hosted console operated by FreeVelox, and an in-house installation on your own infrastructure β€” because the trust boundary is not the same in the two.

The security model

FreeVelox runs in one of two modes, and the trust boundary follows the mode.

In-house installationHosted console
Where the console runsOn infrastructure you control.On FreeVelox's infrastructure.
Where the data livesOn your infrastructure, in your database.With FreeVelox.
The trust boundaryYour own network: whoever can reach the console's port may drive your benches.Your account and your agent credentials.
Who holds the databaseYou do, along with its backups.FreeVelox does; you reach the data through your account and your role.

The two modes differ in where the processes run and where the data rests. The credential model is the same in both, and it is described below.

IdentityWhere it livesHow it proves itselfWhat it can do
UserA browserA session cookie issued by POST /api/auth/loginUse the web UI. Admin pages additionally require the admin role.
AgentA bench or test rigA two-credential handshake: an API key over HTTP, an agent secret over the socketAccept and execute commands, report results, emit device events.

The agent dials out to the console, so an agent needs no inbound connectivity and no public address β€” see Network requirements. That holds in both modes: a hosted console is dialled by the same agents, over the same outbound connection.

Put the console behind a boundary you control

The Socket.IO server accepts a connection from any origin and allows credentials, and in an in-house installation the REST API sits outside the console's own authentication middleware. Run an in-house install on a network you control, or put an authenticating reverse proxy in front of it that terminates TLS and applies per-route authorisation.

Authentication and secrets

The user session

POST /api/auth/login takes an email and a password; the password is stored as a bcrypt hash in users.password_hash. On success the platform sets two cookies:

  • session β€” a base64-encoded JSON payload carrying {id, email, name, role, exp}, where exp is seven days out. httpOnly, sameSite: "lax", secure when NODE_ENV is production.
  • session_client β€” the same fields as plain JSON, without exp, readable by scripts and used by the UI for role checks.

Treat the session cookie as a bearer secret: it is readable by anyone who holds it, so do not log it, do not paste it into a bug report, and do not forward it to a third-party site. The server reads the role and the expiry from it on every request. POST /api/auth/logout clears both cookies.

Single sign-on completes the same way: GET /api/auth/sso establishes the session from the auth_token and refresh_token it receives, and the browser lands back in the console with the same role and the same seven-day expiry as a password login.

Admin authorisation

Admin screens are gated in the page middleware: a session whose role is not admin is redirected to /dashboard.

In-house installationHosted console
Who enforces the ruleYour deployment, and the proxy in front of it.FreeVelox, for every account on the console.
Who may reach the REST APIAnyone who can reach the console's port: the API is excluded from the console's authentication middleware, so it is the network and the proxy that decide.The accounts your organisation holds on that console.

The consequence for an in-house install is concrete: put an authenticating reverse proxy in front of the console, or keep the console on a segment only your team can reach. A request that arrives without a valid session is served by the API, so the API's own route table is not an authorisation boundary.

Agent credentials

Agent authentication uses two credentials, sent in the request body or the socket payload β€” never in a header.

CredentialShapeWhere it is presented
Licence code40 hexadecimal charactersThe body of POST /api/agent/register. One-time use; claims a registration licence.
API key32 alphanumeric charactersThe body of POST /api/agent/auth. The agent never calls this endpoint itself.
Agent secret64 hexadecimal charactersThe auth request payload of the socket handshake. This is the value the socket compares.

Where the secrets live

  • Licence code β€” in agent_licenses rows. Shown once when the registration licence is created, and readable afterwards only by its owner and by an administrator.
  • API key and agent secret β€” in agents rows and in the agent's data/agent.json. These are secrets of the console's own database; protect the file and its backups accordingly. In a hosted console that database belongs to FreeVelox, and the copy on the bench is the only one you hold.
  • Session β€” in the browser cookie, base64-encoded, with a seven-day expiry.
  • Platform edition licence β€” in studio-license.json in the data directory, a signed JSON file. It sits beside licence-state.json (the version and the revocations this machine remembers) and deployment-id (this machine's id). The signing private key never sits on the API server.
  • Dashboard socket token β€” the DASHBOARD_WS_TOKEN environment variable, or the literal dashboard-token.

Treat the database file, the agent's data/agent.json and any backup of them as secrets: whoever holds them can impersonate an agent or a user.

Data the platform captures

DataWhere it is storedWhat exactly
Agent registrationagentsName, capabilities, workstation, status, API key, agent secret, registration licence id, registration count, timestamps.
Command historyagent_commandsCommand type, arguments, status, and a result with stdout, stderr, exitCode and durationMs.
Serial metadataDelivered in a device_eventPort path, manufacturer, serial number, vendor id, product id.
System informationThe result of get_system_infoHostname, platform, architecture, CPU count, memory, uptime, load average, network interfaces.
User accountsusersEmail, name, role and the bcrypt password hash.
Test assetstest_cases, test_suites, test_runs, executionsThe case definitions, the suite composition, and the outcome of every execution.
Run evidencereportsArtifacts attached to a run: screenshots, captured logs, and the result of each step.

What is stored is still worth thinking about. A script that prints a key, a serial number or a customer identifier puts that text into agent_commands, and it stays there. The system-info snapshot includes the network interfaces of the bench machine, which can expose addresses you would rather not publish to everyone holding a session.

Where data goes

DestinationIn-house installationHosted console
The databaseEverything the platform records. It stays where you installed it.Everything the platform records. It rests with FreeVelox, and you reach it through your account.
Your benchCommands, arguments and results, travelling over the agent connection.The same, over the same outbound connection.
Your model providerOnly when you use AI assistance: the requirement text or the failure excerpt you asked about, and the draft that comes back.The same, and it is the provider you configure on the console.
Anywhere elseNothing.Nothing. The platform has no telemetry endpoint and no third-party callback.
The model provider is your choice

AI assistance is off until you configure a provider, and it only sends the material you asked it to work on. If your requirements cannot leave the lab, keep AI assistance off and use the platform without it β€” every other capability works without a model.

Retention and deletion

Retention is configurable per table, and a background job prunes rows once they fall outside their window.

  • Users, agents and licences β€” kept while the record is active; a deleted agent, licence or user is removed from the database and cannot be recovered.
  • Command history β€” kept for the configured window, then pruned by the retention job.
  • Run evidence and reports β€” kept for the configured window, and removable on demand through the report API.
  • Command history can be deleted individually. Every command record can be removed through the API, by id.

If you need a retention window the platform does not cover, apply it at the database level. Your database remains the last line of defence, and a backup of it is a backup of everything. In a hosted console the same per-table and per-command deletion applies, and the windows are the ones FreeVelox configures for the console.

Access control

RoleCan do
adminEverything in the UI, including user management and agent/licence administration.
engineerAuthoring, running and reporting; the pages the role navigation allows.
viewerRead-only pages. An unrecognised role falls back to viewer.

In an in-house installation, one console serves one organisation: one database, one agent pool, one set of projects. Every signed-in user sees the same agents, the same licences and the same command history, filtered by role rather than by tenant. The effective boundary is the database itself β€” whoever holds the database credentials holds everything the console holds.

In a hosted console, the same role model governs the accounts in your organisation, and the boundary is your account: the console's data is reachable through the accounts your organisation holds and through the agent credentials that let a bench connect. The database and its backups is FreeVelox's, and access to them is not yours to grant. See Deployment modes for how the two modes differ in practice.

Reporting a problem

If you find a security issue, report it through the project's support channel, support@freevelox.com β€” the address published in the application and on the product site. Please include the version you are running, what you found, the steps to reproduce it, and whether the issue exposes data belonging to someone else. Do not test against a console you do not own.

Every capability is listed on the product coverage page; connection-level problems are covered in Agent offline and Unstable connections.