Security
Last updated November 22, 2026
Rulebook holds your bot's rule sheet, your AI keys and, if you upload them, your customers' chats. This page says exactly how that is protected. Who else sees your data is on the subprocessors page.
1. Where it runs
- The app runs on Vercel, in its Frankfurt region.
- The database is Neon Postgres, also in Frankfurt (EU).
- All traffic uses HTTPS.
2. Keys and tokens
- AI keys and GitHub access tokens are encrypted with AES-256-GCM before they are stored.
- Only the team owner can add, change or remove the team's AI keys.
- Your AI keys are used only to run your team's tests.
- If GitHub rejects a saved token, Rulebook deletes it and asks you to reconnect.
3. Signing in
- You sign in with GitHub. Rulebook never sees or stores a password.
- Signing in asks GitHub only for your profile. Repo access is asked for separately, and only when you connect a repo.
- Sessions use a long random ID in a cookie that scripts on the page can't read. They end after 30 days or when you sign out.
- Every project belongs to one team. Each page and action checks that you are a member of that team.
4. Customer chats
- Before uploaded chats reach an AI, email addresses, phone numbers, links, bank account numbers and other long numbers are blanked, and names are replaced. The blanking runs again on what comes back.
- The upload itself is never stored. Only the problems found in it are kept, already blanked.
- Only upload chats you are allowed to share.
5. Changes to your bot
- Rulebook never changes your live bot. Every change is a pull request on the file you connected.
- A change goes live only when someone on your team merges it, so your reviews and branch protections apply.
- Fix it for me and training only suggest a rule sheet. You see every change and the reason for it first.
6. Payments
- Rulebook is free on your own AI keys and takes no payments. When the AI included plan starts:
- Payments are handled by Polar. Card numbers never reach Rulebook.
- Messages from Polar about your plan are checked against Polar's signature before Rulebook acts on them.
- Only the team owner can change the plan.
7. Security reviews
Need a security review or a data processing agreement? Email us and we'll go through it with you.
8. Reporting a problem
If you think you've found a security issue, email hello@rulebook.tech with "Security" in the subject. Please don't share it publicly until it's fixed. We'll reply and keep you updated until it is.