Skip to content
mentoor

The lethal trifecta

For engineers

Private data plus untrusted content plus a way to send data out equals data theft, and how to design agents that never combine all three

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

Which three things together make up the lethal trifecta?

Choose one answer

Check yourself · 2 of 5

Why can a rendered markdown image leak data without any click?

Choose one answer

Check yourself · 3 of 5

In the 2025 GitHub MCP server case, which text did the attacker control?

Choose one answer

Check yourself · 4 of 5

Which change removes the outbound-channel leg for an assistant that auto-renders images?

Choose one answer

Check yourself · 5 of 5

Under the Rule of Two, how many of the three properties may a session have without human approval?

Choose one answer

Topics

  1. Private data, untrusted content and an outbound channel4 min read · The three capabilities that together let an injected instruction steal data, and how to spot each one in an agent's tool list
  2. Hidden exfiltration channels in AI apps4 min read · Rendered markdown images, link previews, web fetches, webhooks, git pushes and shared documents as quiet ways data leaves
  3. Exfiltration incidents in shipped AI products4 min read · Published attacks on assistants, coding agents and MCP setups, traced step by step from injection to stolen data
  4. Breaking the trifecta by removing one leg4 min read · Image and URL allow-lists, separate sessions for untrusted content, and dropping outbound tools once private data is loaded
  5. Agent design rules: the Rule of Two4 min read · Allowing at most two of the three capabilities per session without human approval, and what to do when users compose their own tool sets

Start here

Helps to know first

110 questions · last verified 2026-12