AI agents and connectors: least privilege before automation
A connected assistant can read and act across applications; its permissions should be narrower than its ambitions.

A connector changes the risk model
A standalone assistant answers based on information entered into a conversation. Once connected to email, file storage, CRM, ticket systems or code repositories, it can potentially discover and move information far beyond the current message. An agent may also take actions: create a ticket, send a message, update a record or trigger a workflow. Even a useful automation can amplify one mistaken instruction into many operations.
The central question is not whether the AI is "trusted." It is which data and actions the integration can actually reach under its current identity. A read-only connection may still expose sensitive files; a write permission may affect production or external recipients. Evaluate each connector as an access path with a separate owner and risk rating.
Inventory identities and permissions
For every AI workspace and connected application, record the provider, account type, owner, business purpose, authentication method, OAuth scopes or service-account permissions, data classes, and expiration or review date. Include browser extensions and user-created automations. A connection created by a departed employee is not automatically safe simply because it continues working.
Prefer enterprise-managed identities and short-lived tokens where supported. Avoid sharing personal login cookies, exporting credential files into prompts or granting a general administrator token to simplify setup. Use dedicated service accounts only where justified, with permissions restricted to the required objects and actions. Document who can revoke the integration quickly.
Design separate read, draft and execute modes
Do not collapse searching, composing and committing into one opaque step. Reading a document can be a low-impact operation if authorization is correct. Drafting a customer email should not automatically send it. Updating a record, deleting data, transferring a file or granting access deserves independent checks and, where appropriate, human confirmation.
A useful approval screen shows the target object, recipient, operation and relevant data before execution. Approvers should not have to infer consequences from a vague phrase like "continue task." Enforce limits in code or platform permissions; a model prompt asking for approval is not itself a reliable authorization barrier.
Protect against lateral movement
A connector can unintentionally bridge security domains. For example, one assistant might have access to private project notes and an unrestricted message-sending tool. A prompt injection in an imported file could try to move those notes into an external message. Prevent this by separating retrieval permissions from outbound actions, validating recipients against policy, and prohibiting unrestricted data transfer from sensitive stores.
Apply rate and volume limits to bulk reads, exports and repetitive tool calls. Detect unusual sequences such as many document reads followed by a new external destination. Monitoring must respect privacy: record the minimal operational evidence required to investigate, rather than indiscriminately copying every message and attachment to another vendor.
Test permissions using real roles, fake data
Create a test plan with a normal employee, project administrator, security reviewer and revoked user. Use synthetic documents clearly marked by team. Confirm that each role can perform its authorized search and cannot read other teams' material. Test whether a revoked connection loses access promptly and whether an agent can still use cached data after revocation.
Then test action boundaries: ask the agent to draft an external email, attempt a send without confirmation, and try a destination not on the approved list. The expected outcome should be rejection or explicit approval by the correct authority. Keep evidence of the permission decision and the requested action without retaining unnecessary synthetic payloads.
Operate and retire connectors deliberately
Review scopes after a new feature, integration upgrade or change of project ownership. Track service-account credentials, consent grants, revocations and token rotation. Define a shutdown path that disables scheduled agents and removes pending access. A periodic access review is useful, but event-driven reviews after role changes are equally important.
If a connection is abused, suspend the affected tool, revoke tokens, examine recent actions and assess what data may have been exposed. Restore only the minimum validated scope. The safest agent is not the one that performs the most steps autonomously; it is the one whose authority is explicit, limited and observable, with a documented recovery path wherever actions can be reversed.
The minimum viable connector approval
Before enabling a new connector, require an owner to specify one task, one data source, an identity with limited access, and a written description of the actions the agent may perform without confirmation. Test each requested permission by temporarily removing it: if the legitimate task still works, the scope is likely broader than needed. Apply time-limited access when the platform supports it.
Confirm that the organization can see and revoke authorizations centrally, inspect recent tool actions and disable scheduled jobs without the original employee. If these controls are unavailable, use a read-only pilot with test data rather than a privileged production integration. A connector should graduate to write access only after its failure behavior is measured.
