GLOSSARY, read 12 Nov 2026
Least privilege for agents, defined with a sourced example
Definition
Least privilege for agents means giving an agent only the files, tools, network access and credentials its task needs, for as long as it needs them. It limits the harm when an agent is misled, since the agent inherits whatever the user holds.
Example from a real source
Example
NIST's glossary describes least privilege as restricting access of users, or processes acting for them, to the minimum necessary to accomplish assigned tasks.
Related terms
- Human-in-the-loop approvalHuman-in-the-loop approval requires a person to confirm an agent action before it runs.
- YOLO / auto-approve modeAuto-approve mode, often called YOLO mode, lets an agent run actions without asking each time.
- Rug pull (MCP)In MCP, a rug pull is when a server changes a tool's description or behavior after the user approved it.
Where to read more
Sources
- csrc.nist.gov, read 12 Nov 2026
Last reviewed 12 Nov 2026.