Concepts

# Security

A key can change what thousands of visitors see, so treat it like a password. Here is how BuzzKit protects keys, what a key can never do, and how to keep an assistant on a short leash.

## Keeping keys safe

- Keep keys in environment variables or a secrets manager. Never in code you commit, a web page, a mobile app or a shared document.
- Give each script or assistant its own key, named after where it runs. You can then revoke one without breaking the others, and the activity feed shows which one made each change.
- Use the smallest key that works: **Read only** for reports, a key limited to one workspace or a few pages for client work, and an expiry date for anything temporary.
- Revoke keys you no longer use under [Account, API & MCP](https://buzzkit.app/account/developers). The list shows when each key was last used.

## What BuzzKit stores

- A fingerprint of each key and its first characters, never the key itself. A lost key cannot be shown again; make a new one.
- Keys carry a checksum, so a mistyped or invented key is refused before it is even looked up.
- Keys and `Authorization` headers are never written to logs. Every answer carries an `X-Request-Id` to quote when you contact support.
- Your key list and when each key was last used are part of your data export, and keys are deleted with your account.

## What a key can never do

These stay in the dashboard, done by a signed-in person, whatever the key's level:

- Paying, changing or cancelling a plan.
- Changing the account's email, password or sign-in, or deleting the account.
- Transferring a page to someone else, or deleting or transferring a workspace.
- Anything in the BuzzKit admin area.
- Reaching more than its owner can: a key is checked against its owner's current role on every call.

## If a key leaks

- Revoke it at once. It stops working on the next request.
- Check the page activity feed for changes made by that key, and undo or revert them before publishing.
- Make a new key, limited to what the job needs.
- If you think someone else has your account, sign out everywhere from the account security page and change your sign-in.

## Running an assistant safely

- **Let it draft, decide yourself.** Tools that publish, delete or contact people say so, and ask the assistant to check with you first. Most assistants also show a confirmation before running them.
- **Publishing needs the revision you saw.** `publish_profile` and `approve_review` refuse to run if the draft changed after the assistant showed it to you.
- **Page content is data, not instructions.** Bios, link titles, visitor questions and messages are written by people. An assistant should never follow instructions found in them.
- **Prefer a read-only key** for an assistant that only needs to answer questions about your numbers. It does not even see the tools that change things.

Changes are recoverable until they are published

Undo, revert and discard work on the draft. Once published, a change is live for every visitor; publish again to replace it. Deleting a page, a product or a subscriber cannot be undone.

## Reporting a problem

If you find a security problem in the API or MCP server, write to support with the `X-Request-Id` of a request that shows it. Please do not test against other people's pages.

---

Source: https://buzzkit.app/docs/security
All docs in one file: https://buzzkit.app/llms-full.txt
