Prompt and instruction boundaries
Treat model instructions, retrieved content and user input as different trust levels. Do not assume text is safe because it appears inside a prompt.
AI features introduce new trust boundaries around instructions, data, tools, retrieval and outputs. This guide is a practical engineering reference, not a penetration test, compliance assessment, certification or guarantee that a system is secure.
Treat model instructions, retrieved content and user input as different trust levels. Do not assume text is safe because it appears inside a prompt.
Minimize personal, confidential and secret data sent to an AI workflow. Decide what data may leave the application boundary before implementation.
AI-triggered tools should use the minimum permission required, with explicit authorization before sensitive or irreversible actions.
Retrieved documents can be outdated, malicious or inappropriate for the current user. Apply authorization and source-quality checks before using them as context.
Model output is untrusted application input. Validate structure, destination, business rules and security-sensitive fields before using it.
High-impact outputs need an appropriate review or approval path instead of treating model confidence as a guarantee.
Capture enough information to debug and investigate without recording secrets, unnecessary personal data or full sensitive prompts by default.
Document which provider or model receives data, how credentials are protected, and what changes when a provider, model or region changes.
Share the task, data boundaries, model/provider assumptions, integrations and actions so the AI and cybersecurity scope can be reviewed together.