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_getReads data that is yours, not the public web.
actions_listReads data that is yours, not the public web.
add_comment_to_pending_reviewWrites a message, comment, issue or post that other people read.
add_issue_commentSends, posts, shares or invites: it reaches someone else.
add_reply_to_pull_request_commentSends, posts, shares or invites: it reaches someone else.
create_gistSends, posts, shares or invites: it reaches someone else.
create_pull_requestWrites a message, comment, issue or post that other people read.
custom_properties_readReads data that is yours, not the public web.
discussion_comment_writeWrites a message, comment, issue or post that other people read.
get_code_quality_findingReads data that is yours, not the public web.
get_code_scanning_alertReads data that is yours, not the public web.
get_commitReads data that is yours, not the public web.
get_dependabot_alertReads data that is yours, not the public web.
get_discussionReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
get_discussion_commentsReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
get_file_contentsReads data that is yours, not the public web.
get_gistReads data that is yours, not the public web.
get_global_security_advisoryReads data that is yours, not the public web.
get_job_logsReads data that is yours, not the public web.
get_labelReads data that is yours, not the public web.
get_latest_releaseReads data that is yours, not the public web.
get_meReads data that is yours, not the public web.
get_notification_detailsReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
get_release_by_tagReads data that is yours, not the public web.
get_repository_treeReads data that is yours, not the public web.
get_secret_scanning_alertReads data that is yours, not the public web.
get_tagReads data that is yours, not the public web.
get_team_membersReads data that is yours, not the public web.
get_teamsReads data that is yours, not the public web.
issue_readReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
issue_writeWrites a message, comment, issue or post that other people read.
list_branchesReads data that is yours, not the public web.
list_code_scanning_alertsReads data that is yours, not the public web.
list_commitsReads data that is yours, not the public web.
list_dependabot_alertsReads data that is yours, not the public web.
list_discussion_categoriesReads data that is yours, not the public web.
list_discussionsReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
list_gistsReads data that is yours, not the public web.
list_global_security_advisoriesReads data that is yours, not the public web.
list_issue_fieldsReads data that is yours, not the public web.
list_issue_typesReads data that is yours, not the public web.
list_issuesReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
list_labelReads data that is yours, not the public web.
list_notificationsReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
list_org_repository_security_advisoriesReads data that is yours, not the public web.
list_pull_requestsReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
list_releasesReads data that is yours, not the public web.
list_repository_collaboratorsReads data that is yours, not the public web.
list_repository_security_advisoriesReads data that is yours, not the public web.
list_secret_scanning_alertsReads data that is yours, not the public web.
list_starred_repositoriesReads data that is yours, not the public web.
list_tagsReads data that is yours, not the public web.
projects_getReads data that is yours, not the public web.
projects_listReads data that is yours, not the public web.
pull_request_readReads data that is yours, not the public web. Reads messages, issues, comments or mail that other people wrote.
pull_request_review_writeWrites a message, comment, issue or post that other people read.
push_filesPuts something where people outside can see it.
repository_ruleset_readReads data that is yours, not the public web.
search_codeSearches, queries or exports stored data.
search_commitsSearches, queries or exports stored data.
search_issuesSearches, queries or exports stored data. Reads messages, issues, comments or mail that other people wrote.
search_orgsSearches, queries or exports stored data.
search_pull_requestsSearches, queries or exports stored data. Reads messages, issues, comments or mail that other people wrote.
search_repositoriesSearches, queries or exports stored data.
search_usersSearches, queries or exports stored data.
sub_issue_writeWrites a message, comment, issue or post that other people read.
ui_getReads data that is yours, not the public web.
update_gistWrites a message, comment, issue or post that other people read.
update_issue_commentWrites a message, comment, issue or post that other people read.
update_pull_requestWrites 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
fetchReads 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_fileReads data that is yours, not the public web.
read_text_fileReads data that is yours, not the public web.
read_media_fileReads data that is yours, not the public web.
read_multiple_filesReads data that is yours, not the public web.
list_directoryReads data that is yours, not the public web.
list_directory_with_sizesReads data that is yours, not the public web.
directory_treeReads data that is yours, not the public web.
search_filesSearches, queries or exports stored data.
get_file_infoReads data that is yours, not the public web.
list_allowed_directoriesReads 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_getfilesystem: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.
| Option | What lights it | For example |
|---|---|---|
| Private data | What 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 content | What 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 out | What 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.