Secrets and configuration

  • Hardcoding API keys in frontends or repos.
  • Missing key rotation and environment separation.

Authorization gaps

  • Treating the model as a security boundary.
  • Retrieving documents the user is not allowed to see.
  • Granting agents write access without approval workflows.

Prompt and content risks

  • Ignoring prompt injection in user-supplied content.
  • Logging sensitive prompts to insecure destinations.

Operational blind spots

  • No monitoring for unusual tool use or cost spikes.
  • No clear incident response path for AI-related failures.

Related reading