trust · threat model
what we protect, and what we don't
inferhub routes your requests through other people's free-tier keys. That's a real trade-off and you should know exactly where its edges are. Short version: we keep metadata, not prompts, and we mask secrets we recognise. We can't promise more than that.
what we protect
- Secrets we recognise. Detectors look for common API key formats, DSNs, JWTs, PEM
blocks and
password=-style assignments, plus anything you mark inline and anything in your secret vault. Vault values are sealed in your browser to the keysmith, so the database only holds ciphertext. Each one becomes a tag like ⟦db_url⟧ before the request leaves, and is swapped back on the way to you. - Contributor keys. Your browser encrypts a key to the keysmith's public key before
sending it, so our servers never receive it in plaintext. Only the keysmith (a separate,
locked-down process) can open it, and it only ever sends a key to that key's own
platform. The public-facing gateway can't decrypt keys, so a bug there doesn't hand out
the vault. The keysmith's private key is never on disk unencrypted.
The honest limit: this protects against database leaks and gateway bugs. If our server were fully taken over, it could serve you a modified page that skips the encryption. That's true of any website you type a secret into. - Your prompts, by not keeping them. We store metadata: who called which model through which pool, token counts, latency, status. Not prompts, completions, images or audio. We can't leak what we never kept.
- One exception, ours. Canary requests are the only payloads we store. They're fixed probes we write and send ourselves to track model health and drift. None of them are yours.
- Contributor caps. If you set 10 requests a minute, it's 10, even when that costs the pool availability. We fail the request before going over.
- Open-pool IPs. Held in memory for rate limiting, never written to disk.
what we don't
- Detectors miss things. A password in a sentence, a customer's name, an internal
hostname: pattern matching won't catch most of it. If it matters, mark it inline with
⟦name=value⟧or put it in your vault. Better still, don't send it. - Providers and contributors can read your tagged prompt. Your request goes out on a contributor's key, so it can show up in their provider dashboard and in the provider's own logs, under the provider's own retention policy. Everything that isn't a tag arrives as you wrote it.
- Audio can't be redacted. Speech-to-text input goes to the provider as-is. Tags only apply to text, including the text prompt of an image request.
- Open pools can't trace anyone. No account means no way to tell who sent what. If you contribute to an open pool, you're trusting strangers with your quota, within the caps you set.
- We see requests in transit. To route and tag a request, the gateway has it in memory. Not storing something isn't the same as never seeing it.
- It's a hobby project. No company, no security team, no SLA. Plan accordingly.
what's on disk
| data | stored? | notes |
|---|---|---|
| prompts, completions, images, audio | no | never, not even in logs or error messages |
| request metadata | yes | model, pool, token counts, latency, status, timestamps |
| contributor keys | sealed | only the keysmith can open them; we keep a hash prefix to stop duplicate keys |
| canary requests | yes | our own probes, kept for drift history |
| open-pool IP addresses | no | memory only, for rate limits |
| email, real name, ID | no | no KYC; sign in with a passkey or Discord |