Security overview

Boilerplate holds admin keys to your AI providers, so it was built by a security engineer to the standard we'd want from a vendor. This page is written for the person approving us.

Read-only AI provider and file accessAES-256-GCM encrypted keys0 prompts or completions read

At a glance

  • Read-only where it reads

    Access to your AI providers, directory and files is read-only. We never see prompts or completions, we only read company files to answer a member's question from approved folders, and we can't change anything at your providers. We only send what you turn on: approved lead emails, HubSpot contacts and Slack alerts.

  • Keys encrypted and bound

    Every key is encrypted with AES-256-GCM and bound to its workspace and provider, so a copied ciphertext is useless anywhere else.

  • Rotation built in

    Key age is tracked against your policy. New keys are tested before they replace old ones, and every rotation is logged.

  • Your identity provider

    People sign in with Microsoft Entra ID. Your MFA and Conditional Access apply, and only your tenant can join your workspace. A business without Microsoft 365 signs in with one-time links instead.

  • Least privilege inside

    Admins change settings; Viewers can only look. Roles are enforced on the server for every page and action.

  • Everything audited

    Connections, key rotations, budgets, mappings, members and knowledge access all land in an audit log.

Data we read and store

We keep the minimum each boilerplate needs: daily spend totals rather than activity, your leads, and never the contents of your files.

We read
Usage and cost reports, API key and project names, workspace names, directory groups and members (name, work email), and knowledge space names. When a member asks the Ask assistant a question, we read the matching files in OneDrive and SharePoint folders an Admin approved, as that member. For Leads: what people send through your forms, the emails sent to your lead email address, and who replied to a follow-up. The exact endpoints per connector are listed on Integrations & data access.
We store
Daily totals per key, model and day (tokens, requests, cost), key and project names, your teams and people, budgets, alerts, the audit log, and the questions asked of the assistant with the names of the files used. File contents are never stored. For Leads: each lead's contact details, inquiry, score and the emails sent to them; of each lead email and reply, only the sender, subject and time.
We never read
Prompts, completions, uploaded files, conversation history or model settings at your AI providers.
Deleting data
Disconnecting a provider deletes its synced usage. Revoking the key at the provider stops all access immediately. Admins can delete a lead for a privacy request. Workspaces are deleted on request.

Keys and encryption

At rest
AES-256-GCM with a fresh random IV per secret. Each ciphertext is bound to its workspace and provider as authenticated data, so it fails to decrypt if moved.
In the app
Keys are never sent back to the browser. Only the last four characters are shown. Provider error messages are scrubbed of key fragments before they're stored or displayed.
Validation
Keys are tested against the provider before they're saved. Regular (non-admin) keys are rejected without a network call.
Rotation
Choose a policy of 30 to 365 days. You get a heads-up 14 days before a key reaches its rotation age and an alert once it's overdue. Rotation tests the new key first; the old one keeps working until the new one is proven.
Failing keys
If a key is revoked or expires, the connector is marked Failing and an alert is raised on the next sync.
Master key
Our encryption key can be rotated with no downtime: the previous key is kept for reads while every secret is re-encrypted, then retired.

Sign-in and access

Protocol
OpenID Connect authorization code flow with PKCE, state and nonce. ID tokens are verified for signature, issuer, audience and expiry.
Who can join
Workspaces are linked to a Microsoft 365 tenant. Users are identified by tenant and immutable account ID, never by email, and invites can only be claimed from the linked organization. Personal Microsoft accounts are rejected. Google Workspace sign-in is built to the same rules and coming soon.
Personal addresses
Off unless we turn it on for a business without Microsoft 365. Then only an address an admin invited can sign in, with a one-time link we email to it, and only while no Microsoft organization is linked. Personal addresses can't connect company files.
Sign-in links
A random 256-bit token, stored only as a hash, that works once and for 15 minutes. Opening it shows a confirm button, so email scanners can't use it. We answer every request the same way, in the same time, email nothing to addresses that can't sign in, and limit how often one can be asked for.
Roles
Admin and Viewer. Every page and every action checks the role on the server. A workspace always keeps at least one Admin.
Sessions
Server-side sessions with a random token; only its SHA-256 hash is stored. Sessions end after 12 hours idle or 7 days at most. Cookies are HttpOnly, Secure and SameSite. Signing out, or being removed, revokes the session.
Brute force
Sign-in attempts are throttled per network address, stored only as keyed hashes.

Application security

Browser
A Content Security Policy that only loads our own scripts, styles and images; HSTS; framing blocked; no third-party scripts or trackers in the app. Fonts are self-hosted.
Requests
State-changing requests must come from our own origin. Server actions re-check the session and role every time.
Outbound calls
Connectors only call fixed vendor hosts over HTTPS, never follow redirects with credentials, and only paginate on the same host.
Inputs
Numbers are range-checked, text is length-limited, and links from third parties are restricted to http(s).
Fail closed
A production deployment refuses to start without its secrets configured; it never falls back to development defaults.
Testing
Every change runs unit tests and an automated attack suite (session handling, CSRF, cross-workspace access, injection, sign-in edge cases) in CI.

Knowledge and Ask

Ask answers questions from company files in OneDrive and SharePoint. Two locks decide what it can read, and you hold both.

Default
Off. Nothing is readable until an Admin turns knowledge on and approves specific folders or libraries.
Two locks
An answer only uses a file the person can already open in Microsoft and that sits in a folder approved for them. Folders and files an Admin blocks are never used.
Checked every time
Microsoft searches as the person asking, and each file is re-checked with their own access right before it's read.
Read-only access
Each person connects their own Microsoft account with read-only, delegated permissions (Files.Read.All, Sites.Read.All) and can disconnect at any time. Tokens are encrypted at rest.
Who can ask
Folders can be limited to teams or named people, and an Admin can turn the assistant off for any person.
The model
Matching file contents are sent to Claude through Anthropic's API to answer that one question, with instructions to treat them as data. Boilerplate doesn't keep file contents.
Kill switch
One organization-wide switch stops every answer instantly.
Record
Every question, the files it used, and every change to access are logged for Admins. Confluence and GitBook spaces start off and are scoped the same way; Ask doesn't read their pages yet.

Lead follow-up

Leads holds your prospects' contact details and inquiries, and can email them from your own mailbox. These are the limits on what it does.

Who decides
AI (Claude, through Anthropic's API) only reads an inquiry for facts (service, timeline, location, budget). Your scoring rules set the priority, and every score shows which rules added up.
What gets sent
Only templates an Admin approved. Editing a template withdraws its approval. Emails are plain text, and text a stranger typed into your form goes in only as short words with links and addresses removed.
When it stops
On a reply (checked before every email), an unsubscribe, a booking, won or lost, or when someone takes over or pauses it. Every email carries an unsubscribe link, and your business address once you add it (the app reminds you until you do).
Your mailbox
Sends with Microsoft Graph Mail.Send. Replies are noticed with Mail.ReadBasic, which sees a message's sender, subject and time but never its contents; we only ask it about the lead's own address. New workspaces start in test mode, where nothing is delivered.
Boilerplate email
For a business without Microsoft 365, we can send follow-ups for you, as your business, from our own domain. Each lead's emails carry their own reply address; replies are forwarded to your team, and we keep only their sender, subject and time. Off unless we turn it on for your business, and limited per day.
Public forms
A form key can only create leads. Honeypot field, per-address and per-form limits, strict lengths, and a daily cap on AI reads so a flood can't run up costs.
Lead email address
Each workspace's address is random (100 bits), can only add leads, and can be replaced at any time; the old one stops at once. Contact details are taken only when they're written in the email itself, follow-ups to these leads are off until an Admin turns them on, and of each email we keep only the sender, subject and what it became, for 30 days. At most 200 emails a day are read.
HubSpot
A service key with contacts scopes only. Stored encrypted like every other key, and rotation-tracked.
Who can see leads
Every member of the workspace. Members can work leads; only Admins change settings, templates, forms and imports, or delete a lead (for privacy requests).

Operations and compliance

Hosting
We share the hosting provider, region and subprocessor list during procurement.
Compliance
We don't have a SOC 2 report yet. We'll complete your security questionnaire and walk your team through these controls.
Incident response
We can revoke every session at once and rotate our encryption key without downtime. We notify affected customers promptly.

Report a vulnerability

Email Justin.Tackling@boilerplate.fyi with details and steps to reproduce. We'll acknowledge within two business days and keep you updated. Please don't access data that isn't yours or disrupt the service while testing.

Doing a security review?

We'll walk your team through the architecture and answer your questionnaire.