daidaiJ/websearch-mcpserver
零 API Key 即可运行的 Go 版 MCP 搜索服务:多引擎并发(百度/Bing/DDG/Google)+ API 供应商池(Tavily/Exa/豆包/元宝/TinyFish 等)+ 9 大学术引擎 + 网页抓取与 MinerU PDF 解析 + 内置控制中心|Zero-key MCP search server in Go: hybrid engines, provider pool, academic search, web fetch & PDF parsing, built-in dashboard.
700ab4b454b5websearchio.github.daidaiJ/websearch-mcpserverPaths 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
Behavior Transparency is not analysed and has no number.
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.
- Behavior Transparency: no tool description could be read to compare with the code
- Some paths pass through more than 8 functions one inside another; the scanner stops there
- In 343 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
- 14 of 27 tools, prompts and resources could not be followed through the code
- 1 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 13 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- CRITICAL9 production dependencies have known vulnerabilities (worst: critical).
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.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Update its vulnerable packages
Use
github.com/andybalholm/brotli1.2.7 or later,github.com/klauspost/compress1.20.2 or later,github.com/yuin/goldmark1.7.17 or later,golang.org/x/crypto0.58.1-0.20261009181718-2f1f834330b2 or later and 3 more. - 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.
pdf_parserpdf_parser, smartsearchacademicsearch, pdf_parser, smartsearchpdf_parserpdf_parserpdf_parserWhere 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.
ANYSEARCH_API_KEY· pdf_parserEXA_API_KEY· pdf_parserGITHUB_TOKEN· pdf_parserLLM_API_KEY· pdf_parserMINERU_TOKEN· pdf_parserOPENALEX_API_KEY· pdf_parserSEMANTIC_SCHOLAR_API_KEY· pdf_parserTENCENTCLOUD_WSA_APIKEY· pdf_parserWEBSEARCH_TOKEN· pdf_parser
3 request addresses could not be settled from the code (built at run time).
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.
- files2 tools · pdf_parser, smartsearch
- web or API responses3 tools · academicsearch, pdf_parser, smartsearch
Tool annotations
1 of 14 tools declares annotations. readOnlyHint 1.
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.
(name computed at run time)prompt
No description.
capabilitiesresource
No description.
healthresource
No description.
academicsearchtool Networkoutside text
No description.
cleanfetchtool
No description.
e.tooltool
No description.
file_searchtool
No description.
h.nametool
No description.
handlertool
No description.
pdf_parsertool ProcessesFilesNetworkCredentialsEnv varsSensitive pathsoutside text
No description.
search_historytool read-only (declared)
No description.
smartsearchtool FilesNetworkoutside text
No description.
smartsearchtool FilesNetworkoutside text
No description.
t.labeltool
No description.
Text the model reads (20)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
smartsearch tool
smartsearch tool
academicsearch tool
cleanfetch tool
pdf_parser tool
file_search tool
handler tool
smartsearch tool
smartsearch tool
academicsearch tool
cleanfetch tool
file_search tool
pdf_parser tool
search_history tool
t.label tool
h.name tool
e.tool tool
(name computed at run time) prompt
capabilities resource
health 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 — 13 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 — 13 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 — 13 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 — 13 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 — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processes1 of 14 capabilities start processes; 6 more call code the scanner could not follow, where it may happen
- Tools that touch files3 of 14 capabilities touch files; 4 more call code the scanner could not follow, where it may happen
- Tools that call the network4 of 14 capabilities call the network; 3 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 9 files at commit 700ab4b454b5
mcp/i18n.gohandlermcp/resource.gocapabilities, healthmcp/tool_search.gosmartsearch, smartsearchmcp/tool_academic.goacademicsearchmcp/server.gocleanfetchmcp/tool_filesearch.gofile_searchmcp/tool_pdf.gopdf_parsermcp/tool_search_history.gosearch_historypkg/dashboard/web/app.jst.label, h.name, e.tool, (name computed at run time)
- 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 manifests8 manifests: bench/pdfcorpus/go.mod, go.mod, npm/cli/package.json, npm/platform/darwin-amd64/package.json, npm/platform/darwin-arm64/package.json
- Lockfiles checked against OSV6 files resolved and checked against the OSV database; 2 not resolved: npm/cli/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked; npm/plugin/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies CRITICAL9 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.7.0
- 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 credentials1 of 14 capabilities read credentials; 6 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- 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 (13 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 (9 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
golang.org/x/cryptoGo v0.49.0 CRITICAL 30 advisories 0.52.00.55.00.56.0+1 more
- CRITICALGHSA-89gr-r52h-f8rx CVE-2026-39831 GO-2026-5019golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
- CRITICALGHSA-rm3j-f69w-wqmq CVE-2026-39834 GO-2026-5020golang.org/x/crypto vulnerable to infinite loop on large channel writes
- CRITICALGHSA-jppx-rxg9-jmrx CVE-2026-39833 GO-2026-5005golang.org/x/crypto doesn't enforce invoking key constraints
- CRITICALGHSA-f5wc-c3c7-36mc CVE-2026-39832 GO-2026-5006golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
- CRITICALGHSA-x527-x647-q7gg CVE-2026-46595 GO-2026-5023golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement
- CRITICALGHSA-5cgq-3rg8-m6cv CVE-2026-42508 GO-2026-5021golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status
- CRITICALGHSA-vgwf-h737-ff37 CVE-2026-39830 GO-2026-5017golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses
- HIGHGHSA-w879-237q-wc7r CVE-2026-39829 GO-2026-5018golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS
- HIGHGHSA-q4h4-gmj2-qvw2 CVE-2026-46597 GO-2026-5013golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic
- MEDIUMGO-2026-5013 CVE-2026-46597 GHSA-q4h4-gmj2-qvw2Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5006 CVE-2026-39832 GHSA-f5wc-c3c7-36mcInvoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-5033 CVE-2026-46598 GHSA-9m57-25v3-79x9Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-5018 CVE-2026-39829 GHSA-w879-237q-wc7rInvoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5005 CVE-2026-39833 GHSA-jppx-rxg9-jmrxInvoking key constraints not enforced in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-6303 CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
- MEDIUMGO-2026-6354 CVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5021 CVE-2026-42508 GHSA-5cgq-3rg8-m6cvInvoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts
- MEDIUMGO-2026-5015 CVE-2026-39835 GHSA-78mq-xcr3-xm33Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5016 CVE-2026-39827 GHSA-qpw4-5x99-6vjpInvoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5014 CVE-2026-39828 GHSA-45gg-vh54-h5m9Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5019 CVE-2026-39831 GHSA-89gr-r52h-f8rxInvoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5020 CVE-2026-39834 GHSA-rm3j-f69w-wqmqInvoking infinite loop on large channel writes in golang.org/x/crypto/ssh
- MEDIUMGHSA-45gg-vh54-h5m9 CVE-2026-39828 GO-2026-5014golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions
- MEDIUMGHSA-78mq-xcr3-xm33 CVE-2026-39835 GO-2026-5015golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow
- MEDIUMGO-2026-5017 CVE-2026-39830 GHSA-vgwf-h737-ff37Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5023 CVE-2026-46595 GHSA-x527-x647-q7ggInvoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh
- MEDIUMGHSA-qpw4-5x99-6vjp CVE-2026-39827 GO-2026-5016golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
- MEDIUMGO-2026-6355 CVE-2026-56855Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
- MEDIUMGHSA-9m57-25v3-79x9 CVE-2026-46598 GO-2026-5033golang.org/x/crypto: Invoking pathological inputs can lead to client panic
github.com/klauspost/compressGo v1.18.2 HIGH 3 advisories 1.18.71.20.2
- HIGHGHSA-259r-337f-4rfw CVE-2026-63209 GO-2026-5841Compress/s2: Integer Overflow or Wraparound and Out-of-bounds Write in compress
- MEDIUMGO-2026-5841 CVE-2026-63209 GHSA-259r-337f-4rfwOOB read in github.com/klauspost/compress/s2
- MEDIUMGO-2026-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
golang.org/x/netGo v0.52.0 MEDIUM 16 advisories 0.53.00.55.00.56.0+3 more
- MEDIUMGO-2026-5025 CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html
- MEDIUMGO-2026-5029 CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
- MEDIUMGO-2026-5030 CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
- MEDIUMGO-2026-5027 CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
- MEDIUMGO-2026-6610 BIT-golang-2026-78660 CVE-2026-78660HTTP/2 transport accepts malformed framing-related headers in net/http
- MEDIUMGO-2026-5026 CVE-2026-39821Invoking failure to reject ASCII-only Punycode-encoded labels in golang.org/x/net/idna
- MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
- MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
- MEDIUMGO-2026-5028 CVE-2026-25680 GHSA-5cv4-jp36-h3mwInvoking denial of service when parsing arbitrary HTML in golang.org/x/net/html
- MEDIUMGO-2026-6860 CVE-2026-78661Avoid quadratic complexity when coalescing text nodes in html in golang.org/x/net
- MEDIUMGO-2026-5942 BIT-golang-2026-46600 CVE-2026-46600Parsing an invalid SVCB or HTTPS RR can panic in golang.org/x/net/dns/dnsmessage
- MEDIUMGHSA-5cv4-jp36-h3mw CVE-2026-25680 GO-2026-5028Go Net HTML parser is vulnerable to denial of service
- MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers in net/http
- MEDIUMGO-2026-4918 BIT-golang-2026-33814 CVE-2026-33814Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net
- MEDIUMGO-2026-6617 BIT-golang-2026-97032 CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http
golang.org/x/modGo v0.34.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/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
golang.org/x/textGo v0.36.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
github.com/andybalholm/brotliGo v1.2.0 MEDIUM 1 advisory 1.2.7
- MEDIUMGO-2026-6888 BIT-brotli-2026-111497 BIT-dotnet-2026-111497 BIT-dotnet-sdk-2026-111497 BIT-node-2026-111497 BIT-node-min-2026-111497 BIT-powershell-2026-111497 CVE-2026-111497 GHSA-9v8h-qqgm-4m35 GHSA-c9gr-gmg4-2vqv PYSEC-2026-4322 PYSEC-2026-4323Excessive memory allocation when decompressing crafted streams in github.com/andybalholm/brotli
github.com/yuin/goldmarkGo v1.7.1 MEDIUM 1 advisory 1.7.17
- MEDIUMGO-2026-5320 CVE-2026-5160 GHSA-c97m-vxhj-p7j6Cross-site Scripting (XSS) in github.com/yuin/goldmark
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
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.7.0 |
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-14 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | io.github.daidaiJ/websearch-mcpserver |
|---|---|
| Listed in | 4 catalogs (github_search, glama, mcp_registry, mcp_toplist) |
| License | MIT |
| Created | 2026-03-20 |
| Topics | academic-search go mcp pdf-parser search-engine tavily web-fetch web-scraping websearch |
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.