Main Street AI ResourcesFree. No sign-up needed for this guide.
Resources / Main Street Security / Level 3, step 15

Level 3 of 3 · step 15 of 18

Give AI agents and document search tools only the files and actions their job needs

An agent tricked by an email can only do what you allowed.

Time it takes: An hour per agent or tool

Why this step matters now

An AI agent reads emails, documents and web pages, and some of that text can carry hidden instructions written to trick it. This is called prompt injection. The safest limit is what the agent is allowed to do.

A document search tool (often called RAG) will show anyone who asks whatever was loaded into it.

Set the limits for each AI tool

  1. Give each agent its own account, read-only wherever it can be.
  2. Load only approved folders into document search, and keep who-can-see-what the same as in the original files.
  3. Make a human being approve anything that sends, pays, deletes or shares.
  4. Keep a log of what each agent did.

Message whoever runs your website, app or AI tools

Send it to: Your web developer, IT company or the person who set up your AI tools. Change any word you like.

Can you check six things for us this month? 1. Every test or staging copy of our site asks for a login, or is deleted. 2. Every API we use requires a key or login, including internal ones. 3. Each AI agent or document search tool can reach only what its job needs, and a human being approves anything it sends, pays or deletes. 4. Secret scanning is on for our code, with no working keys in its history. 5. Any key that leaks gets changed the same day. 6. The office router has no unused port forwards, and UPnP is off. Tell me which ones are done and what the rest would take.

If something goes wrong, try this

How you know this step is doneEach agent and search tool can reach only its own job, and a human being approves anything that leaves the building.

If this helped, send it to another business owner you would hate to see scammed.

See more tips like this. I send new ones as I make them, each a link back here. Unsubscribe anytime.