MCP ScannerCustom audit
All servers

ZephyrDeng/pprof-analyzer-mcp

This is a Model Context Protocol (MCP) server implemented in Go, providing a tool to analyze Go pprof performance profiles.

PublisherZephyrDeng community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 50Forks 7Last push 2026-10-20
Go 100.0%by source files the scanner reads
Code safety10.0Exposure3.9Prompts10.0Supply chain6.4Secrets10.0Transparency10.0
Analysis confidence100%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynothing published yet10.0/10

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

Capability Exposure3.9/10Poor

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 Chain6.4/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

Top risks in plain words

  • HIGHTools analyze_heap_time_series, analyze_pprof, compare_profiles, detect_memory_leaks and 1 more read or write any file path by design: an agent steered by prompt injection can use them that way.
  • HIGHTool generate_flamegraph requests any address by design: an agent steered by prompt injection can use it that way.
  • HIGH1 production dependency has 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 only the folder it needs

    analyze_heap_time_series, analyze_pprof, compare_profiles, detect_memory_leaks and 1 more can read or write any file path. Mount a single project folder, read-only where you can.

  • Limit where it can connect

    generate_flamegraph can 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 analyze_heap_time_series, analyze_pprof, compare_profiles and 2 more, switch them off.

  • Update its vulnerable packages

    Use github.com/modelcontextprotocol/go-sdk 1.4.1 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 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.

Start other programs on the machinecan run commands or launch programs
generate_flamegraph, open_interactive_pprof
2 of 7
Read or write filesopen, create, change or delete files
analyze_heap_time_series, analyze_pprof, compare_profiles, detect_memory_leaks, generate_flamegraph
5 of 7
Connect to the internet or other hostssend requests or open connections
analyze_heap_time_series, analyze_pprof, compare_profiles, detect_memory_leaks, generate_flamegraph, open_interactive_pprof
6 of 7

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

1 request address could not be settled from the code (built at run time).

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.

  • files5 tools · analyze_heap_time_series, analyze_pprof, compare_profiles +2
  • web or API responses6 tools · analyze_heap_time_series, analyze_pprof, compare_profiles +3

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.

generate_flamegraphtool 使用 'go tool pprof' 为指定的 pprof 文件生成火焰图 (SVG 格式),将其保存到指定路径,并返回路径和 SVG 内容。ProcessesFilesNetworkoutside textReads/writes filesRequests any address
使用 'go tool pprof' 为指定的 pprof 文件生成火焰图 (SVG 格式),将其保存到指定路径,并返回路径和 SVG 内容。
analyze_heap_time_seriestool 分析多个 heap profile 的时序数据(至少 3 个),识别内存增长趋势和潜在的内存泄漏。FilesNetworkoutside textReads/writes files
分析多个 heap profile 的时序数据(至少 3 个),识别内存增长趋势和潜在的内存泄漏。
analyze_pproftool 分析指定的 Go pprof 文件,并返回序列化的分析结果 (例如 Top N 列表或火焰图 JSON)。FilesNetworkoutside textReads/writes files
分析指定的 Go pprof 文件,并返回序列化的分析结果 (例如 Top N 列表或火焰图 JSON)。
compare_profilestool 比较两个 profile 文件(如同一服务的不同版本),生成差异分析报告,识别性能回归或改进。FilesNetworkoutside textReads/writes files
比较两个 profile 文件(如同一服务的不同版本),生成差异分析报告,识别性能回归或改进。
detect_memory_leakstool 比较两个 heap profile 文件以识别潜在的内存泄漏。FilesNetworkoutside textReads/writes files
比较两个 heap profile 文件以识别潜在的内存泄漏。
disconnect_pprof_sessiontool 尝试终止由 'open_interactive_pprof' 启动的指定后台 pprof 进程。
尝试终止由 'open_interactive_pprof' 启动的指定后台 pprof 进程。
open_interactive_pproftool 【仅限 macOS】尝试在后台启动 'go tool pprof' 交互式 Web UI。成功启动后会返回进程 PID,用于后续手动断开连接。ProcessesNetworkoutside text
【仅限 macOS】尝试在后台启动 'go tool pprof' 交互式 Web UI。成功启动后会返回进程 PID,用于后续手动断开连接。

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.

analyze_pprof tool
分析指定的 Go pprof 文件,并返回序列化的分析结果 (例如 Top N 列表或火焰图 JSON)。
generate_flamegraph tool
使用 'go tool pprof' 为指定的 pprof 文件生成火焰图 (SVG 格式),将其保存到指定路径,并返回路径和 SVG 内容。
detect_memory_leaks tool
比较两个 heap profile 文件以识别潜在的内存泄漏。
open_interactive_pprof tool
【仅限 macOS】尝试在后台启动 'go tool pprof' 交互式 Web UI。成功启动后会返回进程 PID,用于后续手动断开连接。
disconnect_pprof_session tool
尝试终止由 'open_interactive_pprof' 启动的指定后台 pprof 进程。
compare_profiles tool
比较两个 profile 文件(如同一服务的不同版本),生成差异分析报告,识别性能回归或改进。
analyze_heap_time_series tool
分析多个 heap profile 的时序数据(至少 3 个),识别内存增长趋势和潜在的内存泄漏。

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 Safety10.0
  • 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 Exposure3.9
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 7 tool handlers traced
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 7 tool handlers traced
  • Reads or writes any file path HIGH
    1 finding in generate_flamegraph; 6 more to review
  • Requests any address
    1 finding the scanner could not decide; see the findings below
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 7 tool handlers traced
  • Tools that start processes
    2 of 7 capabilities start processes; 5 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    5 of 7 capabilities touch files; 2 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    6 of 7 capabilities call the network; 1 more call code the scanner could not follow, where it may happen
Where the code is: 7 handlers in 1 file at commit 18ba0a71ded8
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 Chain6.4
  • Dependency manifests
    1 manifest: go.mod
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies HIGH
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    No package used only for development, tests or examples has a known advisory
  • MCP SDK version
    github.com/modelcontextprotocol/go-sdk v1.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 7 capabilities; 7 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 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 (1 in production)

PackageInstalledWorstAdvisoriesFixed in
github.com/modelcontextprotocol/go-sdkGo v1.2.0 HIGH 8 advisories 1.3.11.4.01.4.1
  • HIGHGHSA-q382-vc8q-7jhj GO-2026-4770Improper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk
  • HIGHGHSA-89xv-2j6f-qhc8 CVE-2026-33252 GO-2026-4773Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk
  • HIGHGHSA-xw59-hvm2-8pj6 CVE-2026-34742 GO-2026-5771DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost
  • HIGHGHSA-wvj2-96wp-fq3f CVE-2026-27896 GO-2026-4569MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity
  • MEDIUMGO-2026-4773 CVE-2026-33252 GHSA-89xv-2j6f-qhc8Cross-Site Tool Execution for HTTP Servers without Authorizatrion in github.com/modelcontextprotocol/go-sdk
  • MEDIUMGO-2026-4770 GHSA-q382-vc8q-7jhjImproper handling of null Unicode character when parsing JSON in github.com/modelcontextprotocol/go-sdk
  • MEDIUMGO-2026-4569 CVE-2026-27896 GHSA-wvj2-96wp-fq3fMCP Go SDK Vulnerable to Improper Handling of Case Sensitivity in github.com/modelcontextprotocol/go-sdk
  • MEDIUMGO-2026-5771 CVE-2026-34742 GHSA-xw59-hvm2-8pj6DNS Rebinding Protection Disabled by Default in Model Context Protocol Go SDK for Servers Running on Localhost in github.com/modelcontextprotocol/go-sdk

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 SDKgithub.com/modelcontextprotocol/go-sdk v1.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-10-20
Signed releasesnot checked yet

Where it is published

Listed in5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMIT
Created2025-04-13

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.