01Identity and tokens
Your backend signs who the user is with an ES256 token valid for five minutes at most. We verify its signature against the key you registered, its audience, its expiry and the page’s origin against your allowlist.
Once your token checks out, we issue our own short-lived session token, signed with a key that never leaves AWS KMS.
02Roles and permissions
Each session gets a manifest of the tools its role may use. The server refuses a tool call outside it, whatever the model asks for, and records it as a security event.
Roles come from the token your backend signs. A role we haven’t seen before starts with no permissions until your admin grants them.
03Organization isolation
Your organization is derived from the key that verified your token, never from what a request claims.
Every row of your organization’s data carries its organization, and the database’s row-level security returns only the rows of the organization a request belongs to.
Every deployed API route declares its isolation case between organizations or a justified exemption, and the build checks that every table a case names enforces row-level security.
04Secrets
The API credentials your admin gives us for server-side calls are stored encrypted with your organization’s own data key, like every other secret we keep for it.
05Encryption
All traffic uses TLS. Data at rest is encrypted with AWS KMS keys, and only roles scoped to your organization can use them for your data.
06AI guards
Every question passes a topic check and an input content filter before the model answers it.
In folders set to Strict, Kirky’s code verifies every quote word for word against its source and removes a sentence it can’t back.
Answers are sanitized before they’re shown: no links, URLs or images.
Developer docs07Rate limits and abuse
Requests are throttled per organization and per user, with a daily cap per user.
08Audit log
The audit log is append-only: no one, us included, can edit or delete a record.
Our team can only read your organization’s content through a time-limited support session that requires multi-factor sign-in and is recorded in an audit log.
09Incident response
If an incident affects your data, we notify your organization’s owner without undue delay, with what happened, what data was involved and what we are doing, and keep you updated until it is closed.
Security questions and reviews: security@kirkyapp.com