Security, as built.
This page describes what the server does, each point with the way you can check it yourself. It lists no certifications because we hold none.
Credentials#
- three kinds, never interchangeable
- A console token (
starco_dc_…, 12 hours) manages your account, projects and keys and cannot read twins. A project key (starco_dk_…) reads and writes the twins of one project. An MCP token (starco_dm_…, one hour, read-only) works only on the MCP endpoint. Each is refused where another is expected. - stored as a keyed hash
- A secret has 256 random bits and is shown once. The server keeps only its HMAC-SHA256 under a key of its own, and finds a credential by that hash: it cannot show a secret again, and a copy of the database alone does not yield one.
- scopes
- A project key has
read,writeor both, chosen when it is created;writedoes not includeread. Each operation states the scope it needs, and the command mode checkswritefor the commands that write. - expiry and revocation
- A key lasts 30 days by default and 90 at most, and can be revoked at any time. Expired and revoked credentials answer 401 with their own code.
- never in a URL
- Secrets travel in the
Authorizationheader. The MCP endpoint refuses query strings altogether. The audit chain records the prefix of a key, never its secret. - passwords
- 12 characters or more; common passwords are refused. Erasing an account or a project asks for the password again. Setting a new password closes every open session.
What that means for five clients of the same project, request by request:
A twin in the middle and five clients around it. Each request is a dot that travels towards the twin: it comes back from the twin when it is served, and it bounces before reaching it when it is refused. your app (project key, read + write): GET /v1/twins answers 200; POST /v1/twins/{twin}/observations answers 200. notebook (project key, read): GET /v1/twins answers 200; POST /v1/twins/{twin}/observations answers 403 insufficient_scope. AI assistant (MCP token, mcp:read): POST /v1/mcp tools/call layer.get answers 200; GET /v1/twins answers 401 invalid_key. importer (project key, write): POST /v1/twins/{twin}/observations answers 200; GET /v1/twins answers 403 insufficient_scope. unknown key (not a key of the project, no scope): GET /v1/twins answers 401 invalid_key. Every request answered 200 or 403 adds a row to the project's audit chain; a request with a credential that is not a key of the project does not.
The credential decides. 200: served. 403 insufficient_scope: a valid key without the scope the operation needs (write does not include read). 401 invalid_key: not a project key, whether an unknown secret or an MCP token used outside POST /v1/mcp. Simulated requests: nothing is sent.
Isolation#
Every request is confined to the project of its key. A twin, schema, webhook or delivery of another project or account answers 404 not_found, exactly like an id that does not exist, so an id cannot be probed. Lists never include another project's rows.
Every project is "data_class": "synthetic". Fields named like identifiers and texts that look like one are refused (identifier_field_not_accepted, identifier_not_accepted): the service is not for real personal or health data.
Rate limits#
Requests are limited per project, console requests per account, and sign-up and sign-in attempts per client address. Failed authentications have their own limit, and failed sign-ins are also counted per account address, whatever the client address. The figures are in limits and quotas; a 429 carries Retry-After.
The audit chain#
Every request made with a key, every MCP request and every console action on a project is a row of the project's audit chain, reads and refusals included. A row records who (the kind of credential and its prefix or account id), what (the action and the resource), the HTTP status and when; never a secret, and never the values or arguments of the request.
Each row carries the SHA-256 of its own fields and of the hash of the row before it, so changing or removing a row breaks every hash after it. GET /v1/audit/verify walks the chain on the server, and you can recompute it yourself from GET /v1/audit with no secret of ours: the tutorial does it in a few lines.
Exports and erasure#
An export is one JSON document; X-Content-SHA256 is the SHA-256 of exactly the bytes sent, so you can check what you stored. Erasing a twin, a project or the account removes its data and returns a receipt; a twin's receipt carries the fingerprint of its last export.
Webhooks#
- only to public https
- A webhook goes to an https URL on port 443 whose host name resolves only to public addresses. Addresses written as IPs, local names, private and link-local ranges, credentials in the URL and fragments are refused when the webhook is created, and the address is checked again when each delivery connects. Redirects are not followed.
- signed
- Each delivery carries
X-Starco-Signature: t=<unix time>,v1=<hex>, an HMAC-SHA256 of the time and the body under the webhook's secret. Verify it and reject old timestamps, as the webhooks tutorial shows. The secret is shown once and stored encrypted.
AI assistants#
The MCP server gives an assistant six read tools over one project for one hour. It has no tool that writes, erases or exports. What a tool returns is data, never instructions, and answers built from it must be labelled as coming from an AI. See MCP server.
Formulas#
Derived measures use a small closed grammar parsed by the server (arithmetic, a few functions, the measures of the same layer). Nothing you send is ever evaluated as code.
Payments#
When paid plans are on sale, paying and managing a subscription happen on pages hosted by Stripe. The STARCO API never receives a card number.
What is not claimed#
- No certification or attestation of any kind. If that changes, this page will name it and link the evidence.
- No external penetration test has been published.
- The service is a beta for synthetic data. Real personal data would need a separate contract and a data processing agreement, which the API cannot switch on by itself.
Report a problem#
If you find a security problem, write to hola@starco.dev or use the contact form. Please do not include real personal data in the report.