Skip to main content

In your company, 11 teams want their AI agents to have write access to production systems such as the CRM, the payment system and the code repository. As security lead, what company-wide policy do you set?

AI security · Pro 2

Short answer

A tiered policy by what the action can damage. Read access is easy to get. Writes that can be undone need scoped credentials, limits and logging. Writes that move money, delete data or change production code need human approval for each action. Every agent has its own identity, an owner and a kill switch. Access widens only with evidence.

Deeper answer

A flat yes or no fails. Banning all write access stops useful work, and teams then use personal tokens, which is worse. Allowing it freely means one prompt injection can change records or send money. So the policy sorts actions by how reversible and how costly they are. Updating a CRM note is not the same as issuing a refund or merging code.

For each tier the policy states the required controls. All agents: a separate identity, not a shared or human account, least privilege, full logs, and a named owner. Middle tier: limits on volume and amount, a sandbox test, and alerts. Top tier: a person approves each action, or the agent only prepares it. Enforcement must sit in the platform, for example in the tool layer or gateway, not in the prompt. Review access every quarter and remove what is unused. Interviewers listen for reversibility as the main test, controls in code, a path for teams to earn wider access, and how exceptions are handled.

What a strong answer covers

Answer it out loud in the mock interview about 3 min

Follow-ups to expect

Common mistakes

Learn it

Permissions and sandboxing

Practice AI security questions

More on this topic

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.