Security
Deft’s own chat and Slack command send requests through Deft’s AI gateway to the AI provider. Deft’s Claude Code plugin is not in that path: it reports feature use, never content. This page answers the questions a reviewer would ask before signing anything — including the ones with uncomfortable answers.
Last updated 15 November 2026
Where Deft sits
Requests from Deft’s own chat, from Deft’s Slack command, or from an AI client an admin has pointed at Deft’s gateway go to that gateway. It accepts a request only with a valid organisation gateway key or Deft’s own server credential, which only Deft’s servers hold, and forwards it to Anthropic or OpenAI. An organisation gateway key can reach only the model endpoints (chat, completions, embeddings, messages, responses and the model list); apart from two health checks, nothing on the gateway answers without a key. The provider’s response streams back to the user. The gateway is open-source software (LiteLLM) that Deft runs on its own servers.
Deft’s Claude Code plugin sends its feature-use events straight to Deft’s API over HTTPS. It sends only to Deft’s own address and refuses redirects. To show tips, it also tries a connection that never leaves the computer (127.0.0.1) to the Deft Companion desktop app, which must prove it holds a key created on that computer before the plugin accepts its reply. The Companion is not released yet, so today that connection finds nothing and no tip is shown.
Classification runs outside the request path, and only for Deft’s own chat and Slack command, where Deft’s servers have already checked who the person is. The response returns first; only then does a background worker send the first 200 characters of the newest message to Anthropic to label what kind of work it was. Before recording anything, the API checks that the person is an active member of the organisation named. A request made with an organisation gateway key identifies the organisation, not a person, so Deft ignores any user or organisation named in it and labels and records nothing for it. Nothing about the analytics layer can delay or block a user’s request, and a failure in it cannot break a conversation.
The gateway handles prompt and response content in memory and does not write it to our database. Two things are stored, both stated in full in the next section: conversations in Deft’s own chat, kept as the user’s chat history, and the 200-character snippet when the label is uncertain.
What is stored, and what is not
| Data | Stored | Retention |
|---|---|---|
| Prompt and response content passing through the gateway | No | In memory only |
| Conversations in Deft’s own chat, in full | Yes | Until the user deletes it in the app, or the account is deleted |
| 200-character snippet, only when classifier confidence is below 0.65 | Yes | 14 days, then erased by a scheduled job |
| Usage records — model, token counts, time, a category from a fixed list, and confidence | Yes | 180 days, then deleted by a scheduled job; removed sooner with the account |
| Claude Code feature-use events (no content) | Yes | 30 days |
| Activity episodes from the Deft Companion, only while the employer’s pilot has activity logging on and the employee has opted in: after the employee approves each day, fixed codes for app, screen, control and action, rough time and typing-count buckets, times, a scrambled ID per thread or document, and labels from fixed lists. No titles, web addresses, names, text or keystrokes | Yes, once both are on. Readable only by the employee; never by their employer | 180 days, then deleted by a scheduled job; deleted when the employee opts out or withdraws, and sooner with the account |
| Capture events from the Deft Companion, from an employee’s own Slack connection and from their Google Calendar and, only for pilot organisations with Drive capture turned on, Drive, and the labels on them, only while the employer’s pilot has activity logging on and the employee has opted in: fixed codes for app, screen, control and action, rough buckets, counts, times and scrambled IDs. Companion events wait 24 hours on the Mac first; Slack events arrive directly from Slack; Deft’s servers read Google events from Google. No titles, web addresses, names, message text, file names or contents, clipboard contents or keystrokes | Yes, once both are on. Readable only by the employee; never by their employer | 90 days, then deleted by a scheduled job; deleted when the employee opts out or withdraws (Slack ones also when they disconnect Slack, Google ones when they disconnect Google), and sooner with the account |
| Guided sessions from the Deft Companion, while an employee is enrolled in a pilot: fixed codes for the step, tool, times, elapsed seconds and block reason. Skill evidence from a completed guide is written to the employee’s skill record. | Yes. Not readable through the data API; the employer sees only the weekly counts below; the employee sees their own counts on their home page | 30 days, then deleted by a scheduled job; deleted on withdrawal and with the account. Skill evidence from guides is deleted on withdrawal and with the account |
| Weekly Companion pilot counts: totals for the whole pilot group (people taking part; guides started, completed, abandoned, blocked by reason, repeat attempts, help level), with no names or user IDs, admins not counted, weeks and counts under five people withheld | Yes. Shown to the employer’s admins, closed weeks only; never rewritten | Until the pilot record is deleted |
| The Deft Companion installer, in a private storage bucket on Supabase. A signed-in pilot member is sent to a link that expires after 60 seconds | Yes. The installer only; no personal data | Replaced by each release |
| Daily brief items and outcomes (briefs, brief_items): fixed item types, workflow and skill ids, scrambled meeting IDs, times, the employee’s outcome and the allowlisted facts each item’s wording is built from (for example AI, tool, role, workflow, meeting time and attendee-count bucket), and for a catch-up item the 20+ unread range. Owner-only read; no message or document text | Yes. Readable only by the employee; never by their employer | 180 days, then deleted by a scheduled job; sooner with the account |
| Meeting details from Google Calendar, for a person who connects it: event times, attendee-count buckets, whether there are outside guests or a video link, whether it repeats, the reply, whether they organised it, focus or out-of-office, cancelled, and scrambled event and series IDs. No titles, descriptions, places, attachments or attendee addresses | Yes. Readable only by the employee; never by their employer | 180 days after the meeting, then deleted by a scheduled job; sooner with the account |
| Google Calendar change-notification channel | Yes: a channel ID, Google’s ID for the watched calendar, the channel expiry, a SHA-256 hash of its secret and an encrypted sync position; browsers cannot read the hash, Google’s ID or the position | While Google is connected; deleted on disconnect |
| Text sent to find related ideas, and Explore search text | Not stored. Sent in the request body, not the address, so it stays out of API request logs; passed to OpenAI to make a search embedding | In memory only. API request logs written before this change can still hold it: up to 30 days, kept by our hosting provider |
| Slack message text | No | Discarded on arrival; only activity signals are kept |
| Email or document bodies | No | Never read |
| Provider API keys, and Slack and Google connection tokens | Yes, encrypted | Until removed or disconnected |
| Organisation gateway keys | Only as a one-way hash (SHA-256). The key is shown once, when it is created or an admin rotates it in Settings, and cannot be viewed again | Until the organisation is deleted or an admin rotates the key. During lookups Upstash caches the organisation and plan for about 60 seconds under the key’s hash, so a rotated key can keep working for up to a minute |
| Organisation plugin tokens, used by Claude Code to download the Deft plugin | Only as a one-way hash (SHA-256). Shown once, when an admin creates it in Settings. A plugin token can only download the Deft plugin; it cannot send or read any data | Until the organisation is deleted. A revoked token is kept, marked revoked, and stops working within about 30 seconds |
| Claude Code connection tokens and device codes | Only as one-way hashes | Token hashes are kept after revocation, marked revoked; device codes are deleted about a day after they expire |
| The short approval code a person types to connect Claude Code | Yes, as typed | Deleted about a day after it expires (codes expire after 10 minutes) |
| Error reports from the web app and the API | Yes, at Sentry: the kind of error, a stack trace without variable values, the path and method without the query string, browser type, release and environment. No request bodies, message or error text, cookies, credentials or IP addresses | 30 days, then deleted by Sentry |
The 14-day window is enforced by a daily job, not by policy alone. The window is set in deployment configuration, the API refuses to start if that setting differs from the number on this page, and this page changes first if it ever does. Our database provider keeps no automated backups of our database on our current plan, so deleted data cannot be recovered from provider backups.
Keeping companies apart
Every organisation-scoped table enforces row-level security in PostgreSQL. When the web app reads data directly with a person’s sign-in, the database filters it against that authenticated identity. That fails closed: a query missing a filter returns nothing rather than another organisation’s data.
Deft’s API and scheduled jobs use a privileged database connection that row-level security does not apply to. There, isolation rests on the API’s own checks: it verifies who is calling, reads their organisation membership and role from the database, and scopes each query to that organisation. We state this plainly because it is the boundary a reviewer should test.
- Row-level security is enabled on organisation-scoped tables, including partitioned ones.
- Browser roles cannot add, change or delete rows in any table, with one exception: a signed-in person can switch which of their own organisations is active. Where the web app reads with a person’s sign-in, it gets read access, limited by row-level security to that person’s own rows, their organisation’s name and shared catalog data such as the skill map. Tables used only by Deft’s servers have no browser access at all: usage events, Claude Code events, integrations and their tokens, Slack and Google activity signals, invitations, chats, saved ideas, usage profiles, stored AI provider keys, website forms, the wording cache and the retired suggestions table (Deft has deleted every row in it). Section 6 says where read access is wider than the app needs.
- Service-role credentials are held by the API and its scheduled jobs, and by the founder’s operator tools for pilot setup and privacy requests, run from one secured machine; they are never shipped to a browser. The AI gateway holds no database credential: it checks an organisation key by sending the key’s SHA-256 hash to the API. Only the gateway holds Deft’s AI provider keys.
- Slack and Google activity signals have no browser access: only Deft’s servers read them, and no dashboard shows them to anyone.
- Employer dashboards withhold any figure that would come from fewer than five people, in the API before the response is sent: a department under five shows only its name, small categories are grouped into a withheld “Other”, admins are not counted, and an organisation of one to four people besides its admins sees no group figures.
Authentication and access
- Every protected request is checked server-side. The API verifies the sign-in token’s signature, audience and issuer, and reads roles from the database rather than trusting the token’s contents.
- Claude Code connects through a device approval: a code that expires after 10 minutes, approved in Deft’s web app. If the approving browser’s IP address differs from the one that started the request, the approver must type the code.
- Provider API keys and Slack and Google tokens are encrypted at rest with Fernet (AES-128-CBC with HMAC-SHA256 authentication) under a key held in deployment configuration, not in the database.
- Browsers and laptops reach Deft over HTTPS. Calls between Deft’s own services are not guaranteed to be TLS-encrypted: the gateway’s calls to the API (to start classification and to check organisation keys) stay inside our hosting provider’s private network and are not TLS-encrypted, and we make no TLS claim for the API’s calls to the gateway (such as Deft’s Slack command, classification and search). Database encryption at rest is provided by Supabase.
- Organisations are not self-serve in production: Deft creates them, and employees join through an admin’s invite.
Today, the founder, for operating and supporting the service. Stored chats and snippets are reachable through direct database access. We are a small company and will not pretend to a separation of duties we do not have. Access expands only alongside a written internal policy, and this page changes when it does.
Infrastructure and subprocessors
| Provider | Role |
|---|---|
| Supabase | PostgreSQL database and sign-in |
| Railway | API, scheduled jobs and AI gateway compute |
| Vercel | Web application, including the chat route |
| Resend | Transactional email, such as organisation invitations: recipient address, organisation name and the invitation link |
| Upstash | Cache for AI-gateway key lookups (organisation and plan, under a hash of the key), held 60 seconds |
| Anthropic, OpenAI | Model providers for Deft’s chat and Slack command. Anthropic also labels the 200-character snippet and may write wording suggestions and starter prompts from the structured facts behind an item; OpenAI also provides search embeddings. |
| Slack | Workspace integration, if an admin connects it; signals are then recorded only for admins who connected Slack in their own Deft account. Employees who connect their own Slack give capture events instead, never signals |
| Calendar connection, only for a person who connects it; Deft reads calendar event structure only, never titles, descriptions or places, and never stores attendees. Drive file details (type, size, times and sharing, never file names or contents) only for pilot organisations with Drive capture turned on | |
| Sentry | Error monitoring for the web app and the API, held in the US. Reports carry no content (section 2). The AI gateway sends it nothing. |
Hosting regions and a current subprocessor list with contract details are available on request. Model calls run under Deft’s own provider accounts. The exception is someone using Deft without an organisation who adds their own provider key; that chat traffic is billed to and governed by their own provider account. Organisations cannot add their own provider keys; any saved earlier are not used for requests, and an admin can delete them in Settings.
Error reports exist so failures reach us quickly. If removing content from a report fails, the report is dropped, not sent. The Privacy page lists exactly what a report can hold.
What we do not have yet
Stating this plainly is more useful to you than discovering it in week three of a procurement review.
- No SOC 2 report or ISO 27001 certification. Not started. If a deal depends on one, tell us and we will discuss timing honestly rather than promise a date.
- No third-party penetration test. Security work so far is internal review and hardening of database access controls.
- No BAA, and Deft is not suitable for protected health information.
- No formal sub-processor change notification period beyond updating this page and the Privacy page.
- No self-serve account or organisation deletion. People can delete their own conversations in the app. Deleting an account or an organisation is done on request; we remove personal records within 30 days.
- Browser read access is wider than the app needs on an older table. A signed-in person can read every column of their own organisation memberships directly through the database’s data API, including columns the app never shows them. They cannot change them, and row-level security stops anyone reading another person’s rows.
Reporting a vulnerability
Send it to contact@getdeft.dev. We aim to acknowledge within two business days and to keep you updated until it is closed.
Good-faith research is welcome. Please do not access data belonging to anyone else, degrade the service for other users, or run automated scanning without contacting us first. We will not pursue legal action for research conducted along those lines.