Security and trust

We attacked our own gateway, then published the result.

A guardrail is only useful if it cannot be talked around. Before release we ran 17 attacks against the first build and fixed what worked. The same attacks now run as regression tests. This is our own finite set, not an independent audit.

17 → 0Attacks in this set that worked, first build → current build
27Regression tests run on every change
0Characters of prompt or completion text stored in the ledger
Attack classes tried against the gateway, on the first build and on the current build
#AttackFirst buildCurrent build
A1Unauthenticated caller is served the default accountsucceededblocked
A2Unauthenticated caller can mint creditssucceededblocked
A3Any registered user can mint credits without payingsucceededblocked
A4Crypto invoice can be self-confirmed without payingsucceededblocked
A5A bogus x402 header buys free inference (no key, no payment verification)succeededblocked
A7Any registered user can re-route a model to their own server (traffic interception / SSRF)succeededblocked
G1stream:true skips the output guardsucceededblocked
G2Harmful 2nd choice (n>1) is never inspectedsucceededblocked
G3Harmful tool-call arguments are never inspectedsucceededblocked
G4Harmful reasoning trace is never inspectedsucceededblocked
G5Harmful content after >12k chars of padding evades the output guardsucceededblocked
G6Hex-encoded payload evades the input guardsucceededblocked
G7Percent-encoded payload evades the input guardsucceededblocked
G8Zero-width-character splitting evades the input guardsucceededblocked
G9An upstream that ignores stream:true returns unguarded JSONsucceededblocked
A8API key that was hard-coded in source is acceptedsucceededblocked
A9Seed-account password that was hard-coded in source still logs insucceededblocked

The “first build” was an early internal prototype; this table shows how the controls were tested, and does not describe an incident. Attack details are in the regression suite and are shared with pilot customers.

This set is ours and finite. In November 2026 a role-context hole was found outside it: the fast gate did not read tool messages, later system messages or tool definitions. It is fixed (measured 18/18 in each of those contexts, and for an invented role, with our probe) and now covered by regression tests. A harmful text that a client places inside an assistant message was found to be caught less often (45 of 58, against 57 of 58 for a plain prompt in our own test); that was fixed the same day and now matches the plain rate. The cost is that a refusal that names a harmful topic can be blocked on its own text when a chat re-sends its history. A clean run of this set is not proof that no bypass exists.

Controls

Secure by default.

  • No anonymous account, no simulated top-ups and no seeded credentials outside an explicit development mode, which refuses to bind a public address.
  • Upstream management needs an admin token; unknown models are refused rather than forwarded.
  • Per-key rate and token limits, a ceiling on keys per account, and a cap on output tokens and choices.
  • Strict configuration: a mistyped setting stops the service from starting instead of silently weakening a guard.
  • Fail-closed handling for check errors, oversize input and unreadable content.
  • Credentials once committed during development are revoked on start, together with keys and sessions minted on the old default account.
What we record

Decisions, not conversations.

Each ledger entry holds a tenant id, request type, model, setting, risk category, token counts, status, amount, timestamp, the policy hash and the hash of the previous entry. It holds no prompt and no completion. Altering a past entry in place breaks the chain, and the verification endpoint reports the first broken position. Someone who can rewrite the whole chain can only be caught against a copy of the head hash kept elsewhere; see the audit ledger page.

The pilot form and its attachments are handled under the privacy notice.

Known limits

What a determined attacker may still do.

  • The safety gate's language-model checks can themselves be manipulated by crafted input. Extra checks and windowing reduce this; they do not remove it.
  • A short payload at the very start of a very long input can be diluted inside the first window.
  • Obfuscation we decode: base64, hex and percent-encoding (two passes). Obfuscation we do not: ROT13, leetspeak and similar transformations.
  • Rate limiting is per instance today; the current build runs on a single node with a local database.
  • No independent third-party penetration test has been done yet.
Report a vulnerability

Tell us first.

If you find a way around the gateway, please report it privately so we can fix it before it is public. Include the request, the response and the build or policy hash from the response headers, and put [security] in the subject line so it is read first. Please do not send keys or other people’s personal data.

[email protected]

Please do not test against other customers’ systems or send real personal data.