blakerouse/ssh-mcp
SSH MCP server that runs locally making it easy to manage hosts and perform commands across a group of hosts
e57530e74cafPaths 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, Prompt Integrity, Secrets & Credentials 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
- 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
- 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
- CRITICAL8 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.
- Update its vulnerable packages
Use
github.com/buger/jsonparser1.1.2 or later,github.com/klauspost/compress1.20.2 or later,github.com/mark3labs/mcp-go1.5.1-0.20261109144041-2f5b9637ea84 or later,go.opentelemetry.io/otel1.47.0 or later and 4 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.
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 (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
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:
- 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: 1 handler in 1 file at commit e57530e74caf
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityNot checked: no tool description could be read from the code
- Dependency manifests1 manifest: go.mod
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL8 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/mark3labs/mcp-go v0.43.2
- 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 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 (8 in production)
golang.org/x/cryptoGo v0.47.0 CRITICAL 30 advisories 0.52.00.55.00.56.0+1 more
- CRITICALGHSA-5cgq-3rg8-m6cv CVE-2026-42508 GO-2026-5021golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status
- CRITICALGHSA-x527-x647-q7gg CVE-2026-46595 GO-2026-5023golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement
- CRITICALGHSA-vgwf-h737-ff37 CVE-2026-39830 GO-2026-5017golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses
- CRITICALGHSA-89gr-r52h-f8rx CVE-2026-39831 GO-2026-5019golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed
- CRITICALGHSA-f5wc-c3c7-36mc CVE-2026-39832 GO-2026-5006golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys
- CRITICALGHSA-jppx-rxg9-jmrx CVE-2026-39833 GO-2026-5005golang.org/x/crypto doesn't enforce invoking key constraints
- CRITICALGHSA-rm3j-f69w-wqmq CVE-2026-39834 GO-2026-5020golang.org/x/crypto vulnerable to infinite loop on large channel writes
- 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
- 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-5033 CVE-2026-46598 GHSA-9m57-25v3-79x9Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent
- MEDIUMGHSA-9m57-25v3-79x9 CVE-2026-46598 GO-2026-5033golang.org/x/crypto: Invoking pathological inputs can lead to client panic
- MEDIUMGO-2026-5932The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues
- 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-5023 CVE-2026-46595 GHSA-x527-x647-q7ggInvoking VerifiedPublicKeyCallback permissions skip enforcement 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
- 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-5017 CVE-2026-39830 GHSA-vgwf-h737-ff37Invoking client can cause server deadlock on unexpected responses 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-6355 CVE-2026-56855Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh
- 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-5006 CVE-2026-39832 GHSA-f5wc-c3c7-36mcInvoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent
- MEDIUMGO-2026-5013 CVE-2026-46597 GHSA-q4h4-gmj2-qvw2Invoking byte arithmetic causes underflow and panic 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-5014 CVE-2026-39828 GHSA-45gg-vh54-h5m9Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh
- MEDIUMGO-2026-5015 CVE-2026-39835 GHSA-78mq-xcr3-xm33Invoking server panic during CheckHostKey/Authenticate 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-5016 CVE-2026-39827 GHSA-qpw4-5x99-6vjpInvoking memory leak when rejecting channels can lead to DoS 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
- MEDIUMGO-2026-6303 CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh
github.com/klauspost/compressGo v1.18.1 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-6865 CVE-2026-116591 GHSA-fpmh-frq8-7rj8Panic on two-block frames in github.com/klauspost/compress
- MEDIUMGO-2026-5841 CVE-2026-63209 GHSA-259r-337f-4rfwOOB read in github.com/klauspost/compress/s2
go.opentelemetry.io/otelGo v1.38.0 HIGH 3 advisories 1.41.01.47.0
- HIGHGHSA-mh2q-q3fh-2475 CVE-2026-29181 GO-2026-5506OpenTelemetry-Go: multi-value `baggage` header extraction causes excessive allocations (remote dos amplification)
- MEDIUMGO-2026-6975 CVE-2026-128086 GHSA-rrfc-gjm9-cgrjMemory allocation amplification in W3C baggage parsing in go.opentelemetry.io/otel
- MEDIUMGO-2026-5506 CVE-2026-29181 GHSA-mh2q-q3fh-2475OpenTelemetry-Go: Multi-value baggage header extraction causes excessive allocations in go.opentelemetry.io/otel
github.com/buger/jsonparserGo v1.1.1 HIGH 2 advisories 1.1.2
- HIGHGHSA-6g7g-w4f8-9c9x CVE-2026-32285 GO-2026-4514github.com/buger/jsonparser has a denial of service vulnerability
- MEDIUMGO-2026-4514 CVE-2026-32285 GHSA-6g7g-w4f8-9c9xDenial of service in github.com/buger/jsonparser
golang.org/x/netGo v0.48.0 MEDIUM 16 advisories 0.53.00.55.00.56.0+3 more
- MEDIUMGO-2026-6612 BIT-golang-2026-78663 CVE-2026-78663Double flow control refund on HTTP/2 server streams in net/http
- 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
- MEDIUMGO-2026-6866 CVE-2026-97045Check all ancestor namespace transitions when rendering raw text in html in golang.org/x/net
- MEDIUMGO-2026-5027 CVE-2026-42502Invoking incorrect handling of HTML elements in foreign content in golang.org/x/net/html
- 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
- MEDIUMGHSA-5cv4-jp36-h3mw CVE-2026-25680 GO-2026-5028Go Net HTML parser is vulnerable to denial of service
- MEDIUMGO-2026-6611 BIT-golang-2026-78669 CVE-2026-78669Excessive CPU consumption from repeated initial window changes in net/http
- MEDIUMGO-2026-5030 CVE-2026-27136Invoking duplicate attributes can cause XSS in golang.org/x/net/html
- MEDIUMGO-2026-6617 BIT-golang-2026-97032 CVE-2026-97032HTTP/2 server crash due to HPACK encoder race in net/http
- MEDIUMGO-2026-5029 CVE-2026-25681Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html
- MEDIUMGO-2026-6603 BIT-golang-2026-78659 CVE-2026-78659HTTP/2 server memory exhaustion due to Trailer headers 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-5025 CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content 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-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
go.opentelemetry.io/otel/traceGo v1.38.0 MEDIUM 2 advisories 1.47.0
- MEDIUMGO-2026-6974 CVE-2026-128085 GHSA-q7gw-24fr-5p69AttributeValueLengthLimit bypass via U+FFFD runes in go.opentelemetry.io/otel/sdk
- MEDIUMGHSA-q7gw-24fr-5p69 CVE-2026-128085 GO-2026-6974opentelemetry-go: AttributeValueLengthLimit is fully bypassed by attribute values composed of valid U+FFFD runes
github.com/mark3labs/mcp-goGo v0.43.2 MEDIUM 1 advisory 2026-11-09
- MEDIUMGO-2026-6911SSRF and credential leak via unvalidated redirects and SSE endpoint origin in github.com/mark3labs/mcp-go
golang.org/x/sysGo v0.40.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 | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | github.com/mark3labs/mcp-go v0.43.2 |
| Servers in the code | 1 (SSH) |
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-05-11 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 2 catalogs (awesome_punkpeye, github_search) |
|---|---|
| License | MIT |
| Created | 2025-11-01 |
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.