Security best practices
A least-privilege checklist for AI agents
Ten concrete checks to reduce what an agent can do if it is manipulated, from identity to approvals and evidence.
Vyantraai Tech · November 24, 2026
Identity
- Give every agent its own identity and credential. Shared service keys make every agent indistinguishable.
- Record an accountable owner for each agent.
- Separate production, staging and development identities.
Tools and actions
- Grant tools explicitly, and within each tool only the actions the agent needs (read, not delete).
- Mark tools by sensitivity so policies and reviewers can treat restricted tools differently.
- Validate tool inputs against a schema; reject anything unexpected.
Decisions
- Default to deny: if no rule allows an action, it does not happen.
- Put hard limits in policy, not in prompts — refund ceilings, export sizes, business hours.
- Require a person, with the right role, for actions that move money, export data or change production, and stop the requester approving their own request.
Evidence
- Record every decision with the policy version that made it, and make the record tamper-evident.
Each item maps to a TrustMesh control; the sandbox shows several of them in action.
Related: Agent Registry