First-time builder
Launching your first AI app? Turn these on first
You don't need to be a security engineer. Work through these eight steps in order — the early ones are quick and cheap, the later ones matter more as your app grows.
- 01
Keep secrets out of prompts
Never put API keys, passwords or private data in a system prompt — assume it can be extracted.
Read the guide → - 02
Cap usage per user
Set rate limits and token caps so one user or bot cannot run up your bill or take the app down.
Read the guide → - 03
Limit what the AI can do
Give agents a short allowlist of tools with read-only access by default. Require a human click before anything is written, sent or deleted.
Read the guide → - 04
Screen incoming messages
Add a prompt-injection check before user text reaches the model, especially text from documents, emails or web pages.
Read the guide → - 05
Treat AI output as untrusted
Escape answers before showing them and never run model output as code or database queries without checks.
Read the guide → - 06
Redact personal data
Mask emails, phone numbers and keys in prompts, answers and logs.
Read the guide → - 07
Separate each customer's data
If you use document search, filter results by user or company so nobody sees someone else's files.
Read the guide → - 08
Check facts that matter
Ground important answers in your own sources and tell users when the AI may be wrong.
Read the guide →
This checklist is general guidance, not a guarantee of security. Unsure about a term? See the beginner glossary.