---
title: "Comment by Sam on \"Designing Least-Privilege Access for AI Agents\" | Hashnode"
description: "I like the shift from asking “what permissions might this agent need?” to “what permissions did it actually need across representative tasks?” That's a much bet"
url: "https://hashnode.com/posts/designing-least-privilege-access-for-ai-agents/6b0e85ee4dad96ec17af1c22/comment/6b0ecdad837e335bc0094671"
---

[Discussion](https://hashnode.com/posts/designing-least-privilege-access-for-ai-agents/6b0e85ee4dad96ec17af1c22)

Comment [Designing Least-Privilege Access for AI Agents](https://hashnode.com/posts/designing-least-privilege-access-for-ai-agents/6b0e85ee4dad96ec17af1c22)

[Sam](https://hashnode.com/@coolsan929)

[9h ago](https://hashnode.com/posts/designing-least-privilege-access-for-ai-agents/6b0e85ee4dad96ec17af1c22/comment/6b0ecdad837e335bc0094671)

I like the shift from asking “what permissions might this agent need?” to “what permissions did it actually need across representative tasks?” That's a much better starting point for reducing over-permissioning. One important caveat, though: unused doesn't automatically mean unnecessary. Rare failure-recovery or escalation paths may never appear in a normal trace, so those need deliberate testing before permissions are removed. Least privilege should be evidence-driven, not blindly trace-driven.
