ermoluk/mcp-warden
Local-first credential broker for MCP. AI coding agents (Claude Code, Cursor, Codex…) call APIs, SSH and databases through scoped presets; secrets stay in your OS keychain and never enter the agent's context.
888baaa62f28mcp-warden0.6.1 in Cargo.tomlio.github.ermoluk/mcp-wardenPaths 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 9 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
Top risks in plain words
- MEDIUM13 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.
- 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
lru0.18.2 or later,pageant0.2.3 or later,quinn-udp0.5.16 or later,rsa0.10.0 or later and 2 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 7 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.
ssh_runssh_runNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; 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.
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 · ssh_run
Not all three are present in the tools the scanner traced.
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 (7: 7 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
db_querytool
No description.
get_secret_for_envtool
No description.
list_presetstool
No description.
proxy_httptool
No description.
sftp_transfertool
No description.
ssh_exectool
No description.
ssh_runtool FilesEnv varsoutside text
No description.
Text the model reads (7)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_presets tool
proxy_http tool
get_secret_for_env tool
ssh_exec tool
ssh_run tool
sftp_transfer tool
db_query 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 — 7 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 — 7 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 — 7 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 — 7 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 — 7 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 7 capabilities; 7 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 7 capabilities touch files; 6 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 7 capabilities; 7 more call code the scanner could not follow, where it may happen
Where the code is: 7 handlers in 1 file at commit 888baaa62f28
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests3 manifests: Cargo.toml, core/Cargo.toml, fuzz/Cargo.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 2 not resolved: core/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked; fuzz/Cargo.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependencies MEDIUM13 production packages with known advisories
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK versionrmcp 3.9
- 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 7 capabilities; 7 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 (7 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 (13 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
pageantcrates.io 0.2.0 MEDIUM 2 advisories 0.2.30.2.5
- MEDIUMGHSA-g4mp-vgx3-xrvm CVE-2026-102820pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)
- LOWGHSA-662x-8wvj-2276 CVE-2026-116775pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)
block-buffercrates.io 0.12.0 MEDIUM 1 advisory no fix yet
- MEDIUMGHSA-qwgh-2vcv-g2f7block_buffer: panic corrupts inline buffer position
chronocrates.io 0.4.44 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
lrucrates.io 0.16.4 MEDIUM 1 advisory 0.18.2
- MEDIUMRUSTSEC-2026-0253Potential use-after-free due to lack of panic safety in `LruCache::pop()`
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
rsacrates.io 0.10.0-rc.18 MEDIUM 1 advisory 0.10.0
- MEDIUMRUSTSEC-2023-0071 CVE-2023-49092 GHSA-4grx-2x9w-596c GHSA-c38w-74pg-36hrMarvin Attack: potential key recovery through timing sidechannels
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-pemfilecrates.io 2.2.0 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2025-0134rustls-pemfile is unmaintained
unsafe-libyamlcrates.io 0.2.11 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2024-0449unsafe-libyaml is unmaintained
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
zbus_namescrates.io 4.3.2 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0371`zbus_names` is unmaintained
zvariantcrates.io 5.11.0 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0370`zvariant` is unmaintained
zvariant_derivecrates.io 5.11.0 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0372`zvariant_derive` is unmaintained
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
russhcrates.io 0.65.0 LOW 2 advisories 0.65.1
- LOWGHSA-9264-jvgf-6w2f CVE-2026-128087russh kex_done: Shared-secret callback runs before server host-key verification
- LOWGHSA-736f-c93q-9fwx CVE-2026-128088russh try_sign: asynchronous confirmation can sign after agent lock
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 | rmcp 3.9 |
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-10 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| MCP Registry | io.github.ermoluk/mcp-warden |
| Listed in | 5 catalogs (github_search, glama, mcp_registry, mcp_toplist, npm) |
| License | Apache-2.0 |
| Created | 2026-10-25 |
| Topics | ai-agents claude claude-skills credentials cursor keychain mcp model-context-protocol rust secrets-management |
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.