MCP ScannerCustom audit
All servers

observerw/pty-mcp

MCP server for managing local PTY sessions and SSH-backed remote workflows that you really want.

Packagepty-mcp
Version0.3.0 in Cargo.toml
Publisherobserverw community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 15Forks 2Last push 2026-04-10
Rust 100.0%by source files the scanner reads
Code safetypartly tracedExposure6.1Prompts10.0Supply chain5.5Secrets10.0Transparency10.0
Analysis confidence93%
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 Exposure6.1/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain5.5/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

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.

  • In 2 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

  • HIGH4 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.

  • 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 anyhow 1.0.103 or later, rmcp 3.9.0 or later, tokio 1.51.6 or later.

  • 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 20 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.

Start other programs on the machinecan run commands or launch programs
ssh_connect, ssh_list_dir, ssh_mkdir, ssh_read_file, ssh_run, ssh_tunnel_open and 1 more
7 of 20
Read or write filesopen, create, change or delete files
pty_kill, pty_spawn, ssh_connect, ssh_exec, ssh_list_dir, ssh_mkdir and 6 more
12 of 20
Connect to the internet or other hostssend requests or open connections
ssh_connect, ssh_list_dir, ssh_mkdir, ssh_read_file, ssh_run, ssh_write_file
6 of 20
Read environment variablesoften where API keys are kept
ssh_connect, ssh_exec, ssh_list_dir, ssh_mkdir, ssh_read_file, ssh_run and 3 more
9 of 20

No tool was seen to: 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.

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.

  • files12 tools · pty_kill, pty_spawn, ssh_connect +9
Reads private data12 tools
Takes text from outside0 tools
Can send data out0 tools

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 (20: 20 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

pty_killtool Stop a PTY session and optionally clean up its metadata and buffered output.Filesoutside text
Stop a PTY session and optionally clean up its metadata and buffered output.
pty_listtool List known PTY sessions without returning large log payloads.
List known PTY sessions without returning large log payloads.
pty_readtool Read PTY output with pagination, optional filtering, and view selection.
Read PTY output with pagination, optional filtering, and view selection.
pty_spawntool Create a new PTY session without waiting for the process to finish.Filesoutside text
Create a new PTY session without waiting for the process to finish.
pty_waittool Wait for a PTY session to exit without requiring host task support.
Wait for a PTY session to exit without requiring host task support.
pty_writetool Send input into a running PTY session.
Send input into a running PTY session.
ssh_connecttool Create or reuse an SSH connection handle.ProcessesFilesNetworkEnv varsoutside text
Create or reuse an SSH connection handle.
ssh_disconnecttool Disconnect an SSH connection and optionally clean up related sessions and mounts.
Disconnect an SSH connection and optionally clean up related sessions and mounts.
ssh_exectool Run a shell script on an existing SSH connection and keep the result attached to a PTY-backed session.FilesEnv varsoutside text
Run a shell script on an existing SSH connection and keep the result attached to a PTY-backed session.
ssh_listtool List SSH connection and mount summaries.
List SSH connection and mount summaries.
ssh_list_dirtool List one remote directory level over an existing SSH connection.ProcessesFilesNetworkEnv varsoutside text
List one remote directory level over an existing SSH connection.
ssh_mkdirtool Create a remote directory over an existing SSH connection.ProcessesFilesNetworkEnv varsoutside text
Create a remote directory over an existing SSH connection.
ssh_mounttool Mount a remote SSH path into a local directory via sshfs.
Mount a remote SSH path into a local directory via sshfs.
ssh_read_filetool Read a UTF-8 text file over an existing SSH connection.ProcessesFilesNetworkEnv varsoutside text
Read a UTF-8 text file over an existing SSH connection.
ssh_runtool Run a one-shot shell script on an existing SSH connection and return stdout, stderr, and exit status directly.ProcessesFilesNetworkEnv varsoutside text
Run a one-shot shell script on an existing SSH connection and return stdout, stderr, and exit status directly.
ssh_session_spawntool Spawn a remote SSH-backed PTY session that reuses an existing SSH connection.FilesEnv varsoutside text
Spawn a remote SSH-backed PTY session that reuses an existing SSH connection.
ssh_tunnel_closetool Close a persistent SSH tunnel.Filesoutside text
Close a persistent SSH tunnel.
ssh_tunnel_opentool Open or reuse a persistent local SSH tunnel over an existing SSH connection.ProcessesFilesEnv varsoutside text
Open or reuse a persistent local SSH tunnel over an existing SSH connection.
ssh_unmounttool Unmount an sshfs-backed SSH mount.
Unmount an sshfs-backed SSH mount.
ssh_write_filetool Write a UTF-8 text file over an existing SSH connection.ProcessesFilesNetworkEnv varsoutside text
Write a UTF-8 text file over an existing SSH connection.

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.

pty_spawn tool
Create a new PTY session without waiting for the process to finish.
pty_write tool
Send input into a running PTY session.
pty_read tool
Read PTY output with pagination, optional filtering, and view selection.
pty_list tool
List known PTY sessions without returning large log payloads.
ssh_connect tool
Create or reuse an SSH connection handle.
ssh_list tool
List SSH connection and mount summaries.
ssh_tunnel_open tool
Open or reuse a persistent local SSH tunnel over an existing SSH connection.
ssh_session_spawn tool
Spawn a remote SSH-backed PTY session that reuses an existing SSH connection.
ssh_exec tool
Run a shell script on an existing SSH connection and keep the result attached to a PTY-backed session.
ssh_run tool
Run a one-shot shell script on an existing SSH connection and return stdout, stderr, and exit status directly.
ssh_mount tool
Mount a remote SSH path into a local directory via sshfs.
ssh_unmount tool
Unmount an sshfs-backed SSH mount.
ssh_tunnel_close tool
Close a persistent SSH tunnel.
ssh_disconnect tool
Disconnect an SSH connection and optionally clean up related sessions and mounts.
ssh_read_file tool
Read a UTF-8 text file over an existing SSH connection.
ssh_write_file tool
Write a UTF-8 text file over an existing SSH connection.
ssh_list_dir tool
List one remote directory level over an existing SSH connection.
ssh_mkdir tool
Create a remote directory over an existing SSH connection.
pty_kill tool
Stop a PTY session and optionally clean up its metadata and buffered output.
pty_wait tool
Wait for a PTY session to exit without requiring host task support.

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 Exposure6.1
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 20 tool handlers 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 — 20 tool handlers 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 — 20 tool handlers 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 — 20 tool handlers 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 — 20 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    7 of 20 capabilities start processes; 13 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    12 of 20 capabilities touch files; 8 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    6 of 20 capabilities call the network; 14 more call code the scanner could not follow, where it may happen
Where the code is: 20 handlers in 1 file at commit 75bf28e9ce11
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain5.5
  • Dependency manifests
    1 manifest: Cargo.toml
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies HIGH
    4 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
    rmcp 1.2.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 20 capabilities; 20 more call code the scanner could not follow, where it may happen
  • Environment variables
    9 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • 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 (4 in production)

PackageInstalledWorstAdvisoriesFixed in
rmcpcrates.io 1.3.0 HIGH 7 advisories 1.4.02.0.02.1.0+1 more
  • HIGHGHSA-89vp-x53w-74fx CVE-2026-42559 GHSA-fvh2-gm75-j4j7 RUSTSEC-2026-0140 RUSTSEC-2026-0189rmcp Streamable HTTP server transport has a DNS rebinding vulnerability
  • HIGHGHSA-33f5-2c5q-wgwj CVE-2026-63127RMCP: Missing Resource Field Validation in OAuth Protected Resource Metadata Discovery
  • HIGHGHSA-9pj6-vhgr-3mwh CVE-2026-63128RMCP: Unauthenticated permanent session-table leak in rmcp Streamable HTTP server transport leads to remote denial-of-service
  • MEDIUMRUSTSEC-2026-0189 CVE-2026-42559 GHSA-89vp-x53w-74fx GHSA-fvh2-gm75-j4j7 RUSTSEC-2026-0140DNS rebinding vulnerability in rmcp Streamable HTTP server transport
  • MEDIUMRUSTSEC-2026-0462 GHSA-c9f9-cp8h-jcj5Unbounded response body buffering in Streamable HTTP clients
  • MEDIUMGHSA-9g45-5xwm-f3wc CVE-2026-64684RMCP: Custom HTTP headers leak to cross-origin redirect targets
  • MEDIUMGHSA-c9xm-49cp-xcr9rmcp OAuth client fetches server-controlled resource_metadata URLs
anyhowcrates.io 1.0.102 MEDIUM 1 advisory 1.0.103
chronocrates.io 0.4.44 MEDIUM 1 advisory no fix yet
tokiocrates.io 1.50.0 MEDIUM 1 advisory 1.51.61.53.3

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
MCP SDKrmcp 1.2.0

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-04-10
Signed releasesnot checked yet

Where it is published

Listed in1 catalog (github_search)
Licensenot stated
Created2026-03-26

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.