MCP ScannerCustom audit
All servers

zeenix/rust-analyzer-mcp

A Model Context Protocol (MCP) server that provides integration with rust-analyzer

Packagerust-analyzer-mcp
Version0.4.0 in Cargo.toml
Publisherzeenix community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 88Forks 24Last push 2026-10-30
Rust 100.0%by source files the scanner reads
Code safetypartly tracedExposure9.8Promptsnot analysedSupply chain4.6Secretsnot analysedTransparencynot analysed
Analysis confidence87%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.8/10Good

How much power the tools give an agent over the machine

Prompt Integritynot analysed—

Hidden instructions and poisoning in text for the model

Supply Chain4.6/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnot analysed—

How the server reads credentials and where they can go

Behavior Transparencynot analysed—

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 19 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 place in the code registers tools whose names are computed at run time; how many tools that makes cannot be read from the code

Top risks in plain words

  • MEDIUM11 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 anyhow 1.0.103 or later, bytes 1.11.1 or later, crossbeam-epoch 0.9.20 or later, h2 0.4.16 or later and 5 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 1 tool. 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.

Read or write filesopen, create, change or delete files
(name computed at run time)
1 of 1

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; 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.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

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.

  • files1 tool · (name computed at run time)

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 (1: 1 tool)

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 Filesoutside text
No description.

Text the model reads (1)

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

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.8
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 1 tool handler traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 1 capability; 1 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    1 of 1 capability touch files
  • Tools that call the network
    Not seen in the traced code of 1 capability; 1 more call code the scanner could not follow, where it may happen
Where the code is: 1 handler in 1 file at commit 6b0e839d0601
Prompt Integritynot analysed
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Not checked: no tool description could be read from the code
Supply Chain4.6
  • Dependency manifests
    4 manifests: Cargo.toml, test-project/Cargo.toml, test-project-diagnostics/Cargo.toml, test-support/Cargo.toml
  • Lockfiles checked against OSV
    3 files resolved and checked against the OSV database; 1 not resolved: test-support/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • Known vulnerabilities in production dependencies MEDIUM
    11 production packages with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    No MCP SDK declared in a manifest
Secrets & Credentialsnot analysed
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Not checked: no tool description could be read from the code
  • Tools that read credentials
    Not seen in the traced code of 1 capability; 1 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparencynot analysed
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Not checked: no tool description could be read to compare with the code
  • Tool descriptions present
    Every tool has a description the model and the user can read (1 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (11 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
bytescrates.io 1.10.1 MEDIUM 2 advisories 1.11.1
  • MEDIUMGHSA-434x-w66g-qw3r CVE-2026-25541 RUSTSEC-2026-0007bytes has integer overflow in BytesMut::reserve
  • MEDIUMRUSTSEC-2026-0007 CVE-2026-25541 GHSA-434x-w66g-qw3rInteger overflow in `BytesMut::reserve`
randcrates.io 0.9.2 MEDIUM 2 advisories 0.8.60.9.30.10.1
  • MEDIUMRUSTSEC-2026-0097 GHSA-cq8v-f236-94qcRand is unsound with a custom logger using `rand::rng()`
  • LOWGHSA-cq8v-f236-94qc RUSTSEC-2026-0097Rand is unsound with a custom logger using rand::rng()
tracing-subscribercrates.io 0.3.19 MEDIUM 2 advisories 0.3.20
  • MEDIUMRUSTSEC-2025-0055 CVE-2025-58160 GHSA-xwfj-jgwm-7wp5Logging user input may result in poisoning logs with ANSI escape sequences
  • LOWGHSA-xwfj-jgwm-7wp5 CVE-2025-58160 RUSTSEC-2025-0055 Tracing logging user input may result in poisoning logs with ANSI escape sequences
anyhowcrates.io 1.0.99 MEDIUM 1 advisory 1.0.103
crossbeam-epochcrates.io 0.9.18 MEDIUM 1 advisory 0.9.20
  • MEDIUMRUSTSEC-2026-0204Invalid pointer dereference in `fmt::Pointer` impl for `Atomic` and `Shared` when the underlying pointer is invalid
h2crates.io 0.4.12 MEDIUM 1 advisory 0.4.16
humantimecrates.io 2.2.0 MEDIUM 1 advisory no fix yet
pin-utilscrates.io 0.1.0 MEDIUM 1 advisory no fix yet
rustixcrates.io 1.0.8 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
tokiocrates.io 1.47.1 MEDIUM 1 advisory 1.51.61.53.3
urlcrates.io 2.5.7 MEDIUM 1 advisory 2.5.9
  • MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs

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 runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-10-30
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
LicenseMIT
Created2025-08-24

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.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.