Least privilege

Giving an agent only the access it needs for the task, nothing more.

Least privilege, common card #125 in The Glitch AI glossary: Giving an agent only the access it needs for the task, nothing more.
GLS 125 · common

Also called: Principle of least privilege.

For: Builders · Leaders

Why it matters

Agents fail in strange ways; tight permissions turn a disaster into an inconvenience.

In practice

A reporting agent can read the sales database but cannot write to it.

Watch for

Broad ‘just in case’ access is the most common agent security mistake.

Related terms

Sandbox · Guardrails · Prompt injection

Guides that use it

How AI agents fail in production. · Lock down your agents before they act. · Open-source AI agents worth trying in 2027. · MCP servers and skills, explained. · MCP servers worth installing in 2027. · Prompt injection, explained for normal people. · AI browsers worth using in 2027.

Sources

Definition updated 2026-10-29.

The Ultimate AI Glossary (2027): every term