Skip to content

Docs / Untrusted content

Untrusted content

Email is attacker-controlled text. Anyone can send a message written to steer the language model that reads it. Permaily can reduce this risk, and it can’t remove it.

  • Wraps message content in clear markers as untrusted data.
  • Includes the sender’s authentication results.
  • Defaults to read-only.
  • Requires a person’s approval for each send and delete.
  • Ask for read unless a feature needs more.
  • Keep the markers when you pass a message to a model, and tell the model that marked text is data, not instructions.
  • Check the sender’s authentication results before you rely on who a message is from.
  • Keep a person’s approval in front of anything that sends, deletes or shares.

A model can still be misled by text it’s allowed to read. Narrowing what it sees limits what an attacker can reach, and it doesn’t make what’s left safe to obey.