Enforce least-privilege authorization in multi-agent AI chains using Cedar
- Published
- Record updated
Summary
This post presents a reference implementation that enforces least-privilege authorization in multi-agent AI chains using Cedar, an open source authorization policy language, deployed on AWS. It addresses the risk classified as ASI03: Identity & Privilege Abuse in the OWASP Top 10 for Agentic Applications, where authorization scope can silently expand across multi-hop delegation even when RBAC policies are in place. Cedar evaluates three policy layers after an OAuth 2.0 and OIDC identity provider authenticates the originating user and issues a signed JWT.
Mitigation
The reference implementation uses a three-layer Cedar policy model: L1 checks agent-to-tool trust score, namespace and lifecycle stage; L2 enforces a delegation hop count limit of five and capability subset checks; L3 verifies the originating user's role, MFA completion and allowed delegation depth. Verified JWT claims are mapped to Cedar context attributes, and the MCP adapter signs the user context with HMAC-SHA256 to prevent downstream tampering.
Topics
Related items
- HighIssue with Language Servers for AWS - MCP consent, command execution and workspace boundary issues (CVE-2026-137931, CVE-2026-137932, CVE-2026-137933, CVE-2026-137934, CVE-2026-137935)Same vendor, AWS Security Bulletins
- InfoAmazon releases open-weight AI model as potential China crackdown loomsSame vendor, CNBC Technology
- InfoOpenAI and AWS expand partnership at re:InventSame vendor, OpenAI Blog
- MediumReact2Keys makes forgotten React2Shell exposure an expensive mistakeSame vendor, CSO Online
- InfoCrowdStrike Secures AI Agents and the AWS Workloads Behind ThemSame vendor, CrowdStrike Blog