Skip to content

Threat model

What could go wrong with Sypnia AI, and how each threat is answered.

Applies to EngineCloud
View as Markdown
ThreatAnswer
A secret key leaks and someone spends your creditskeys have scopes and their own caps; a secret key from a browser is refused; a revoked key stops within a minute; unusual spending sends a notice to owners and admins
A browser token is stolenit lasts 10 minutes, serves one person, only tasks marked for browsers, within that person’s limit, from your sites only
One person of your app asks a thousand questionsbrowser routes must have a per-person limit; moderation stops abusive content
A message talks the model into leaking or doing thingsinstructions are locked in the route, tools are allowed by name, your server confirms every action that changes something, and the model only gets what this person may see (Prompt injection)
A provider keeps or trains on what you sendSypnia Cloud uses only providers that commit to neither
Someone at Sypnia reads what your customers wroteit is not kept unless a route keeps it; then it is encrypted per project, and every read is recorded and shown to the project
An agent spends without limitagents cannot change routes, limits or keys; each step of an agent task carries its remaining budget
Usage is counted wrongtokens are counted by the gateway itself; each record carries its call id, so it is never counted twice
An image address points inside a private networkthe gateway fetches only https:// addresses, never private ones, for at most 10 seconds
A flood of callsCloudFront, per-minute limits, and reservations that refuse calls the balance cannot cover

    Search pages, sections and terms