Home icon

Enforce least-privilege authorization in multi-agent AI chains using Cedar

Security Blog



This article demonstrates how to enforce least-privilege authorization in multi-agent AI systems using Cedar policies and OAuth 2.0 to prevent unauthorized scope expansion across delegation chains.

  • Three-layer Cedar policy model: agent-to-tool (L1), agent-to-agent delegation (L2), and originating user authorization (L3)
  • HMAC-SHA256 signatures protect user context integrity across multi-hop delegation chains
  • OAuth 2.0 Token Exchange (RFC 8693) limits delegation scope using on-behalf-of (OBO) pattern
  • Reference implementation uses AWS Lambda, Amazon Verified Permissions, Amazon Cognito, and AWS WAF
  • Layer 3 enforces originating user role and MFA verification for high-risk operations
  • OCSF 99001 audit events logged to CloudWatch for compliance and monitoring
  • Deployment via AWS CDK with five CloudFormation stacks and end-to-end test scenarios

The solution addresses OWASP ASI03 (Identity & Privilege Abuse) by maintaining authorization boundaries at every agent delegation hop while supporting multi-account scaling and human-in-the-loop escalation.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 18
2026
Securing enterprise ready AI agents with Auth0 for AI Agents and Amazon Bedrock AgentCore
May 20
2026
Why Policy in Amazon Bedrock AgentCore chose Cedar for securing agentic workflows
Jun 2
2026
Secure multi-tenant AI agents with Amazon Bedrock AgentCore resource-based policies
Jun 16
2025
Introducing Cedar Analysis: Open Source Tools for Verifying Authorization Policies

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.