mcp-shark/lazy-tool
local-first MCP discovery runtime for agents — search before invoke, reduce prompt bloat, and route to local MCP tools
06cc200e85ddPaths 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
Code Safety, Capability Exposure and Behavior Transparency are not analysed and have no number.
- Code Safety and Capability Exposure: no tool's code could be followed from its input
- Behavior Transparency: no tool description could be read to compare with the code
- 3 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 4 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/mod0.40.0 or later,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 6 tools, 1 prompt, 1 resource. 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.
The code of the tools could not be followed, so what they can reach is not known.
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
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 (8: 6 tools, 1 prompt, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
(name computed at run time)tool
No description.
get_proxy_prompttool Fetch an upstream MCP prompt (prompts/get). Use proxy_tool_name from search_tools hits with kind=prompt.
Fetch an upstream MCP prompt (prompts/get). Use proxy_tool_name from search_tools hits with kind=prompt.
inspect_capabilitytool Return catalog record, configured source, and last reindex health for one capability. Use the exact proxy_tool_name (canonical name) from search_tools.
Return catalog record, configured source, and last reindex health for one capability. Use the exact proxy_tool_name (canonical name) from search_tools.
invoke_proxy_tooltool Call an upstream MCP tool only (search_tools hit with kind=tool). For prompts use get_proxy_prompt; for concrete resources use read_proxy_resource.
Call an upstream MCP tool only (search_tools hit with kind=tool). For prompts use get_proxy_prompt; for concrete resources use read_proxy_resource.
read_proxy_resourcetool Read an upstream MCP resource by URI (resources/read). Use search hits with kind=resource from resources/list; resource templates are not supported here.
Read an upstream MCP resource by URI (resources/read). Use search hits with kind=resource from resources/list; resource templates are not supported here.
search_toolstool Search the local MCP catalog: tools, prompts, and resources (lexical FTS5 + optional vector boost). Then use next_tool_name with next_input_example from a resul
Search the local MCP catalog: tools, prompts, and resources (lexical FTS5 + optional vector boost). Then use next_tool_name with next_input_example from a result; do not invent proxy_tool_name values.
Text the model reads (8)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
(name computed at run time) tool
inspect_capability tool
Return catalog record, configured source, and last reindex health for one capability. Use the exact proxy_tool_name (canonical name) from search_tools.
invoke_proxy_tool tool
Call an upstream MCP tool only (search_tools hit with kind=tool). For prompts use get_proxy_prompt; for concrete resources use read_proxy_resource.
get_proxy_prompt tool
Fetch an upstream MCP prompt (prompts/get). Use proxy_tool_name from search_tools hits with kind=prompt.
read_proxy_resource tool
Read an upstream MCP resource by URI (resources/read). Use search hits with kind=resource from resources/list; resource templates are not supported here.
search_tools tool
Search the local MCP catalog: tools, prompts, and resources (lexical FTS5 + optional vector boost). Then use next_tool_name with next_input_example from a result; do not invent proxy_tool_name values.
(name computed at run time) prompt
(name computed at run time) 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 injectionNot checked: no tool's code could be followed from its input
- 5 checks: runs programs the caller chooses, executes caller-supplied code, reads or writes any file path, requests any address, runs caller-supplied SQLNot checked: no tool's code could be followed from its input
- Tools that start processesNot known: no tool's code could be followed
- Tools that touch filesNot known: no tool's code could be followed
- Tools that call the networkNot known: no tool's code could be followed
Where the code is: 8 handlers in 5 files at commit 06cc200e85dd
internal/mcpserver/tools_direct.go(name computed at run time), (name computed at run time), (name computed at run time)internal/mcpserver/tools_inspect.goinspect_capabilityinternal/mcpserver/tools_invoke.goinvoke_proxy_toolinternal/mcpserver/tools_prompt_resource.goget_proxy_prompt, read_proxy_resourceinternal/mcpserver/tools_search.gosearch_tools
- 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 manifests2 manifests: benchmark/requirements.txt, go.mod
- Lockfiles checked against OSV2 files resolved and checked against the OSV database; 1 not resolved: benchmark/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 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.4.1
- 1 check: credential harvestingChecked on every scan. Results in this category are published only after a person has verified them.
- Undeclared credential accessNot checked: no tool description could be read to compare with the code
- Credentials sent over the networkNot checked: no tool description could be read to compare with the code
- Tools that read credentialsNot known: no tool's code could be followed
- 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 executionNot checked: no tool description could be read to compare with the code
- Tool descriptions presentEvery tool has a description the model and the user can read
- 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/modGo v0.33.0 MEDIUM 2 advisories 0.40.0
- MEDIUMGO-2026-6180 BIT-golang-2026-56864 CVE-2026-56864Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb
- MEDIUMGO-2026-6179 BIT-golang-2026-56865 CVE-2026-56865Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog
golang.org/x/textGo v0.3.8 MEDIUM 2 advisories 0.39.00.41.0
- MEDIUMGO-2026-5970 CVE-2026-56852Infinite loop on invalid input in golang.org/x/text
- MEDIUMGO-2026-6629 CVE-2026-56851Panic parsing crafted input in x/text/secure/precis in golang.org/x/text
golang.org/x/sysGo v0.42.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.4.1 |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-05-10 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-03-29 |
| Topics | agent-tools ai-agents cli developer-tools golang llm-tools local-first mcp model-context-protocol prompt-engineering |
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.