kerlenton/mcpsnoop
Wireshark for MCP. A transparent proxy between your AI client and MCP server. Watch every call live in your terminal, fail CI on what it finds, export OpenTelemetry spans.
b737bec46eaegithub.com/kerlenton/mcpsnoopPaths 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 and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 30 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
- 4 of 28 tools, prompts and resources could not be followed through the code
- 14 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- MEDIUM3 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
golang.org/x/sys0.44.0 or later,golang.org/x/text0.41.0 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 11 tools, 2 resources, 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.
None of the tools reaches any of these in the code the scanner could trace.
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
No tool was seen returning text from outside the server to the model.
Tool annotations
1 of 14 tools declares annotations. idempotentHint 1.
Each declaration matches what the traced code does.
Tools, prompts and resources (14: 11 tools, 2 resources, 1 prompt)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
greetingprompt Greet someone by name.
Greet someone by name.
aboutresource What this server is for.
What this server is for.
mcpsnoop:///output-schema.jsonresource
No description.
add_notetool Add a note to this server's notebook and report how many it holds.
Add a note to this server's notebook and report how many it holds.
bonus_tooltool A tool that only exists after unlock_tool was called.
A tool that only exists after unlock_tool was called.
clear_notestool Remove every note from the notebook.
Remove every note from the notebook.
confirm_actiontool Ask the user to confirm an action, then report what they answered.
Ask the user to confirm an action, then report what they answered.
count_notestool Report how many notes the notebook holds.
Report how many notes the notebook holds.
echotool Return the text it is given.
Return the text it is given.
echo_readtool Return the text it is given. Read-only.
Return the text it is given. Read-only.
list_rootstool Ask the client for its roots and report them.
Ask the client for its roots and report them.
slow_readtool Work for a few seconds while reporting progress, then finish. Read-only.
Work for a few seconds while reporting progress, then finish. Read-only.
slow_tasktool Work for a few seconds while reporting progress, then finish.
Work for a few seconds while reporting progress, then finish.
unlock_tooltool Make a new tool, bonus_tool, available on this server.
Make a new tool, bonus_tool, available on this server.
Text the model reads (14)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
echo tool
Return the text it is given.
confirm_action tool
Ask the user to confirm an action, then report what they answered.
slow_task tool
Work for a few seconds while reporting progress, then finish.
echo_read tool
Return the text it is given. Read-only.
slow_read tool
Work for a few seconds while reporting progress, then finish. Read-only.
list_roots tool
Ask the client for its roots and report them.
add_note tool
Add a note to this server's notebook and report how many it holds.
count_notes tool
Report how many notes the notebook holds.
clear_notes tool
Remove every note from the notebook.
unlock_tool tool
Make a new tool, bonus_tool, available on this server.
bonus_tool tool
A tool that only exists after unlock_tool was called.
greeting prompt
Greet someone by name.
about resource
What this server is for.
mcpsnoop:///output-schema.json resource
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 — 14 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 — 14 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 — 14 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 — 14 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 — 14 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 14 capabilities; 6 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 14 capabilities; 6 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 14 capabilities; 6 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 3 files at commit b737bec46eae
- 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 manifests3 manifests: clientmatrix/go.mod, go.mod, npm/mcpsnoop/package.json
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 1 not resolved: npm/mcpsnoop/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies MEDIUM3 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versiongithub.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 14 capabilities; 6 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 (14 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 (3 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
golang.org/x/textGo v0.14.0 MEDIUM 2 advisories 0.39.00.41.0
- MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
- MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
golang.org/x/sysGo v0.41.0 MEDIUM 1 advisory 0.44.0
- MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
golang.org/x/sysGo v0.38.0 MEDIUM 1 advisory 0.44.0
- MEDIUMGO-2026-5024 CVE-2026-39824Invoking integer overflow in NewNTUnicodeString in golang.org/x/sys/windows
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 | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/modelcontextprotocol/go-sdk v1.8.0 |
| Servers in the code | 1 (127.0.0.1:0) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-01 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-06-27 |
| Topics | bubbletea ci claude cli codex cursor debugging devtools github-actions golang |
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.