Agent Security Guides

Protect agent systems with trust boundaries, least privilege, sandboxing, tenant isolation, and audit trails.

Start with the first guide for the core design, then use the others to examine specific implementation and operational decisions. Each includes primary references and illustrative examples.

  1. Prompt Injection in AI Agents: Trust Boundaries and Defenses

    Defend AI agents against prompt injection with explicit trust boundaries, constrained tools, controlled data movement, and tests of actual side effects.

    8 min read

  2. Least Privilege for AI Agents: Scoped Credentials and Capability Design

    Design least-privilege AI agents with scoped credentials, resource-bound grants, controlled delegation, explicit elevation, and credential lifecycle checks.

    8 min read

  3. Sandboxing AI Code Execution: Isolation and Network Controls

    Design AI code execution with explicit isolation, restricted networks, bounded resources, controlled outputs, and secrets kept outside generated programs.

    8 min read

  4. Multi-Tenant AI Agents: Data Isolation Across Retrieval and Tools

    Design multi-tenant AI agents with trusted tenant context, scoped retrieval and tools, isolated caches, current permissions, and adversarial isolation tests.

    8 min read

  5. AI Agent Audit Logs: Provenance, Privacy, and Action Accountability

    Design AI agent audit logs with trustworthy event producers, action provenance, durable delivery, tamper evidence, privacy controls, and investigation checks.

    7 min read