An AI Agent Can Change Sides. It Doesn’t Know It Has.

AI agents read your mail, open your files and run tools with your access, and they obey what they read. Why security built for people misses this, and how widecore.ai, the AI gateway from mysoc.ai, stands where AI meets your data.

widecore.aiBy the mysoc.ai team··5 min read

In a workplace where every employee can run an AI agent to get more done, one email or one document is enough to make that agent work for an attacker. The agent does not know it has changed sides. Neither does the person it works for. This post explains how that happens, why the security you already own does not see it, and what we built to stand in the way: widecore.ai, the AI gateway from mysoc.ai.

The agent that helps you can work for someone else

AI agents now read your mail, open your files, search the web and run tools, all with your access. That is what makes them useful. It is also what makes them dangerous, for three reasons that stack on top of each other.

  • It reads everything. Emails, shared documents, web pages, tickets, the results of its tools. Any of them can carry a hidden instruction.
  • It obeys what it reads. A model cannot tell your instruction from one an attacker planted. To the agent, both are just text.
  • It acts with your access. The mailbox, the files, the keys. A turned agent sends data out or deletes it, and it looks like the employee did it.

And every day, with no attacker at all, people paste ID numbers, card numbers and API keys into a chat box to get an answer faster.

Your security was built for people, not for agents

The attack is a sentence. There is no malware in it, no bad link, nothing to detonate. That is why the tools you rely on look straight past it.

  • Email security was built to look for malware, spoofing and bad links. A planted instruction is a polite paragraph, often in text no person can see.
  • Endpoint protection sees an approved app doing exactly what it was built to do.
  • Network and data-loss tools see encrypted traffic to an AI service you allowed.
  • Blocking AI doesn't stop the use. It moves it out of sight.

Nobody is standing in the conversation between your people, your agents and the AI. That is the gap.

One gateway where AI meets your data

widecore.ai is one gateway at the five places an attack gets in. What is allowed passes. What is sensitive is masked. What is an attack is stopped. Across those five places it checks 24 attacks.

  • In the prompt. What people and apps send is checked on the way out, in your apps and in the chat box on ChatGPT, Claude, Gemini and Copilot. Personal data and secrets are masked or stopped before the AI sees them. Instruction overrides, jailbreaks, attempts to pull out the system prompt, and hidden or encoded attacks are stopped, in English and Hebrew, including inside files and images and across many turns of a conversation.
  • Agents and tools. What an agent reads is checked before the agent reads it, and what it does is checked before your app acts on it: instructions planted in a tool's result, destructive tool calls, data sent out through a tool, poisoned tool descriptions, tools that change after they were trusted, and unapproved tool servers.
  • Mail and messaging. What an assistant reads on your behalf is checked in line by the MailSecure mail gateway, and by connector to Microsoft 365 and Google Workspace. Email written for the assistant rather than the person has its hidden text stripped before it is read.
  • In the answer. What the model sends back is checked on the way back, streams included: secrets and personal data in an answer, and links that carry your data out.
  • Keys and cost. Every app and every agent gets a key of its own, with a rate limit and a monthly budget. Unapproved models are refused, and provider keys never leave the gateway.

The full list of checks is on the widecore.ai product page.

Keep the AI. Lose the risk.

The point of a gateway is that nobody has to give anything up.

  • Your people keep their AI. Nothing is banned. ChatGPT, Copilot and your own agents keep working, and so does everyone who relies on them.
  • Your data stays yours. ID numbers, card numbers and keys are masked or stopped before they leave. The employee is told what was found and carries on.
  • Your agents stay yours. A planted instruction is stopped before the agent reads it. A dangerous action is stopped before it is carried out.
  • Your SOC sees it. Every finding becomes an alert in mysoc.ai, beside every other alert for that customer: what kind, who, and which model.
  • Nothing is stored. Prompts, answers and messages are checked in memory. What is kept is who, when and what kind of thing was found. Never the text.

Start by watching

Every check starts in watch mode. You get a count of what is on its way to AI, and of what is on its way to your agents, and you see what the gateway would have stopped. Nobody's work changes until you say so. When you are ready, you switch on blocking.

To see what your own AI is sending and reading, book a demo or read more about widecore.ai.

Product names belong to their owners. widecore.ai works with these services and is not affiliated with or endorsed by them.

See mysoc.ai in action

One AI-run platform for your entire SOC—triage, investigation, customer communication, and reporting.