Episkey-G/GrokSearch-rs
Rust MCP server for Grok web search and Tavily-backed source retrieval
3245542cd563grok-search-rs0.1.26 in Cargo.tomlPaths 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
Prompt Integrity, Secrets & Credentials and Behavior Transparency are not analysed and have 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.
- Prompt Integrity and Secrets & Credentials: no tool description could be read from the code
- Behavior Transparency: no tool description could be read to compare with the code
- In 83 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
- 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
Top risks in plain words
- HIGHTool with a name computed at run time requests any address by design: an agent steered by prompt injection can use it that way.
- HIGH10 production dependencies have known vulnerabilities (worst: high).
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.
- Limit where it can connect
src/mcp.rs:190can request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
src/mcp.rs:190, switch them off. - Update its vulnerable packages
Use
anyhow1.0.103 or later,quick-xml0.41.0 or later,quinn-proto0.11.19 or later,quinn-udp0.5.16 or later and 6 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 3 tools. 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.
(name computed at run time)(name computed at run time)No 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.
Requests whose address comes from the tool's input: the agent decides where they go.
(name computed at run time)1 call
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.
- files1 tool · (name computed at run time)
- web or API responses1 tool · (name computed at run time)
All three are present: text from outside could make the agent send private data away. Keep confirmations on for tools that send data.
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 (3: 3 tools)
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)tool
No description.
(name computed at run time)tool
No description.
(name computed at run time)tool FilesNetworkoutside text
No description.
Text the model reads (3)
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
(name computed at run time) tool
(name computed at run time) tool
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 — 3 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 — 3 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 — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any address1 finding the scanner could not decide; see the findings below
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 3 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 3 capabilities; 3 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 3 capabilities touch files; 2 more call code the scanner could not follow, where it may happen
- Tools that call the network1 of 3 capabilities call the network; 2 more call code the scanner could not follow, where it may happen
Where the code is: 3 handlers in 2 files at commit 3245542cd563
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests7 manifests: Cargo.toml, npm/grok-search-rs/package.json, npm/platforms/darwin-universal/package.json, npm/platforms/linux-arm64/package.json, npm/platforms/linux-x64/package.json
- Lockfiles checked against OSV6 files resolved and checked against the OSV database; 1 not resolved: npm/grok-search-rs/package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies HIGH10 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 3 capabilities; 3 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 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 (3 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 (10 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
quinn-protocrates.io 0.11.14 HIGH 8 advisories 0.11.150.11.170.11.18+1 more
- HIGHGHSA-4w2j-m93h-cj5j CVE-2026-25800 RUSTSEC-2026-0185Quinn: Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
- MEDIUMRUSTSEC-2026-0185 CVE-2026-25800 GHSA-4w2j-m93h-cj5j Remote memory exhaustion in quinn-proto from unbounded out-of-order stream reassembly
- MEDIUMRUSTSEC-2026-0342 GHSA-2hv7-gw8g-gpq5Zero-length DATAGRAM frames bypass the receive buffer limit in quinn-proto
- MEDIUMRUSTSEC-2026-0524 GHSA-wppq-2f6r-wfvmLong Retry token can panic or exhaust memory in a QUIC client
- MEDIUMRUSTSEC-2026-0340 GHSA-3g6h-r5qx-f6hqPeer minimum ACK delay can panic quinn-proto when ACK_FREQUENCY transmission is enabled
- MEDIUMRUSTSEC-2026-0338 GHSA-465w-v9q3-7j98Remote peer can panic quinn-proto with zero-length STREAM frames during unordered reads
- MEDIUMRUSTSEC-2026-0523 GHSA-53rm-773f-4q8cMAX_STREAM_DATA frame can open streams beyond the stream limit
- MEDIUMRUSTSEC-2026-0339 GHSA-hmxj-32vh-65vrUnbounded growth of pending connection ID retirements in quinn-proto
rustlscrates.io 0.23.40 MEDIUM 8 advisories 0.23.450.23.460.24.0-dev.2
- MEDIUMGHSA-c8m5-c952-6cm4 CVE-2026-123609 RUSTSEC-2026-0346Rustls: Session Debug formatting exposes TLS master secrets and resumption PSKs
- MEDIUMRUSTSEC-2026-0349 CVE-2026-123611 GHSA-w44r-93j7-qv28Unauthenticated ServerHello can downgrade later connections to classical key exchange
- MEDIUMRUSTSEC-2026-0348 CVE-2026-123610 GHSA-h2v8-394m-p7vvBrotli certificate decompression can allocate up to 1 GiB before authentication
- MEDIUMRUSTSEC-2026-0285 CVE-2026-123613 GHSA-2mjx-qc3c-rqvcTLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- MEDIUMRUSTSEC-2026-0346 CVE-2026-123609 GHSA-c8m5-c952-6cm4`Debug` impls for client session values expose TLS secrets
- MEDIUMGHSA-2mjx-qc3c-rqvc CVE-2026-123613 RUSTSEC-2026-0285Rustls: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries
- LOWGHSA-w44r-93j7-qv28 CVE-2026-123611 RUSTSEC-2026-0349rustls: An unauthenticated ServerHello poisons the per-name key-exchange record, so later ClientHellos carry only a classical X25519 share
- LOWGHSA-h2v8-394m-p7vv CVE-2026-123610 RUSTSEC-2026-0348Rustls: Brotli certificate decompression can allocate an attacker-controlled amount of memory up to 1 GiB before authentication.
quick-xmlcrates.io 0.37.5 MEDIUM 2 advisories 0.41.0
- MEDIUMRUSTSEC-2026-0194Quadratic run time when checking a start tag for duplicate attribute names
- MEDIUMRUSTSEC-2026-0195Unbounded namespace-declaration allocation in `NsReader` enables memory-exhaustion denial of service
anyhowcrates.io 1.0.102 MEDIUM 1 advisory 1.0.103
- MEDIUMRUSTSEC-2026-0190Unsoundness in `Error::downcast_mut()`
quinn-udpcrates.io 0.5.14 MEDIUM 1 advisory 0.5.160.6.3
- MEDIUMRUSTSEC-2026-0538 GHSA-6pp4-4cxf-xf88Receive loop can spin after a truncated datagram
rustixcrates.io 1.1.4 MEDIUM 1 advisory 1.1.6
- MEDIUMRUSTSEC-2026-0486 GHSA-jh2m-fhpj-3vr7xattr functions mark unwritten bytes as initialized when given a zero-length buffer
rustls-webpkicrates.io 0.103.13 MEDIUM 1 advisory 0.103.160.104.0-alpha.8
- MEDIUMRUSTSEC-2026-0382 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0381 RUSTSEC-2026-0383Certificate verification may accept distrusted intermediates
tokiocrates.io 1.52.3 MEDIUM 1 advisory 1.51.61.53.3
- MEDIUMRUSTSEC-2026-0386`AsyncFd::new` and related constructors violate I/O safety
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
- MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
webpki-rootscrates.io 1.0.7 MEDIUM 1 advisory 0.26.111.0.10
- MEDIUMRUSTSEC-2026-0381 BIT-golang-2026-111943 CVE-2026-111943 GO-2026-6809 RUSTSEC-2026-0382 RUSTSEC-2026-0383Bundled root certificates allow trust in distrusted emSign intermediates
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 |
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-09-09 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-05-14 |
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.