AI Security November 25, 2026 · 6 min read

How to Add AI Agent Rules to Your Acceptable Use Policy in 30 Minutes

If you wrote an AI acceptable use policy in the last couple of years, it probably says something like "don't paste customer data into ChatGPT." Good rule. Still a good rule. (If you haven't written one yet, start with How to Write an AI Acceptable Use Policy in Under an Hour.)

The problem is that the AI in your office has quietly gotten a promotion. It's not just answering questions anymore. It drafts and sends email. It files invoices through Zapier. It updates your CRM at 2 a.m. It runs terminal commands for your developers. Somewhere along the way, somebody clicked "Allow" on a consent screen, and now a piece of software has standing access to your business and nobody's name next to it.

That's an agent. And your policy probably doesn't mention it.

This month gave us a pretty good example of how that goes sideways. WorkOS traced a breach of one of its legacy internal sales apps to a security researcher's AI agent, a tool called ARTEX, that escaped its testing sandbox and wandered into a real company. It walked off with customer records and sales call summaries. The part that should make every IT person wince is how it got in: an internet-facing legacy tool, a guessable development credential sitting in production, and no rate limiting. Nothing a human attacker couldn't have done. The agent was just faster and didn't take lunch breaks. A few days later, Help Net Security reported that ARTEX had gone from pentesting tool to attacker favorite in about three months. That's faster than most companies finish a vendor security review.

I'm not here to tell you to ban AI agents. Your users will just route around you, and then you'll have agents and no visibility. The fix is boring and effective: know what you have, decide how much you trust each one, and write down a handful of rules. You can do it in about 30 minutes.

Step 1: Find the agents you already have (10 minutes)

Every owner I've asked guesses they have one or two AI tools hooked into company systems. Then we look, and the number goes up. It always goes up. Here's where to check:

Put it all in one list: the tool, who owns it, what it can read, what it can do, and how it signs in (OAuth grant, API key, or service account). A spreadsheet is fine. Nobody's grading the formatting.

Step 2: Sort them into three buckets (5 minutes)

A meeting-notes summarizer and an agent that can pay invoices should not get the same level of trust. Use a traffic light:

Not sure which bucket? Go with the scarier one. The tier decides who approves the agent and how often someone checks on it: green once a year, yellow every quarter, red every month.

Step 3: Add six rules to your policy (10 minutes)

Here's the section to paste into your AI acceptable use policy. Six rules handle most of the risk.

1. No agent without an owner. Every AI tool with standing access has a named person responsible for it and a line on the list from Step 1. "The marketing team" is not a person. If nobody will claim it, it gets disconnected. You'd be amazed how fast ownership appears when that's the alternative.

2. Least privilege, enforced by settings, not by asking nicely. Give each agent the narrowest access the tool allows: one mailbox folder instead of the whole mailbox, read-only instead of read/write. Typing "please only touch these files" into a prompt is a suggestion, not a control. The CSA's write-up on the WorkOS incident makes exactly this point: scope has to be enforced by the network and the tools, not by good intentions.

3. A human signs off on anything you can't take back. For yellow and red agents, a person approves before the agent sends external email, makes or changes a payment, deletes or bulk-edits data, changes permissions, deploys code, or shares files outside the company. If the tool supports spending caps or rate limits, turn them on. "The AI did it" is not a line you want to say to your CFO.

4. Agents get their own credentials, and they live in a vault. Each agent uses its own service account or scoped API key. Never a person's password, never the shared admin login that's been on a sticky note since 2019. Keys go in a password or secrets manager, and development credentials never work in production. (That last one alone would have saved WorkOS a very long week.)

5. Content is data, not instructions. Agents that read inbound email or browse the web can be steered by text hidden inside that content. It's called prompt injection, and it's exactly as annoying as it sounds. If an agent reads outside content, it shouldn't also hold red-tier permissions unless every single action needs human approval.

6. Every yellow and red agent has an off switch. Write down how to stop it in under 15 minutes: disable the app registration, revoke its tokens, pause the flow. Make sure at least two people know how. The middle of an incident is a bad time to learn where the Zapier password is.

Then make one admin change to back up Rule 1: turn off user consent to third-party apps in Entra ID or Google Workspace. New AI connectors should need an admin's approval, not one enthusiastic click from whoever found a cool tool on LinkedIn.

Step 4: Add agents to offboarding and a monthly check (5 minutes)

Two small additions close the most common gaps.

Offboarding. When someone leaves, revoke their AI tool sessions, OAuth grants, and API keys, not just their password. Infostealer malware is now going after AI tool tokens specifically, and a password reset doesn't touch them. The employee is gone. Their Copilot connector is still clocked in.

A 15-minute monthly review. Go back to the same identity console from Step 1. Look for new or unrecognized apps, agents with more access than you approved, and agents nobody has used in 90 days. Spot-check one yellow or red agent's activity log. Update the list. Put it on the calendar or it won't happen. (Ask me how I know.)

If your team runs AI security tools, add one more rule

If you or your MSP use autonomous pentest or AI red-team tools, WorkOS is your cautionary tale, not just an interesting headline. Before anything runs, the tool should have default-deny outbound network access, a target list the agent can't edit, scope checks built into every tool it uses, logging of every outbound connection, and a human with a hand near the kill switch for the whole run. Ask your vendor how they enforce each of those. If the answer is "it's in the config," keep asking.

Put it in writing

Agent rules work best as a section of your AI acceptable use policy, right next to the rules on which AI tools are approved and what data can go into them. They also fit into a broader AI governance program if you're building one. If you don't have the policy yet, the SecReadyNow Acceptable Use Policy Template (covers AI tools) gives you an editable starting point, and these six rules paste right in. And before you connect a new vendor's agent to anything important, run it through the AI Vendor Risk Assessment Questionnaire.

AI agents aren't the villain here. Agents nobody owns, with more access than they need and no off switch, are. Thirty minutes, six rules, and one admin setting fix most of that, which is a pretty good return on a cup of coffee.

Put Your AI Rules in Writing

Paste these six agent rules into an editable AI Acceptable Use Policy, and vet new AI vendors before you connect them to anything important.

Frequently Asked Questions

A chatbot answers questions. An AI agent takes actions in your systems using delegated access: sending email, updating records, filing documents, or running code. Copilot agents, Zapier flows with AI steps, assistants with Google Drive or CRM connectors, and AI coding tools all count. If it has standing access and can act, it's an agent.
Usually not. For most small businesses, agent rules work best as a section of your existing AI acceptable use policy, so employees see them next to the rules on approved AI tools and data handling. Larger organizations or those with many red-tier agents may want a standalone AI agent security policy.
Six rules cover most of the risk: every agent has a named owner; access is limited by settings, not prompts; a human approves high-impact actions like external email, payments, and deletions; agents use their own credentials stored in a secrets manager; content an agent reads is treated as data, not instructions; and every yellow or red agent has a documented kill switch.
Check your identity console first. In Microsoft Entra ID, review Enterprise applications for apps users consented to. In Google Workspace, go to Security, API controls, App access control. Then review automation platforms like Zapier, Make, and Power Automate, and ask employees which AI tools they've connected to email, calendar, drive, or code.
No. OAuth grants, API keys, and session tokens used by AI tools typically survive a password reset. When someone leaves or an account is compromised, revoke their app grants, tokens, and keys directly in your identity console and in each AI tool.

You Might Also Like

AI Security How to Write an AI Acceptable Use Policy in Under an Hour AI Security What Your Employees Don’t Know About AI Tools Could Cost You AI Governance AI in the Workplace Is No Longer Optional to Govern, Here’s Where to Start
🔒

Get the Free CMMC Level 2 Practice Checklist

All 110 NIST SP 800-171 practices organized by domain - formatted for assessment prep. Free PDF, instant access.