google/agentmesh
Agent Mesh
3f6e3edc2837github.com/google/agentmeshio.github.google/agentmeshPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 648 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 1 source file could be read only in part
- 13 of 48 tools, prompts and resources could not be followed through the code
- 32 tools, prompts and resources registered only in the repository's tests and examples are not counted on this page
Top risks in plain words
- MEDIUM4 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
github.com/gorilla/websocket1.5.1 or later,github.com/klauspost/compress1.20.2 or later,golang.org/x/crypto0.58.1-0.20261009181718-2f1f834330b2 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 15 tools, 1 prompt. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
call_remote_tool, describe_remote_tool, find_remote_toolscall_remote_tool, describe_remote_tool, find_remote_toolsNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files3 tools · call_remote_tool, describe_remote_tool, find_remote_tools
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (16: 15 tools, 1 prompt)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
help_user_loginprompt Provides the user with login instructions when the node is unauthenticated.
Provides the user with login instructions when the node is unauthenticated.
call_remote_tooltool Call an MCP tool on a remote agentFilesNetworkoutside text
Call an MCP tool on a remote agent
call_remote_tooltool Call an MCP tool on a remote agentFilesoutside text
Call an MCP tool on a remote agent
describe_remote_tooltool Return the description, input schema, and output schema for a specific aggregated tool on a specific peer. peer_id and tool_name are both required; tool_name muFilesNetworkoutside text
Return the description, input schema, and output schema for a specific aggregated tool on a specific peer. peer_id and tool_name are both required; tool_name must be a namespaced 'scheme://service/tool' name as returned by find_remote_tools.
describe_remote_tooltool Return the description, input schema, and output schema for a specific MCP tool on a specific peer.Filesoutside text
Return the description, input schema, and output schema for a specific MCP tool on a specific peer.
discover_remote_servicestool Discover remote services in the mesh. Provide only `type` to browse every reachable service of that type (returns name + description for each); add `name` to ta
Discover remote services in the mesh. Provide only `type` to browse every reachable service of that type (returns name + description for each); add `name` to target a specific service. For `type: inference`, each result's `local_proxy_url` is called directly over HTTP (NOT via call_remote_tool) — the response includes a usage hint with the exact headers required. For `type: a2a`, `local_proxy_url` is the agent's base URL for any stock A2A client.
discover_remote_servicestool Discover remote services by type and optional name. Returns peer_id, srv_name and srv_description. This SDK member has no local_proxy_url; inference and A2A ser
Discover remote services by type and optional name. Returns peer_id, srv_name and srv_description. This SDK member has no local_proxy_url; inference and A2A services require an SDK client or an agentmesh-node HTTP proxy.
find_remote_toolstool Discover MCP tools available on hosted services across the mesh. Returns name + description per tool, plus the provider's declared labels (e.g. region) when knoFilesNetworkoutside text
Discover MCP tools available on hosted services across the mesh. Returns name + description per tool, plus the provider's declared labels (e.g. region) when known. Optionally narrow by peer_id, service_name, or tool_name (exact tool name; fastest — served from mesh announcements when available). intent is reserved for future ranking and is accepted-but-ignored.
find_remote_toolstool Discover MCP tools available on hosted services across the mesh. Optionally narrow by peer_id, service_name, or exact tool_name. intent is accepted but ignored,
Discover MCP tools available on hosted services across the mesh. Optionally narrow by peer_id, service_name, or exact tool_name. intent is accepted but ignored, as in agentmesh-node.
get_login_instructionstool Get instructions on how to authenticate this node so it can join the Agent Mesh.
Get instructions on how to authenticate this node so it can join the Agent Mesh.
get_mesh_infotool Get information about the mesh network
Get information about the mesh network
get_mesh_infotool Get information about the mesh network
Get information about the mesh network
get_mesh_infotool Get information about the mesh network
Get information about the mesh network
list_local_servicestool List services registered on the local node. Optionally filter by type.
List services registered on the local node. Optionally filter by type.
list_local_servicestool List services registered on the local node. Optionally filter by type.
List services registered on the local node. Optionally filter by type.
mcp_tooltool Use this tool by passing a JSON string of arguments matching the schema.
Use this tool by passing a JSON string of arguments matching the schema.
Text the model reads (19)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
mcp_tool tool
Use this tool by passing a JSON string of arguments matching the schema.
get_mesh_info tool
Get information about the mesh network
list_local_services tool
List services registered on the local node. Optionally filter by type.
get_mesh_info tool
Get information about the mesh network
list_local_services tool
List services registered on the local node. Optionally filter by type.
discover_remote_services tool
Discover remote services in the mesh. Provide only `type` to browse every reachable service of that type (returns name + description for each); add `name` to target a specific service. For `type: inference`, each result's `local_proxy_url` is called directly over HTTP (NOT via call_remote_tool) — the response includes a usage hint with the exact headers required. For `type: a2a`, `local_proxy_url` is the agent's base URL for any stock A2A client.
get_mesh_info tool
Get information about the mesh network
call_remote_tool tool
Call an MCP tool on a remote agent
find_remote_tools tool
Discover MCP tools available on hosted services across the mesh. Returns name + description per tool, plus the provider's declared labels (e.g. region) when known. Optionally narrow by peer_id, service_name, or tool_name (exact tool name; fastest — served from mesh announcements when available). intent is reserved for future ranking and is accepted-but-ignored.
describe_remote_tool tool
Return the description, input schema, and output schema for a specific aggregated tool on a specific peer. peer_id and tool_name are both required; tool_name must be a namespaced 'scheme://service/tool' name as returned by find_remote_tools.
get_login_instructions tool
Get instructions on how to authenticate this node so it can join the Agent Mesh.
get_mesh_info tool
Get information about the mesh network
discover_remote_services tool
Discover remote services by type and optional name. Returns peer_id, srv_name and srv_description. This SDK member has no local_proxy_url; inference and A2A services require an SDK client or an agentmesh-node HTTP proxy.
find_remote_tools tool
Discover MCP tools available on hosted services across the mesh. Optionally narrow by peer_id, service_name, or exact tool_name. intent is accepted but ignored, as in agentmesh-node.
describe_remote_tool tool
Return the description, input schema, and output schema for a specific MCP tool on a specific peer.
call_remote_tool tool
Call an MCP tool on a remote agent
list_local_services tool
list_local_services tool
help_user_login prompt
Provides the user with login instructions when the node is unauthenticated.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 16 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 16 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 16 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 16 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 16 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 16 capabilities; 14 more call code the scanner could not follow, where it may happen
- Tools that touch files5 of 16 capabilities touch files; 9 more call code the scanner could not follow, where it may happen
- Tools that call the network3 of 16 capabilities call the network; 11 more call code the scanner could not follow, where it may happen
Where the code is: 16 handlers in 4 files at commit 3f6e3edc2837
cmd/chaos-agent/agent.pymcp_toolinternal/node/mcp_handlers.golist_local_services, get_mesh_info, list_local_services, discover_remote_services, get_mesh_info, call_remote_tool, find_remote_tools, describe_remote_toolinternal/node/mcp.goget_login_instructions, help_user_loginsdk/js/src/mcp-server.tsget_mesh_info, discover_remote_services, find_remote_tools, describe_remote_tool, call_remote_tool
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests18 manifests: cmd/chaos-agent/requirements.txt, development/examples/calc-mcp/requirements.txt, development/examples/chat-a2a/requirements.txt, development/examples/code-reviewer-pool/manager/package.json, development/examples/code-reviewer-pool/reviewer/package.json
- Lockfiles checked against OSV16 files resolved and checked against the OSV database; 9 not resolved: cmd/chaos-agent/requirements.txt: 4 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile; development/examples/calc-mcp/requirements.txt: 1 dependency line carries no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependencies MEDIUM4 production packages with known advisories
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versionmcp >=2.3.0,<3, @modelcontextprotocol/sdk ^1.32.1, github.com/modelcontextprotocol/go-sdk v1.8.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 16 capabilities; 14 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (7 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (4 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
github.com/gorilla/websocketGo v1.5.3 MEDIUM 1 advisory 1.5.12024-07-01
- MEDIUMGO-2026-6278 GHSA-w67g-5rqw-f597Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket
github.com/klauspost/compressGo v1.20.1 MEDIUM 1 advisory 1.20.2
- MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
github.com/libp2p/go-libp2p-kad-dhtGo v0.43.0 MEDIUM 1 advisory no fix yet
- MEDIUMGO-2024-3218 CVE-2023-26248 GHSA-mqr9-hjr8-2m9wContent Censorship in the InterPlanetary File System (IPFS) via Kademlia DHT abuse in github.com/libp2p/go-libp2p-kad-dht
golang.org/x/cryptoGo v0.58.0 MEDIUM 1 advisory 2026-10-09
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
golang.org/x/netGo v0.60.0 MEDIUM 2 advisories 0.62.0
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP, stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=2.3.0,<3, @modelcontextprotocol/sdk ^1.32.0, mcp >=2.3.0, github.com/modelcontextprotocol/go-sdk v1.8.0, @modelcontextprotocol/sdk ^1.32.1, mcp >=2,<3 |
| Servers in the code | 13 (calculator, greeter, orders-db, calc, catalog, everything, pool-manager, code-reviewer, gemini-buddy, fixture, agentmesh, new McpServer) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-13 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| MCP Registry | io.github.google/agentmesh |
| Listed in | 3 catalogs (github_search, mcp_registry, mcp_toplist) |
| License | Apache-2.0 |
| Created | 2026-04-21 |
| Topics | a2a a2a-protocol agent-mesh agentic-ai inference mcp mesh mesh-network network-security networking-ai |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.