Least privilege means every identity, human or machine, holds only the access it needs for the current task and only for as long as it needs it. Agents make this concrete: a coding agent with a broad cloud token or an unrestricted shell turns any successful prompt injection into a full compromise.
Read in this order
- ArticleThe lethal trifecta for AI agents: private data, untrusted content, and external communication (Simon Willison)Start here: why private data, untrusted content, and outbound access must never meet.
- VideoLeast Privilege is a Conversation: Building an Agentic Role Engineering Pipeline - Alex Smolen (fwd:cloudsec North America 2026)A concrete loop for refining IAM roles from actual use. 23 min.
- OfficialSecurity best practices in IAM (AWS)Concrete cloud IAM practices for scoping the credentials your agent holds.