All Questions
Guardrails And Safety medium

You are building an email agent that can read the user's inbox and send email. A security review worries that an incoming email could contain injected instructions telling the agent to forward the whole inbox to an outside address. Which design best bounds the blast radius?

  1. A Fine-tune the model on adversarial emails so it learns to refuse forwarding instructions that appear inside message bodies.
  2. B Scan inbound emails with an injection classifier and drop flagged messages before the agent ever reads them.
  3. C Log every send action and run a nightly audit job that alerts on messages sent to recipients outside the user's contacts.
  4. D Gate the send tool outside the model: require user confirmation of recipient and body, and default to known contacts only.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions