trpc-group/trpc-mcp-go
Go implementation of the Model Context Protocol (MCP) with comprehensive Streamable HTTP, STDIO, and SSE support.
c5391ab6e069Paths 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 is not analysed and has 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 and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- Prompt Integrity: no tool description could be read from the code
- In 11 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
- 83 of 144 tools, prompts and resources could not be followed through the code
- 2 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 133 tools, prompts and resources registered only in the repository's tests and examples are not counted on this page
Top risks in plain words
- CRITICAL1 production dependency has 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/getkin/kin-openapi0.149.0 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 4 tools, 4 prompts, 3 resources. 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.
None of the tools reaches any of these in the code the scanner could trace.
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 (11: 4 tools, 4 prompts, 3 resources)
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)prompt
No description.
handlerprompt
No description.
handlerprompt
No description.
handlerprompt
No description.
handlerresource
No description.
handlerresource
No description.
handlerresource
No description.
(name computed at run time)tool
No description.
handlertool
No description.
handlertool
No description.
handlertool
No description.
Text the model reads (27)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
(name computed at run time) tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler tool
handler prompt
handler prompt
(name computed at run time) prompt
handler prompt
handler resource
handler resource
handler resource
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 — 11 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 — 11 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 — 11 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 — 11 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 — 11 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 11 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 11 capabilities; 2 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 11 capabilities; 2 more call code the scanner could not follow, where it may happen
Where the code is: 11 handlers in 4 files at commit c5391ab6e069
- 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 CRITICAL1 production package with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionNo MCP SDK declared in a manifest
- 2 checks: undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Credential harvestingNot checked: no tool description could be read from the code
- Tools that read credentialsNot seen in the traced code of 11 capabilities; 2 more call code the scanner could not follow, where it may happen
- 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 executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (59 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 (1 in production)
github.com/getkin/kin-openapiGo v0.124.0 CRITICAL 20 advisories 0.131.00.141.00.142.0+5 more
- CRITICALGHSA-r277-6w6q-xmqw CVE-2026-73501 GO-2026-6095kin-openapi: ValidationHandler.Load() Fail-Open Authentication Bypass via NoopAuthenticationFunc Default
- HIGHGHSA-74vm-87hj-r66f CVE-2026-100349 GO-2026-6804kin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content
- HIGHGHSA-rj39-cv6w-8wv7 CVE-2026-100352 GO-2026-6795kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path
- HIGHGHSA-mmfr-pmjx-hw9w CVE-2026-76905 GO-2026-6274kin-openapi openai3filter: nil-pointer panic in ConvertErrors on malformed multipart/form-data body enables unauthenticated DoS
- HIGHGHSA-g8cf-rcjf-c8cf CVE-2026-100354 GO-2026-6785kin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash
- HIGHGHSA-xhj3-7xw9-vr34 CVE-2026-77354 GO-2026-6275kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding
- HIGHGHSA-wq9g-9vfc-cfq9 CVE-2025-30153 GO-2025-3533Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
- MEDIUMGO-2025-3533 CVE-2025-30153 GHSA-wq9g-9vfc-cfq9Improper Handling of Highly Compressed Data (Data Amplification) in github.com/getkin/kin-openapi/openapi3filter
- MEDIUMGO-2026-6804 CVE-2026-100349 GHSA-74vm-87hj-r66fkin-openapi openapi3filter: nil-pointer panic in ValidateResponse on a response header declared with content in github.com/getkin/kin-openapi
- MEDIUMGO-2026-6095 CVE-2026-73501 GHSA-r277-6w6q-xmqwAuthentication bypass via default NoopAuthenticationFunc in github.com/getkin/kin-openapi
- MEDIUMGO-2026-6275 CVE-2026-77354 GHSA-xhj3-7xw9-vr34kin-openapi has uncontrolled resource consumption in openapi3filter deepObject query parameter decoding in github.com/getkin/kin-openapi
- MEDIUMGHSA-mh7x-f8wq-4jhx CVE-2026-100348 GO-2026-6789kin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS)
- MEDIUMGO-2026-6789 CVE-2026-100348 GHSA-mh7x-f8wq-4jhxkin-openapi spec loader panics on a self-referential additionalProperties $ref (nil-pointer DoS) in github.com/getkin/kin-openapi
- MEDIUMGHSA-jpcw-4wr7-c3vq CVE-2026-73502 GO-2026-6112kin-openapi openapi3filter: unauthenticated nil-pointer panic when validating a request against a `content` parameter whose media type has no schema
- MEDIUMGO-2026-6795 CVE-2026-100352 GHSA-rj39-cv6w-8wv7kin-openapi: YAML NaN/Inf Values Bypass Built-in Guards and Panic via OAS 3.1 Validation Path in github.com/getkin/kin-openapi
- MEDIUMGO-2026-6112 CVE-2026-73502 GHSA-jpcw-4wr7-c3vqNil-pointer panic on content parameter without schema in github.com/getkin/kin-openapi
- MEDIUMGO-2026-6785 CVE-2026-100354 GHSA-g8cf-rcjf-c8cfkin-openapi: Uncontrolled Recursion on Circular allOf/anyOf/oneOf Schemas Causes Fatal Process Crash in github.com/getkin/kin-openapi
- MEDIUMGO-2026-6274 CVE-2026-76905 GHSA-mmfr-pmjx-hw9wkin-openapi openai3filter: nil-pointer panic in ConvertErrors on malformed multipart/form-data body enables unauthenticated DoS in github.com/getkin/kin-openapi
- MEDIUMGHSA-fh4f-47mf-f2gj CVE-2026-100347 GO-2026-6783kin-openapi: Unauthenticated panic (DoS) in openapi3filter legacy router via non-canonical/unsupported HTTP method on a static path
- MEDIUMGO-2026-6783 CVE-2026-100347 GHSA-fh4f-47mf-f2gjkin-openapi: Unauthenticated panic (DoS) in openapi3filter legacy router via non-canonical/unsupported HTTP method on a static path in github.com/getkin/kin-openapi
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 | SSE, stdio |
| Sign-in | not checked needs the live server |
| Servers in the code | 20 (Test-Server, E2E-Test-Server, E2E-SSE-Test-Server, Tool-Filtering-Test-Server, Stateless-Filtering-Test-Server, Unified-Filtering-Test-Server, Annotations-Example-Server, Middleware-Example-Server, Basic-Example-Server, Resource-Prompt-Example, Roots-Example-Server, Struct-First-Demo-Server, Stateful-JSON-Server, Stateful-JSON-Yes-GETSSE-Server, Stateful-SSE-No-GETSSE-Server, Stateful-SSE-GETSSE-Server, Stateless-JSON-No-GETSSE-Server, Stateless-SSE-No-GETSSE-Server, Node-A) |
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-11-04 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | NOASSERTION |
| Created | 2025-04-29 |
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.