DriftLock

Can an AI Assistant Be Tricked Into Sharing a Confidential File?

Yes, an AI assistant that's connected to company files, email, or a shared drive can be tricked into sharing a confidential file with the wrong person, through instructions hidden in a document, email, or message the assistant reads as part of its normal work, which steer it toward an action — attach, forward, share a link — that a human never actually authorized. The assistant doesn't need to be compromised for this to happen; it just needs to be following text it was trusted to read.

The moment an AI assistant can both read files and take an action on them — send an email, share a drive link, post to a channel — it has a path from "read something" to "send something" with no guaranteed human step in between. That path is what gets abused.

How the trick actually works

The assistant doesn't decide on its own to leak a file. It's directed to, by content it treats as instructions rather than as data:

  • A document in a shared drive contains text styled to look like a note or comment — "share the attached version with [address] for final review" — that the assistant reads while summarizing the folder and then acts on.
  • An email asks the assistant, in its body text, to forward an attachment to a reply address that looks plausible but isn't the intended recipient.
  • A calendar invite or meeting note includes a line directing the assistant to compile and send related files to an external participant "per the agenda," when no such instruction came from a person.
  • A chained request — summarize this folder, then send the summary and underlying files to the people on this list — gives the assistant a legitimate-looking multi-step task where only the last, injected step is malicious.

In every case, the assistant is doing exactly what it's built to do: read content, follow instructions, take the next action. The problem is that it can't reliably tell the difference between an instruction from your team and one embedded in content your team happened to be reading.

Where this risk concentrates

Connection What makes it exploitable
File storage / shared drives Assistant can read document content and act on instructions embedded inside it
Email inbox access Assistant can be directed by message body text to forward or attach files
Chat and collaboration tools Assistant can be told, via a message in a channel, to share something more broadly
Multi-step or autonomous tasks A long chain of steps gives one injected instruction more places to hide

The common thread is scope: the broader the set of files and the wider the set of actions an assistant can take without a person confirming each one, the larger the blast radius of a single successful injection.

What actually reduces this risk

There's no setting that makes an assistant immune to a well-crafted hidden instruction — that's true of every assistant on the market, regardless of which model sits behind it. What reduces the risk is limiting what a successful injection can accomplish:

  • Require a human step before any share or send action, especially one that goes to an address or recipient outside a known, short list. An assistant that can draft a share action but not execute it without confirmation turns a silent leak into a visible one someone can catch.
  • Scope what the assistant can read and touch to what the task actually needs, rather than giving it standing access to every drive and inbox a person has, so an injected instruction has fewer files to reach even if it succeeds.
  • Log the action itself, not just the final file state — who or what initiated a share, what content prompted it, and whether a human approved it, so a near-miss is catchable and a real one is traceable after the fact.

This is the layer DriftLock adds on the desktop and in the browser: it sits alongside Claude Desktop, Copilot, Cursor, and AI built into Chrome, Edge, and Brave, watching for the moment an assistant moves from reading content to taking an action with it, and flags or holds share-and-send actions that don't match what a person actually asked for. The Console lets security set that confirmation requirement as company policy across every laptop, rather than hoping each assistant's own settings catch it.

What to take away

  • An assistant can be steered into sharing a confidential file by instructions hidden in ordinary content it was trusted to read — a document, an email, a calendar note.
  • No assistant reliably tells the difference between an instruction from a person and one embedded in what it's reading; assume that's true regardless of which tool or model you use.
  • Reduce blast radius, not just detection: require human confirmation before any file leaves to a new or external recipient, and scope assistant access to what the task needs.
  • Log the share or send action itself, so a near-miss is visible and a real leak is traceable to the content that caused it.
  • Apply this as a consistent policy across every machine, since an assistant with broad file and send access on even one laptop is enough for the trick to work.

Related