Lethal trifecta checker for MCP servers

An agent that can read your private data, take in content someone else wrote and send data out can be talked into leaking it. Simon Willison calls that combination the lethal trifecta. Paste your MCP settings file and see which tools of which servers light each leg, using the real tool lists of the servers we ran, then get the settings that hold the outbound step for a person. Nothing leaves this page.

1Paste your MCP settings

Everything runs in this page and nothing you paste is sent anywhere. The checker reads only server names and commands; keys in the file are never shown.

2Which tools light which leg

All three legs of the lethal trifecta

Between them, these servers can read private data, take in content someone else wrote and send data out, so one poisoned page, issue or email can carry your data away. github holds all three on its own.

github57 private data, 11 untrusted content, 13 sends data out
  • actions_get

    Reads data that is yours, not the public web.

  • actions_list

    Reads data that is yours, not the public web.

  • add_comment_to_pending_review

    Writes a message, comment, issue or post that other people read.

  • add_issue_comment

    Sends, posts, shares or invites: it reaches someone else.

  • add_reply_to_pull_request_comment

    Sends, posts, shares or invites: it reaches someone else.

  • create_gist

    Sends, posts, shares or invites: it reaches someone else.

  • create_pull_request

    Writes a message, comment, issue or post that other people read.

  • custom_properties_read

    Reads data that is yours, not the public web.

  • discussion_comment_write

    Writes a message, comment, issue or post that other people read.

  • get_code_quality_finding

    Reads data that is yours, not the public web.

  • get_code_scanning_alert

    Reads data that is yours, not the public web.

  • get_commit

    Reads data that is yours, not the public web.

  • get_dependabot_alert

    Reads data that is yours, not the public web.

  • get_discussion

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • get_discussion_comments

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • get_file_contents

    Reads data that is yours, not the public web.

  • get_gist

    Reads data that is yours, not the public web.

  • get_global_security_advisory

    Reads data that is yours, not the public web.

  • get_job_logs

    Reads data that is yours, not the public web.

  • get_label

    Reads data that is yours, not the public web.

  • get_latest_release

    Reads data that is yours, not the public web.

  • get_me

    Reads data that is yours, not the public web.

  • get_notification_details

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • get_release_by_tag

    Reads data that is yours, not the public web.

  • get_repository_tree

    Reads data that is yours, not the public web.

  • get_secret_scanning_alert

    Reads data that is yours, not the public web.

  • get_tag

    Reads data that is yours, not the public web.

  • get_team_members

    Reads data that is yours, not the public web.

  • get_teams

    Reads data that is yours, not the public web.

  • issue_read

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • issue_write

    Writes a message, comment, issue or post that other people read.

  • list_branches

    Reads data that is yours, not the public web.

  • list_code_scanning_alerts

    Reads data that is yours, not the public web.

  • list_commits

    Reads data that is yours, not the public web.

  • list_dependabot_alerts

    Reads data that is yours, not the public web.

  • list_discussion_categories

    Reads data that is yours, not the public web.

  • list_discussions

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • list_gists

    Reads data that is yours, not the public web.

  • list_global_security_advisories

    Reads data that is yours, not the public web.

  • list_issue_fields

    Reads data that is yours, not the public web.

  • list_issue_types

    Reads data that is yours, not the public web.

  • list_issues

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • list_label

    Reads data that is yours, not the public web.

  • list_notifications

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • list_org_repository_security_advisories

    Reads data that is yours, not the public web.

  • list_pull_requests

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • list_releases

    Reads data that is yours, not the public web.

  • list_repository_collaborators

    Reads data that is yours, not the public web.

  • list_repository_security_advisories

    Reads data that is yours, not the public web.

  • list_secret_scanning_alerts

    Reads data that is yours, not the public web.

  • list_starred_repositories

    Reads data that is yours, not the public web.

  • list_tags

    Reads data that is yours, not the public web.

  • projects_get

    Reads data that is yours, not the public web.

  • projects_list

    Reads data that is yours, not the public web.

  • pull_request_read

    Reads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.

  • pull_request_review_write

    Writes a message, comment, issue or post that other people read.

  • push_files

    Puts something where people outside can see it.

  • repository_ruleset_read

    Reads data that is yours, not the public web.

  • search_code

    Searches, queries or exports stored data.

  • search_commits

    Searches, queries or exports stored data.

  • search_issues

    Searches, queries or exports stored data. Reads messages, issues, comments or mail that other people wrote.

  • search_orgs

    Searches, queries or exports stored data.

  • search_pull_requests

    Searches, queries or exports stored data. Reads messages, issues, comments or mail that other people wrote.

  • search_repositories

    Searches, queries or exports stored data.

  • search_users

    Searches, queries or exports stored data.

  • sub_issue_write

    Writes a message, comment, issue or post that other people read.

  • ui_get

    Reads data that is yours, not the public web.

  • update_gist

    Writes a message, comment, issue or post that other people read.

  • update_issue_comment

    Writes a message, comment, issue or post that other people read.

  • update_pull_request

    Writes a message, comment, issue or post that other people read.

21 other tools light no leg. Every tool of GitHub MCP server

fetch0 private data, 1 untrusted content, 1 sends data out
  • fetch

    Reads web pages or search results that anyone can write. Sends, posts, shares or invites: it reaches someone else.

0 other tools light no leg. Every tool of Fetch MCP server

filesystem10 private data, 0 untrusted content, 0 sends data out
  • read_file

    Reads data that is yours, not the public web.

  • read_text_file

    Reads data that is yours, not the public web.

  • read_media_file

    Reads data that is yours, not the public web.

  • read_multiple_files

    Reads data that is yours, not the public web.

  • list_directory

    Reads data that is yours, not the public web.

  • list_directory_with_sizes

    Reads data that is yours, not the public web.

  • directory_tree

    Reads data that is yours, not the public web.

  • search_files

    Searches, queries or exports stored data.

  • get_file_info

    Reads data that is yours, not the public web.

  • list_allowed_directories

    Reads data that is yours, not the public web.

6 other tools light no leg. Every tool of Filesystem MCP server

notestools unknown

We haven’t run this server, so we don’t know its tools. Paste its tools/list answer, or its tool names one per line, and the checker reads them too.

Hold the outbound step for a person

The trifecta guard follows each run: once one has read private data and taken in untrusted content, its next outbound request waits for a person, whatever a rule says. These are its three lists for this file, in the mcp.<server>.<tool> names the proxy and the hooks ask with (a remote server is named by its key in the file). A list longer than 20 folds a server into mcp.<server>.*. Owners can also paste them under Settings.

curl -X PUT https://api.variantgate.com/v1/workspaces/$WORKSPACE_ID/trifecta-guard \
  -H "Authorization: Bearer YOUR_SESSION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "private": [
    "mcp.github.*",
    "mcp.filesystem.read_file",
    "mcp.filesystem.read_text_file",
    "mcp.filesystem.read_media_file",
    "mcp.filesystem.read_multiple_files",
    "mcp.filesystem.list_directory",
    "mcp.filesystem.list_directory_with_sizes",
    "mcp.filesystem.directory_tree",
    "mcp.filesystem.search_files",
    "mcp.filesystem.get_file_info",
    "mcp.filesystem.list_allowed_directories",
    "mcp.notes.*"
  ],
  "untrusted": [
    "mcp.github.get_discussion",
    "mcp.github.get_discussion_comments",
    "mcp.github.get_notification_details",
    "mcp.github.issue_read",
    "mcp.github.list_discussions",
    "mcp.github.list_issues",
    "mcp.github.list_notifications",
    "mcp.github.list_pull_requests",
    "mcp.github.pull_request_read",
    "mcp.github.search_issues",
    "mcp.github.search_pull_requests",
    "mcp.fetch.fetch",
    "mcp.notes.*"
  ],
  "outbound": [
    "mcp.github.add_comment_to_pending_review",
    "mcp.github.add_issue_comment",
    "mcp.github.add_reply_to_pull_request_comment",
    "mcp.github.create_gist",
    "mcp.github.create_pull_request",
    "mcp.github.discussion_comment_write",
    "mcp.github.issue_write",
    "mcp.github.pull_request_review_write",
    "mcp.github.push_files",
    "mcp.github.sub_issue_write",
    "mcp.github.update_gist",
    "mcp.github.update_issue_comment",
    "mcp.github.update_pull_request",
    "mcp.fetch.fetch",
    "mcp.notes.*"
  ],
  "deny": false
}'

Reads the guard can’t see yet

Behind variantgate mcp-proxy, setup lets these tools run unasked (--look-only), so they never reach VariantGate and never light a leg. Take them out of --look-only and add an allow rule for each: they still run without a person, but now they count for the run.

  • github: actions_get, actions_list, custom_properties_read, get_code_quality_finding, get_code_scanning_alert, get_commit, get_dependabot_alert, get_discussion, get_discussion_comments, get_file_contents, get_gist, get_global_security_advisory, get_job_logs, get_label, get_latest_release, get_me, get_notification_details, get_release_by_tag, get_repository_tree, get_secret_scanning_alert, get_tag, get_team_members, get_teams, issue_read, list_branches, list_code_scanning_alerts, list_commits, list_dependabot_alerts, list_discussion_categories, list_discussions, list_gists, list_global_security_advisories, list_issue_fields, list_issue_types, list_issues, list_label, list_notifications, list_org_repository_security_advisories, list_pull_requests, list_releases, list_repository_collaborators, list_repository_security_advisories, list_secret_scanning_alerts, list_starred_repositories, list_tags, projects_get, projects_list, pull_request_read, repository_ruleset_read, search_code, search_commits, search_issues, search_orgs, search_pull_requests, search_repositories, search_users, ui_get
  • filesystem: read_file, read_text_file, read_media_file, read_multiple_files, list_directory, list_directory_with_sizes, directory_tree, search_files, get_file_info, list_allowed_directories

How it reads a tool

For the 64 servers it recognises by the command that starts them, from those we ran for the MCP server pages, it reads the tool list the server itself gave us, with the tiers we set by hand. For each tool it looks at the tier, the name and the first sentence of the description. It leans cautious: a leg counted too often only makes the guard hold more, never less.

What lights each leg of the lethal trifecta
OptionWhat lights itFor example
Private dataWhat lights itA tool that reads, lists, searches, queries or exports anything that isn't the public web or public documentation. A tool whose name doesn't say what it does is counted here too.For exampleget_file_contents, read_file, execute_sql, search_emails
Untrusted contentWhat lights itA tool that reads web pages, or reads issues, pull requests, comments, pages, messages or mail that someone else can write.For examplefetch, browser_snapshot, issue_read, read_email
Sends data outWhat lights itA tool that sends, posts, shares or publishes; one that writes an issue, comment, message or webhook other people read; or one that opens an address the model picks, since data can ride along in it.For examplesend_email, create_issue, push_files, fetch

What it can’t tell you

  • What your token can reach

    A GitHub tool that reads issues is private data with a token for private repositories and public content with one that only sees open source. The checker can’t see the token, so it counts the worst case.

  • Tools outside MCP

    Your agent may also run shell commands, read files or browse on its own. A shell that can run curl sends data out whatever your MCP servers do, so count those abilities too.

  • Servers we haven’t run

    For a server that isn’t on our list, the checker knows only the tools you paste. An unknown server may light any leg until you do.

Hold the send for a person

VariantGate’s trifecta guard follows each run of your agent. Once a run has read private data and taken in untrusted content, its next outbound request waits in your inbox for a person, even when a rule would have allowed it. It works on every plan, and Free is one person and 100 requests a month, with no card.

Questions

What is the lethal trifecta?

Simon Willison's name for three abilities that together let an attacker steal data through an AI agent: access to private data, exposure to content someone else controls, and a way to send data out. Text the agent reads, such as a web page, an issue or an email, can carry instructions; if the same agent can also read your files and make a request, those instructions can send your files away. Each ability is harmless on its own, which is why the combination is easy to miss.

Does the checker send my settings file anywhere?

No. It reads the server names and commands in the file and nothing else, inside this page. Keys in the file are never shown or sent anywhere. You can replace them with placeholders first and the checker reads the file the same way.

How does it know what each server's tools do?

For the servers we ran for the MCP server pages, it uses the tool list we read from the server itself, with the tiers we set by hand where the tool risk checker reads a tool wrong. For any other server it asks for that server's tools/list answer, or a list of tool names, and reads those. A server you can't paste tools for is shown as unknown, which means it may light any leg.

What if it sorts a tool into the wrong leg?

It reads names and first sentences, so it can be wrong in both directions. It leans cautious: a tool it cannot place is counted as reading private data. Every tool it lights a leg for has three checkboxes, so you can correct a leg and the guard settings below change with it. A server it doesn't know goes into all three lists as a whole until you paste its tools.

My setup has all three legs. What should I do?

Take one leg away if you can: a server that only reads public documentation, a token that can't reach private repositories, or no outbound tool at all. Where you need all three, VariantGate's trifecta guard follows each run and holds the outbound step for a person once the run has read private data and untrusted content, even when a rule would have allowed it. It works on every plan, Free included.