Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Least privilege

Definition

Granting an agent or tool only the permissions and data access its task requires, and nothing more, so a mistake does less damage.

In more detail

Use read-only credentials when the task only reads, scope tokens to one repository or folder, and turn off tools the task does not need.

For agents the principle applies at several levels: which tools are enabled, what the credentials behind each tool may do, which files and network destinations are reachable, and which actions need approval. Review permissions when you add an MCP server or skill, since each one widens what an injected instruction could trigger. Short-lived, narrowly scoped tokens are easier to reason about than one powerful key shared by everything.

  • Excessive agency

    The risk that an AI system has more permissions, tools or autonomy than is safe, so a mistake or manipulation causes real harm.

  • Lethal trifecta

    Access to private data, exposure to untrusted content and a way to send data out: together they make data theft by prompt injection possible.

  • Sandbox

    An isolated environment that limits what an agent or its code can read, write or reach on the network, so any mistakes stay contained.

  • allowed-tools

    An experimental SKILL.md frontmatter field listing tools the agent may use without asking while the skill is active. Support varies by agent.

  • Guardrails

    Checks placed around a model that filter, validate or block its inputs and outputs according to rules or classifiers, at run time.

  • Human in the loop

    A design in which a person reviews or approves an AI system's actions or outputs at defined points before they take effect.

  • AI security

    Defending against prompt injection, data leakage and over-permissioned agents.

    SkillIntermediate

  • MCP authorization

    The part of the MCP specification that defines how clients obtain OAuth 2.1 access tokens for remote MCP servers over HTTP.

    Glossary

  • Scan a third-party Agent Skill before you install it

    Read every file, grep scripts for risky patterns, run a skill scanner, then record a yes or no and pin it.

    WorkflowBeginner20 min6 steps